Home
last modified time | relevance | path

Searched refs:mImsPhone (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java77 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
92 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsConnectionSanity()
107 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testImsConnectionSanity()
120 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStateForeGround()
135 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()
148 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStatePendingHold()
160 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testUpdateAddressDisplay()
192 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialWait()
215 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialPause()
244 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testSetWifi()
[all …]
DImsPhoneCallTest.java55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
58 when(mImsCT.getPhone()).thenReturn(mImsPhone); in setUp()
132 verify(mImsPhone, times(1)).startRingbackTone(); in testUpdateRingBackTone()
135 verify(mImsPhone, times(1)).stopRingbackTone(); in testUpdateRingBackTone()
147 verify(mImsPhone, times(1)).startRingbackTone(); in testStopRingingOnHandover()
152 verify(mImsPhone, times(1)).stopRingbackTone(); in testStopRingingOnHandover()
DImsPhoneCallTrackerTest.java114 mCTUT = new ImsPhoneCallTracker(mImsPhone, Runnable::run); in onLooperPrepared()
185 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp()
260 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_IN_SERVICE)); in testImsRegistered()
261 verify(mImsPhone).setImsRegistered(eq(true)); in testImsRegistered()
270 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsRegistering()
271 verify(mImsPhone).setImsRegistered(eq(false)); in testImsRegistering()
280 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsDeregistered()
281 verify(mImsPhone).setImsRegistered(eq(false)); in testImsDeregistered()
337 verify(mImsPhone, times(0)).notifyForVideoCapabilityChanged(anyBoolean()); in testImsFeatureCapabilityChange()
338 verify(mImsPhone, times(1)).onFeatureCapabilityChanged(); in testImsFeatureCapabilityChange()
[all …]
DImsExternalCallTrackerTest.java51 ImsPhone mImsPhone; field in ImsExternalCallTrackerTest
61 mTracker = new ImsExternalCallTracker(mImsPhone, mImsPullCall, mCallNotifier); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java328 protected Phone mImsPhone = null; field in Phone
786 Phone imsPhone = mImsPhone; in handleSrvccStateChanged()
2461 if (mImsPhone != null) { in isImsVideoCallOrConferencePresent()
2462 isPresent = isVideoCallOrConference(mImsPhone.getForegroundCall()) || in isImsVideoCallOrConferencePresent()
2463 isVideoCallOrConference(mImsPhone.getBackgroundCall()) || in isImsVideoCallOrConferencePresent()
2464 isVideoCallOrConference(mImsPhone.getRingingCall()); in isImsVideoCallOrConferencePresent()
3321 return mImsPhone; in getImsPhone()
3387 if (mImsPhone != null) { in isUtEnabled()
3388 return mImsPhone.isUtEnabled(); in isUtEnabled()
3401 if (mImsServiceReady && (mImsPhone == null)) { in updateImsPhone()
[all …]
DGsmCdmaPhone.java500 if (mImsPhone != null) { in getServiceState()
502 mImsPhone.getServiceState()); in getServiceState()
522 if (mImsPhone != null) { in getState()
523 PhoneConstants.State imsState = mImsPhone.getState(); in getState()
720 || (mImsPhone != null && mImsPhone.isInEmergencySmsMode()); in isInEmergencySmsMode()
802 Phone imsPhone = mImsPhone; in acceptCall()
842 if (mImsPhone != null && mImsPhone.canConference()) { in canConference()
855 if (mImsPhone != null && mImsPhone.canConference()) { in conference()
858 mImsPhone.conference(); in conference()
926 Phone imsPhone = mImsPhone; in getRingingCall()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java120 protected ImsPhone mImsPhone; field in TelephonyTest
434 doReturn(mContext).when(mImsPhone).getContext(); in setUp()
438 doReturn(mServiceState).when(mImsPhone).getServiceState(); in setUp()
439 doReturn(mPhone).when(mImsPhone).getDefaultPhone(); in setUp()