Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java415 doReturn(true).when(mMockRadioConfig).isSetPreferredDataCommandSupported(); in testSetPreferredDataModemCommand()
422 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand()
432 verify(mMockRadioConfig).setPreferredDataModem(eq(0), any()); in testSetPreferredDataModemCommand()
435 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand()
442 verify(mMockRadioConfig, never()).setPreferredDataModem(anyInt(), any()); in testSetPreferredDataModemCommand()
455 verify(mMockRadioConfig).setPreferredDataModem(eq(1), any()); in testSetPreferredDataModemCommand()
462 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand()
472 verify(mMockRadioConfig).setPreferredDataModem(eq(0), any()); in testSetPreferredDataModemCommand()
487 doReturn(true).when(mMockRadioConfig).isSetPreferredDataCommandSupported(); in testSetPreferredDataWithValidation()
536 doReturn(true).when(mMockRadioConfig).isSetPreferredDataCommandSupported(); in testNonDefaultDataPhoneInCall()
[all …]
DPhoneConfigurationManagerTest.java118 verify(mMockRadioConfig).getPhoneCapability(captor.capture()); in testGetDsdsCapability()
136 verify(mMockRadioConfig, never()).setModemsConfig(anyInt(), any()); in testSwitchMultiSimConfig_notDsdsCapable_shouldFail()
149 verify(mMockRadioConfig, never()).setModemsConfig(anyInt(), any()); in testSwitchMultiSimConfig_dsdsCapable_noRebootRequired()
152 clearInvocations(mMockRadioConfig); in testSwitchMultiSimConfig_dsdsCapable_noRebootRequired()
159 verify(mMockRadioConfig).setModemsConfig(eq(2), captor.capture()); in testSwitchMultiSimConfig_dsdsCapable_noRebootRequired()
DTelephonyTest.java261 protected RadioConfig mMockRadioConfig; field in TelephonyTest
659 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java71 private RadioConfig mMockRadioConfig; field in TelephonyNetworkFactoryTest
142 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java142 verify(mMockRadioConfig, times(1)).getSimSlotsStatus(any(Message.class)); in testSanity()