Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java185 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp() local
191 doReturn(ImsFeature.STATE_READY).when(mImsManager).getImsServiceState(); in setUp()
192 doReturn(mImsCallProfile).when(mImsManager).createCallProfile(anyInt(), anyInt()); in setUp()
198 }).when(mImsManager).open(any(MmTelFeature.Listener.class)); in setUp()
209 }).when(mImsManager).takeCall(any(), any(), any()); in setUp()
219 }).when(mImsManager).makeCall(eq(mImsCallProfile), (String []) any(), in setUp()
225 }).when(mImsManager).addRegistrationCallback( in setUp()
232 }).when(mImsManager).addCapabilitiesCallback(any(ImsMmTelManager.CapabilityCallback.class)); in setUp()
234 doReturn(mImsConfig).when(mImsManager).getConfigInterface(); in setUp()
236 doNothing().when(mImsManager).addNotifyStatusChangedCallbackIfAvailable(any()); in setUp()
[all …]
DImsPhoneTest.java659 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingDuplicateMessages()
666 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingDuplicateMessages()
683 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingToOutOfService()
692 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingToOutOfService()
708 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingChangeForLteInLegacyMode()
716 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(false)); in testRoamingChangeForLteInLegacyMode()
732 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testDataOnlyRoamingCellToIWlanInLegacyMode()
741 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testDataOnlyRoamingCellToIWlanInLegacyMode()
757 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testCellVoiceDataChangeToWlanInLegacyMode()
766 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testCellVoiceDataChangeToWlanInLegacyMode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsSmsDispatcherTest.java74 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testSendSms()
82 verify(mImsManager).sendSms(eq(token + 1), anyInt(), eq(SmsMessage.FORMAT_3GPP), in testSendSms()
122 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testErrorImsRetry()
132 verify(mImsManager).sendSms(eq(token + 1), anyInt(), nullable(String.class), in testErrorImsRetry()
DTelephonyTest.java146 protected ImsManager mImsManager; field in TelephonyTest
510 mImsManagerInstances.put(mPhone.getPhoneId(), mImsManager); in setUp() local
511 doReturn(mImsEcbm).when(mImsManager).getEcbmInterface(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java169 if (mImsManager == null) return; in onIncomingCall()
176 mUssdSession = mImsManager.takeCall(c, extras, mImsUssdListener); in onIncomingCall()
191 ImsCall imsCall = mImsManager.takeCall(c, extras, mImsCallListener); in onIncomingCall()
399 private ImsManager mImsManager; field in ImsPhoneCallTracker
568 mImsManager = manager; in ImsPhoneCallTracker()
625 mImsManager.open(mMmTelFeatureListener); in startListeningForCalls()
626 mImsManager.addRegistrationCallback(mImsRegistrationCallback); in startListeningForCalls()
627 mImsManager.addCapabilitiesCallback(mImsCapabilityCallback); in startListeningForCalls()
629 mImsManager.setConfigListener(mImsConfigListener); in startListeningForCalls()
631 mImsManager.getConfigInterface().addConfigCallback(mConfigCallback); in startListeningForCalls()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java236 if (mImsManager != null) {
237 status = mImsManager.getImsServiceState();
279 private ImsManager mImsManager; field in ImsManager.Connector
333 if (mImsManager != null) { in disconnect()
334 mImsManager.removeNotifyStatusChangedCallback(mNotifyStatusChangedCallback); in disconnect()
342 if (mImsManager != null) { in retryGetImsService()
345 mImsManager.removeNotifyStatusChangedCallback(mNotifyStatusChangedCallback); in retryGetImsService()
347 mImsManager = null; in retryGetImsService()
358 mImsManager = ImsManager.getInstance(mContext, mPhoneId); in getImsService()
361 mImsManager.addNotifyStatusChangedCallbackIfAvailable(mNotifyStatusChangedCallback); in getImsService()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist.txt1380 Lcom/android/internal/telephony/imsphone/ImsPhoneCallTracker;->mImsManager:Lcom/android/ims/ImsMana…