Home
last modified time | relevance | path

Searched refs:mImsManager (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java92 mImsManagerListener.connectionReady(mImsManager, SUB_0); in setUp()
96 verify(mSmsDispatchersController).setImsManager(mImsManager); in setUp()
117 verify(mImsManager).onMemoryAvailable(eq(token + 1)); in testOnMemoryAvailable()
131 verify(mImsManager).onMemoryAvailable(eq(token + 1)); in testOnMemoryAvailableResultErrorRetry()
137 verify(mImsManager).onMemoryAvailable(eq(token + 2)); in testOnMemoryAvailableResultErrorRetry()
143 verify(mImsManager, times(0)).onMemoryAvailable(eq(token + 3)); in testOnMemoryAvailableResultErrorRetry()
157 verify(mImsManager).onMemoryAvailable(eq(token + 1)); in testOnMemoryAvailableResultSuccess()
163 verify(mImsManager, times(0)).onMemoryAvailable(eq(token + 2)); in testOnMemoryAvailableResultSuccess()
177 verify(mImsManager).onMemoryAvailable(eq(token + 1)); in testOnMemoryAvailableResultError()
183 verify(mImsManager, times(0)).onMemoryAvailable(eq(token + 2)); in testOnMemoryAvailableResultError()
[all …]
DGsmCdmaPhoneTest.java182 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in setUp()
185 PhoneConstants.PHONE_TYPE_GSM, mTelephonyComponentFactory, (c, p) -> mImsManager, in setUp()
1070 PhoneConstants.PHONE_TYPE_GSM, mTelephonyComponentFactory, (c, p) -> mImsManager, in testZeroMeid()
1482 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in setupTestSendUssd()
1483 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in setupTestSendUssd()
1913 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in setupEmergencyCallScenario()
1914 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in setupEmergencyCallScenario()
1915 doReturn(true).when(mImsManager).isNonTtyOrTtyOnVolteEnabled(); in setupEmergencyCallScenario()
2573 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in testDomainSelectionDialCs()
2574 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in testDomainSelectionDialCs()
[all …]
DContextFixture.java314 return mImsManager; in getSystemService()
745 private final ImsManager mImsManager = mock(ImsManager.class); field in ContextFixture
DTelephonyTest.java211 protected ImsManager mImsManager; field in TelephonyTest
498 mImsManager = Mockito.mock(ImsManager.class); in setUp()
812 doReturn(mImsEcbm).when(mImsManager).getEcbmInterface(); in setUp()
DCellBroadcastConfigTrackerTest.java74 PhoneConstants.PHONE_TYPE_GSM, mTelephonyComponentFactory, (c, p) -> mImsManager, in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java240 doReturn(ImsFeature.STATE_READY).when(mImsManager).getImsServiceState(); in setUp()
241 doReturn(mImsCallProfile).when(mImsManager).createCallProfile(anyInt(), anyInt()); in setUp()
250 }).when(mImsManager).open(any(), any(), any()); in setUp()
257 }).when(mImsManager).takeCall(any(), any()); in setUp()
264 }).when(mImsManager).makeCall(eq(mImsCallProfile), any(), any()); in setUp()
270 }).when(mImsManager).addCapabilitiesCallback( in setUp()
273 doReturn(mImsConfig).when(mImsManager).getConfigInterface(); in setUp()
311 mConnectorListener.connectionReady(mImsManager, SUB_0); in setUp()
340 mImsManager).getRegistrationTech(); in testVowifiDisabledOnLte()
358 mImsManager).getRegistrationTech(); in testVowifiDisabledOnIwlan()
[all …]
DImsPhoneTest.java168 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, (c, p) -> mImsManager, true, in setUp()
681 doReturn(true).when(mImsManager).isWfcEnabledByUser(); in testProcessDisconnectReason()
769 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingDuplicateMessages()
776 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingDuplicateMessages()
792 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingToAirplanModeIwlanInService()
803 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingToAirplanModeIwlanInService()
819 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingToOutOfService()
828 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingToOutOfService()
848 verify(mImsManager, never()).setWfcMode(anyInt(), eq(true)); in testSetWfcModeInRoaming()
859 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testSetWfcModeInRoaming()
DImsNrSaModeHandlerTest.java102 (c, p) -> mImsManager, mFeatureFlags); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java70 private ImsManager mImsManager; field in UsimDataDownloadHandler
76 mImsManager = null; // will get initialized when ImsManager connection is ready in UsimDataDownloadHandler()
366 if (mImsManager != null) { in acknowledgeImsSms()
368 mImsManager.acknowledgeSms(token, messageRef, result, pdu); in acknowledgeImsSms()
370 mImsManager.acknowledgeSms(token, messageRef, result); in acknowledgeImsSms()
454 mImsManager = imsManager; in setImsManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java268 if (mImsManager == null) return null; in processIncomingCall()
279 mUssdSession = mImsManager.takeCall(c, mImsUssdListener); in processIncomingCall()
299 ImsCall imsCall = mImsManager.takeCall(c, mImsCallListener); in processIncomingCall()
781 private ImsManager mImsManager; field in ImsPhoneCallTracker
1325 mImsManager = manager; in ImsPhoneCallTracker()
1383 mImsManager.open(mMmTelFeatureListener, mPhone.getImsEcbmStateListener(), in startListeningForCalls()
1385 mImsManager.addRegistrationCallback(mPhone.getImsMmTelRegistrationCallback(), this::post); in startListeningForCalls()
1386 mImsManager.addCapabilitiesCallback(mImsCapabilityCallback, this::post); in startListeningForCalls()
1390 mImsManager.getConfigInterface().addConfigCallback(mConfigCallback); in startListeningForCalls()
1400 mImsManager.setUiTTYMode(mPhone.getContext(), mPreferredTtyMode, null); in startListeningForCalls()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommender.java100 private ImsManager mImsManager; field in SatelliteSOSMessageRecommender
154 mImsManager = imsManager; in SatelliteSOSMessageRecommender()
423 ImsManager imsManager = (mImsManager != null) ? mImsManager : ImsManager.getInstance( in registerForImsRegistrationStateChanged()
444 (mImsManager != null) ? mImsManager : ImsManager.getInstance( in unregisterForImsRegistrationStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java93 private ImsManager mImsManager; field in ImsSmsDispatcher
374 mImsManager = manager; in ImsSmsDispatcher()
379 mSmsDispatchersController.setImsManager(mImsManager); in ImsSmsDispatcher()
392 mImsManager = null; in ImsSmsDispatcher()
688 if (mImsManager == null) { in getImsManager()
692 return mImsManager; in getImsManager()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DContextFixture.java60 private final ImsManager mImsManager = mock(ImsManager.class); field in ContextFixture
105 return mImsManager; in getSystemService()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java363 private final ImsManager mImsManager; field in ImsManager.InstanceManager
370 mImsManager = manager; in InstanceManager()
372 mImsManager.mLogTagPostfix = "IM"; in InstanceManager()
381 (c,p) -> mImsManager, "InstanceManager", readyFilter, this, in InstanceManager()
386 return mImsManager; in getInstance()
405 mImsManager.log("ImsService not up yet - timeout waiting for connection."); in reconnect()
415 mImsManager.logi("connectionReady, subId: " + subId); in connectionReady()
423 mImsManager.logi("connectionUnavailable, reason: " + reason); in connectionUnavailable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java283 private final ImsManager mImsManager; field in DataNetworkController
1014 mImsManager = mPhone.getContext().getSystemService(ImsManager.class); in DataNetworkController()
2611 mImsManager.getImsMmTelManager(subId).registerImsRegistrationCallback( in registerImsFeatureRegistrationState()
2615 mImsManager.getImsRcsManager(subId).registerImsRegistrationCallback( in registerImsFeatureRegistrationState()
2643 mImsManager.getImsMmTelManager(subId) in unregisterImsFeatureRegistrationState()
2646 mImsManager.getImsRcsManager(subId) in unregisterImsFeatureRegistrationState()
2686 mImsManager.getImsMmTelManager(subId).registerImsStateCallback(this::post, in registerImsStateCallback()
2692 mImsManager.getImsRcsManager(subId).registerImsStateCallback(this::post, callback); in registerImsStateCallback()
2708 mImsManager.getImsMmTelManager(subId).unregisterImsStateCallback(callback); in unregisterImsStateCallbacks()
2715 mImsManager.getImsRcsManager(subId).unregisterImsStateCallback(callback); in unregisterImsStateCallbacks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmMmiCodeTest.java75 PhoneConstants.PHONE_TYPE_GSM, mTelephonyComponentFactory, (c, p) -> mImsManager, in setUp()