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 | 78 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testSendSms() 86 verify(mImsManager).sendSms(eq(token + 1), anyInt(), eq(SmsMessage.FORMAT_3GPP), in testSendSms() 126 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testErrorImsRetry() 136 verify(mImsManager).sendSms(eq(token + 1), anyInt(), nullable(String.class), in testErrorImsRetry() 169 verify(mImsManager) in testReceiveGsmSmsStatusReport() 186 when(mImsManager.getSmsFormat()).thenReturn(SmsMessage.FORMAT_3GPP); in testNetworkError()
|
D | TelephonyTest.java | 177 protected ImsManager mImsManager; field in TelephonyTest 578 mImsManagerInstances.put(mPhone.getPhoneId(), mImsManager); in setUp() local 579 doReturn(mImsEcbm).when(mImsManager).getEcbmInterface(); in setUp()
|
D | GsmCdmaPhoneTest.java | 1401 doReturn(true).when(mImsManager).isVolteEnabledByPlatform(); in setupTestSendUssd() 1402 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in setupTestSendUssd()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 185 mImsManagerInstances.put(mImsPhone.getPhoneId(), mImsManager); in setUp() local 192 doReturn(ImsFeature.STATE_READY).when(mImsManager).getImsServiceState(); in setUp() 193 doReturn(mImsCallProfile).when(mImsManager).createCallProfile(anyInt(), anyInt()); in setUp() 199 }).when(mImsManager).open(any(MmTelFeature.Listener.class)); in setUp() 210 }).when(mImsManager).takeCall(any(), any()); in setUp() 220 }).when(mImsManager).makeCall(eq(mImsCallProfile), (String[]) any(), in setUp() 227 }).when(mImsManager).addCapabilitiesCallback(any(ImsMmTelManager.CapabilityCallback.class)); in setUp() 229 doReturn(mImsConfig).when(mImsManager).getConfigInterface(); in setUp() 231 doNothing().when(mImsManager).addNotifyStatusChangedCallbackIfAvailable(any()); in setUp() 272 mImsManager).getRegistrationTech(); in testVowifiDisabledOnLte() [all …]
|
D | ImsPhoneTest.java | 641 doReturn(true).when(mImsManager).isWfcEnabledByUser(); in testProcessDisconnectReason() 742 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingDuplicateMessages() 749 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingDuplicateMessages() 766 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingToOutOfService() 775 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testRoamingToOutOfService() 791 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testRoamingChangeForLteInLegacyMode() 799 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(false)); in testRoamingChangeForLteInLegacyMode() 815 verify(mImsManager, times(1)).setWfcMode(anyInt(), eq(true)); in testDataOnlyRoamingCellToIWlanInLegacyMode() 824 verify(mImsManager, times(1)).setWfcMode(anyInt(), anyBoolean()); in testDataOnlyRoamingCellToIWlanInLegacyMode() 840 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() 466 private ImsManager mImsManager; field in ImsPhoneCallTracker 890 mImsManager = manager; in ImsPhoneCallTracker() 948 mImsManager.open(mMmTelFeatureListener); in startListeningForCalls() 949 mImsManager.addRegistrationCallback(mPhone.getImsMmTelRegistrationCallback()); in startListeningForCalls() 950 mImsManager.addCapabilitiesCallback(mImsCapabilityCallback); in startListeningForCalls() 952 mImsManager.setConfigListener(mImsConfigListener); in startListeningForCalls() 954 mImsManager.getConfigInterface().addConfigCallback(mConfigCallback); in startListeningForCalls() [all …]
|