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.java76 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
91 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testImsConnectionSanity()
106 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testImsConnectionSanity()
119 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStateForeGround()
134 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mBackGroundCall, false); in testImsUpdateStateBackGround()
147 mConnectionUT = new ImsPhoneConnection(mImsPhone, "+1 (700).555-41NN1234", mImsCT, in testImsUpdateStatePendingHold()
159 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testUpdateAddressDisplay()
191 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialWait()
214 mConnectionUT = new ImsPhoneConnection(mImsPhone, String.format("+1 (700).555-41NN%c1234", in testPostDialPause()
243 mConnectionUT = new ImsPhoneConnection(mImsPhone, mImsCall, mImsCT, mForeGroundCall, false); in testSetWifi()
[all …]
DImsPhoneCallTrackerTest.java111 mCTUT = new ImsPhoneCallTracker(mImsPhone); in onLooperPrepared()
179 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp()
252 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_IN_SERVICE)); in testImsRegistered()
253 verify(mImsPhone).setImsRegistered(eq(true)); in testImsRegistered()
262 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsRegistering()
263 verify(mImsPhone).setImsRegistered(eq(false)); in testImsRegistering()
272 verify(mImsPhone).setServiceState(eq(ServiceState.STATE_OUT_OF_SERVICE)); in testImsDeregistered()
273 verify(mImsPhone).setImsRegistered(eq(false)); in testImsDeregistered()
329 verify(mImsPhone, times(0)).notifyForVideoCapabilityChanged(anyBoolean()); in testImsFeatureCapabilityChange()
330 verify(mImsPhone, times(1)).onFeatureCapabilityChanged(); in testImsFeatureCapabilityChange()
[all …]
DImsExternalCallTrackerTest.java51 ImsPhone mImsPhone; field in ImsExternalCallTrackerTest
61 mTracker = new ImsExternalCallTracker(mImsPhone, mImsPullCall, mCallNotifier); in setUp()
DImsPhoneCallTest.java53 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
131 verify(mImsPhone, times(1)).startRingbackTone(); in testUpdateRingBackTone()
134 verify(mImsPhone, times(1)).stopRingbackTone(); in testUpdateRingBackTone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java286 protected Phone mImsPhone = null; field in Phone
734 Phone imsPhone = mImsPhone; in handleSrvccStateChanged()
2268 if (mImsPhone != null) { in isImsVideoCallOrConferencePresent()
2269 isPresent = isVideoCallOrConference(mImsPhone.getForegroundCall()) || in isImsVideoCallOrConferencePresent()
2270 isVideoCallOrConference(mImsPhone.getBackgroundCall()) || in isImsVideoCallOrConferencePresent()
2271 isVideoCallOrConference(mImsPhone.getRingingCall()); in isImsVideoCallOrConferencePresent()
3036 return mImsPhone; in getImsPhone()
3086 if (mImsPhone != null) { in isUtEnabled()
3087 return mImsPhone.isUtEnabled(); in isUtEnabled()
3099 if (mImsServiceReady && (mImsPhone == null)) { in updateImsPhone()
[all …]
DGsmCdmaPhone.java422 if (mImsPhone != null) { in getServiceState()
425 mImsPhone.getServiceState()); in getServiceState()
461 if (mImsPhone != null) { in getState()
462 PhoneConstants.State imsState = mImsPhone.getState(); in getState()
705 Phone imsPhone = mImsPhone; in acceptCall()
745 if (mImsPhone != null && mImsPhone.canConference()) { in canConference()
758 if (mImsPhone != null && mImsPhone.canConference()) { in conference()
761 mImsPhone.conference(); in conference()
829 Phone imsPhone = mImsPhone; in getRingingCall()
990 Phone imsPhone = mImsPhone; in handleInCallMmiCommands()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java102 protected ImsPhone mImsPhone; field in TelephonyTest
380 doReturn(mContext).when(mImsPhone).getContext(); in setUp()
384 doReturn(mServiceState).when(mImsPhone).getServiceState(); in setUp()
385 doReturn(mPhone).when(mImsPhone).getDefaultPhone(); in setUp()