Searched refs:mImsManager (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | FeatureConnectorTest.java | 58 ImsManager mImsManager; field in FeatureConnectorTest 91 when(mListener.getFeatureManager()).thenReturn(mImsManager); in testConnect() 103 when(mListener.getFeatureManager()).thenReturn(mImsManager); in testConnect() 124 mFeatureConnector.mManager = mImsManager; in testNotifyStateChanged() 125 when(mImsManager.getImsServiceState()).thenReturn(ImsFeature.STATE_READY); in testNotifyStateChanged() 138 mFeatureConnector.mManager = mImsManager; in testRetryGetImsService() 142 when(mListener.getFeatureManager()).thenReturn(mImsManager); in testRetryGetImsService() 148 verify(mImsManager).removeNotifyStatusChangedCallback(anyObject()); in testRetryGetImsService()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ImsSmsDispatcherTest.java | 79 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testSendSms() 87 verify(mImsManager).sendSms(eq(token + 1), anyInt(), eq(SmsMessage.FORMAT_3GPP), in testSendSms() 127 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testErrorImsRetry() 137 verify(mImsManager).sendSms(eq(token + 1), anyInt(), nullable(String.class), in testErrorImsRetry() 175 verify(mImsManager) in testReceiveGsmSmsStatusReport() 193 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testNetworkError()
|
D | TelephonyTest.java | 180 protected ImsManager mImsManager; field in TelephonyTest 585 mImsManagerInstances.put(mPhone.getPhoneId(), mImsManager); in setUp() local 586 doReturn(mImsEcbm).when(mImsManager).getEcbmInterface(); in setUp()
|
D | GsmCdmaPhoneTest.java | 1363 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in setupTestSendUssd() 1364 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in setupTestSendUssd()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 186 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp() local 193 doReturn(ImsFeature.STATE_READY).when(mImsManager).getImsServiceState(); in setUp() 194 doReturn(mImsCallProfile).when(mImsManager).createCallProfile(anyInt(), anyInt()); in setUp() 200 }).when(mImsManager).open(any(MmTelFeature.Listener.class)); in setUp() 211 }).when(mImsManager).takeCall(any(), any()); in setUp() 221 }).when(mImsManager).makeCall(eq(mImsCallProfile), (String[]) any(), in setUp() 228 }).when(mImsManager).addCapabilitiesCallback(any(ImsMmTelManager.CapabilityCallback.class)); in setUp() 230 doReturn(mImsConfig).when(mImsManager).getConfigInterface(); in setUp() 232 doNothing().when(mImsManager).addNotifyStatusChangedCallbackIfAvailable(any()); in setUp() 273 mImsManager).getRegistrationTech(); in testVowifiDisabledOnLte() [all …]
|
D | ImsPhoneTest.java | 613 doReturn(true).when(mImsManager).isWfcEnabledByUser(); in testProcessDisconnectReason() 714 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingDuplicateMessages() 721 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingDuplicateMessages() 738 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingToOutOfService() 747 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingToOutOfService() 763 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingChangeForLteInLegacyMode() 771 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(false)); in testRoamingChangeForLteInLegacyMode() 787 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testDataOnlyRoamingCellToIWlanInLegacyMode() 796 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testDataOnlyRoamingCellToIWlanInLegacyMode() 812 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testCellVoiceDataChangeToWlanInLegacyMode() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 179 if (mImsManager == null) return; in onIncomingCall() 188 mUssdSession = mImsManager.takeCall(c, mImsUssdListener); in onIncomingCall() 205 ImsCall imsCall = mImsManager.takeCall(c, mImsCallListener); in onIncomingCall() 489 private ImsManager mImsManager; field in ImsPhoneCallTracker 913 mImsManager = manager; in ImsPhoneCallTracker() 971 mImsManager.open(mMmTelFeatureListener); in startListeningForCalls() 972 mImsManager.addRegistrationCallback(mPhone.getImsMmTelRegistrationCallback()); in startListeningForCalls() 973 mImsManager.addCapabilitiesCallback(mImsCapabilityCallback); in startListeningForCalls() 975 mImsManager.setConfigListener(mImsConfigListener); in startListeningForCalls() 977 mImsManager.getConfigInterface().addConfigCallback(mConfigCallback); in startListeningForCalls() [all …]
|