Searched refs:mImsPhone (Results 1 – 10 of 10) sorted by relevance
84 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()100 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, in testNullExtras()111 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness()128 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testImsIncomingConnectionCorrectness()141 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStateForeGround()156 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()169 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStatePendingHold()181 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testUpdateAddressDisplay()214 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialWait()237 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialPause()[all …]
55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()58 when(mImsCT.getPhone()).thenReturn(mImsPhone); in setUp()133 verify(mImsPhone, times(1)).startRingbackTone(); in testUpdateRingBackTone()136 verify(mImsPhone, times(1)).stopRingbackTone(); in testUpdateRingBackTone()148 verify(mImsPhone, times(1)).startRingbackTone(); in testStopRingingOnHandover()153 verify(mImsPhone, times(1)).stopRingbackTone(); in testStopRingingOnHandover()
51 ImsPhone mImsPhone; field in ImsExternalCallTrackerTest61 mTracker = new ImsExternalCallTracker(mImsPhone, mImsPullCall, mCallNotifier); in setUp()
185 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp()233 mCTUT = new ImsPhoneCallTracker(mImsPhone, Runnable::run); in setUp()320 verify(mImsPhone, times(0)).notifyForVideoCapabilityChanged(anyBoolean()); in testImsFeatureCapabilityChange()321 verify(mImsPhone, times(1)).onFeatureCapabilityChanged(); in testImsFeatureCapabilityChange()330 verify(mImsPhone, times(1)).notifyForVideoCapabilityChanged(eq(true)); in testImsFeatureCapabilityChange()342 verify(mImsPhone, times(1)).notifyNewRingingConnection((Connection) any()); in testImsMTCall()343 verify(mImsPhone, times(1)).notifyIncomingRing(); in testImsMTCall()490 verify(mImsPhone, times(2)).notifyNewRingingConnection((Connection) any()); in testImsMTCallAcceptHold()491 verify(mImsPhone, times(2)).notifyIncomingRing(); in testImsMTCallAcceptHold()870 verify(mImsPhone, never()).startOnHoldTone(nullable(Connection.class)); in testNoRemoteHoldtone()[all …]
150 final boolean isImsEnabled = mImsPhone != null && (mImsPhone.isVolteEnabled() in getServiceState()151 || mImsPhone.isVideoEnabled() in getServiceState()152 || mImsPhone.isWifiCallingEnabled()); in getServiceState()156 mImsPhone.getServiceState()); in getServiceState()
526 if (mImsPhone != null) { in getServiceState()528 mImsPhone.getServiceState()); in getServiceState()548 if (mImsPhone != null) { in getState()549 PhoneConstants.State imsState = mImsPhone.getState(); in getState()796 || (mImsPhone != null && mImsPhone.isInEmergencySmsMode()); in isInEmergencySmsMode()878 Phone imsPhone = mImsPhone; in acceptCall()918 if (mImsPhone != null && mImsPhone.canConference()) { in canConference()931 if (mImsPhone != null && mImsPhone.canConference()) { in conference()934 mImsPhone.conference(); in conference()1010 Phone imsPhone = mImsPhone; in getRingingCall()[all …]
331 protected Phone mImsPhone = null; field in Phone607 if (mImsPhone == null) { in createImsPhone()608 mImsPhone = PhoneFactory.makeImsPhone(mNotifier, this); in createImsPhone()609 CallManager.getInstance().registerPhone(mImsPhone); in createImsPhone()610 mImsPhone.registerForSilentRedial( in createImsPhone()717 if (mImsPhone != null) { in handleMessage()719 mImsPhone.notifyRedialConnectionChanged(cn); in handleMessage()723 if (mImsPhone != null) { in handleMessage()724 mImsPhone.notifyRedialConnectionChanged(null); in handleMessage()791 Phone imsPhone = mImsPhone; in handleSrvccStateChanged()[all …]
199 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceState()201 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceState()280 doReturn(imsServiceState).when(mImsPhone).getServiceState(); in testGetMergedServiceStateNoCsfb()282 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceStateNoCsfb()489 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testDial()944 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testEcmCancelledPreservedThroughSrvcc()947 doReturn(true).when(mImsPhone).isEcmCanceledForEmergency(); in testEcmCancelledPreservedThroughSrvcc()1403 doReturn(mImsServiceState).when(mImsPhone).getServiceState(); in setupTestSendUssd()1405 doReturn(true).when(mImsPhone).isWifiCallingEnabled(); in setupTestSendUssd()1408 doReturn(false).when(mImsPhone).isUtEnabled(); in setupTestSendUssd()[all …]
151 protected ImsPhone mImsPhone; field in TelephonyTest497 doReturn(mContext).when(mImsPhone).getContext(); in setUp()501 doReturn(mServiceState).when(mImsPhone).getServiceState(); in setUp()502 doReturn(mPhone).when(mImsPhone).getDefaultPhone(); in setUp()519 doReturn(mVoiceCallSessionStats).when(mImsPhone).getVoiceCallSessionStats(); in setUp()
1454 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleCall_srvccFailed()1455 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsPhone).getHandoverConnection(); in singleCall_srvccFailed()1528 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleCall_srvccCanceled()1529 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsPhone).getHandoverConnection(); in singleCall_srvccCanceled()1593 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleCall_srvccSuccess()1594 doReturn(new ArrayList(List.of(mImsConnection0))).when(mImsPhone).getHandoverConnection(); in singleCall_srvccSuccess()1678 doReturn(mImsPhone).when(mPhone).getImsPhone(); in concurrentCalls_srvcc()1680 .when(mImsPhone).getHandoverConnection(); in concurrentCalls_srvcc()1807 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleWifiCall_preferred()1808 doReturn(true).when(mImsPhone).isWifiCallingEnabled(); in singleWifiCall_preferred()[all …]