Home
last modified time | relevance | path

Searched refs:mMmTelManager (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DImsStateTrackerTest.java80 @Mock private ImsMmTelManager mMmTelManager; field in ImsStateTrackerTest
112 when(imsManager.getImsMmTelManager(eq(SUB_1))).thenReturn(mMmTelManager); in setUp()
120 mMmTelManager = null; in tearDown()
151 verify(mMmTelManager).registerImsStateCallback( in testStart()
167 verify(mMmTelManager).registerImsStateCallback( in testStartWithDifferentSubId()
169 verify(mMmTelManager).unregisterImsStateCallback( in testStartWithDifferentSubId()
187 verify(mMmTelManager).registerImsStateCallback( in testStartWithSameSubId()
189 verify(mMmTelManager, never()).unregisterImsStateCallback( in testStartWithSameSubId()
198 }).when(mMmTelManager).registerImsStateCallback( in testStartWhenRegisteringCallbacksThrowException()
209 verify(mMmTelManager, never()).unregisterImsStateCallback( in testStartWhenRegisteringCallbacksThrowException()
[all …]
DEmergencyCallDomainSelectorTest.java163 @Mock private ImsMmTelManager mMmTelManager; field in EmergencyCallDomainSelectorTest
273 when(imsManager.getImsMmTelManager(anyInt())).thenReturn(mMmTelManager); in setUp()
274 when(mMmTelManager.isAdvancedCallingSettingEnabled()).thenReturn(true); in setUp()
1480 when(mMmTelManager.isAdvancedCallingSettingEnabled()).thenReturn(false); in testVoLteOffEpsImsNotRegisteredScanCsPreferred()
1664 when(mMmTelManager.isVoWiFiRoamingSettingEnabled()).thenReturn(false); in testVoWifiSosPdnRequiresSettingEnabled()
1670 when(mMmTelManager.isVoWiFiSettingEnabled()).thenReturn(true); in testVoWifiSosPdnRequiresSettingEnabled()
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DImsStateTracker.java124 private ImsMmTelManager mMmTelManager; field in ImsStateTracker
623 mMmTelManager = imsMngr.getImsMmTelManager(getSubId()); in startListeningForImsState()
635 if (mMmTelManager != null) { in stopListeningForImsState()
639 mMmTelManager = null; in stopListeningForImsState()
670 mMmTelManager.registerImsStateCallback(mHandler::post, mImsStateCallback); in registerImsStateCallback()
680 mMmTelManager.unregisterImsStateCallback(mImsStateCallback); in unregisterImsStateCallback()
710 mMmTelManager.registerImsRegistrationCallback(mHandler::post, mImsRegistrationCallback); in registerImsRegistrationCallback()
720 mMmTelManager.unregisterImsRegistrationCallback(mImsRegistrationCallback); in unregisterImsRegistrationCallback()
745 mMmTelManager.registerMmTelCapabilityCallback(mHandler::post, mMmTelCapabilityCallback); in registerMmTelCapabilityCallback()
755 mMmTelManager.unregisterMmTelCapabilityCallback(mMmTelCapabilityCallback); in unregisterMmTelCapabilityCallback()
/packages/services/Telephony/src/com/android/phone/
DCdmaCallOptions.java56 private ImsMmTelManager mMmTelManager; field in CdmaCallOptions
148 if (mMmTelManager == null || mUtCallback == null) return; in unregisterMmTelCapsCallback()
149 mMmTelManager.unregisterMmTelCapabilityCallback(mUtCallback); in unregisterMmTelCapsCallback()
160 mMmTelManager = imsManager.getImsMmTelManager(subId); in registerMmTelCapsCallback()
162 mMmTelManager.registerMmTelCapabilityCallback(getMainExecutor(), mUtCallback); in registerMmTelCapsCallback()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java146 private ImsMmTelManager mMmTelManager; field in TelecomAccountRegistry.AccountEntry
186 mMmTelManager = ImsMmTelManager.createForSubscriptionId(getSubId()); in AccountEntry()
242 if (mMmTelManager != null) { in teardown()
244 mMmTelManager.unregisterMmTelCapabilityCallback(mMmtelCapabilityCallback); in teardown()
248 mMmTelManager.unregisterImsRegistrationCallback(mImsRegistrationCallback); in teardown()
258 if (mMmTelManager == null || mMmtelCapabilityCallback == null) { in registerMmTelCapabilityCallback()
265 mMmTelManager.registerMmTelCapabilityCallback(mContext.getMainExecutor(), in registerMmTelCapabilityCallback()
279 if (mMmTelManager == null || mImsRegistrationCallback == null) { in registerImsRegistrationCallback()
284 mMmTelManager.registerImsRegistrationCallback(mContext.getMainExecutor(), in registerImsRegistrationCallback()
1154 if (mMmTelManager == null) { in isImsVoiceAvailable()
[all …]