Searched refs:mMockRadioConfig (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | PhoneSwitcherTest.java | 731 doReturn(true).when(mMockRadioConfig).isSetPreferredDataCommandSupported(); in testSetPreferredDataModemCommand() 738 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand() 748 verify(mMockRadioConfig).setPreferredDataModem(eq(0), any()); in testSetPreferredDataModemCommand() 753 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand() 760 verify(mMockRadioConfig, never()).setPreferredDataModem(anyInt(), any()); in testSetPreferredDataModemCommand() 780 verify(mMockRadioConfig).setPreferredDataModem(eq(1), any()); in testSetPreferredDataModemCommand() 793 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand() 803 verify(mMockRadioConfig).setPreferredDataModem(eq(0), any()); in testSetPreferredDataModemCommand() 821 clearInvocations(mMockRadioConfig); in testSetPreferredDataModemCommand() 824 verify(mMockRadioConfig).setPreferredDataModem(eq(0), any()); in testSetPreferredDataModemCommand() [all …]
|
D | TelephonyNetworkFactoryTest.java | 67 private RadioConfig mMockRadioConfig; field in TelephonyNetworkFactoryTest 150 mMockRadioConfig = mock(RadioConfig.class); in setUp() 152 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RadioInterfaceCapabilityControllerTest.java | 46 RadioConfig mMockRadioConfig; field in RadioInterfaceCapabilityControllerTest 52 mMockRadioConfig = mock(RadioConfig.class); in setUp() 64 new RadioInterfaceCapabilityController(mMockRadioConfig, mMockCommandsInterface, in testRadioInterfaceCapabilities() 98 verify(mMockRadioConfig, times(1)) in getHalDeviceCapabilities() 111 new RadioInterfaceCapabilityController(mMockRadioConfig, null, in testEmptyRadioInterfaceCapabilities()
|
D | PhoneConfigurationManagerTest.java | 178 verify(mMockRadioConfig).getPhoneCapability(captor.capture()); in testConfigureAndGetMaxActiveVoiceSubscriptions() 196 verify(mMockRadioConfig).updateSimultaneousCallingSupport(captor.capture()); in testUpdateSimultaneousCallingSupport() 217 verify(mMockRadioConfig).updateSimultaneousCallingSupport(captor.capture()); in testUpdateSimultaneousCallingSupport_invalidResponse_shouldFail() 304 verify(mMockRadioConfig).updateSimultaneousCallingSupport(captor.capture()); in testUpdateSimultaneousCallingSupportNotifications() 326 verify(mMockRadioConfig, times(2)).updateSimultaneousCallingSupport(captor.capture()); in testUpdateSimultaneousCallingSupportNotifications() 360 verify(mMockRadioConfig).updateSimultaneousCallingSupport(captor.capture()); in testSimultaneousCallingSubIdMappingChanges() 398 verify(mMockRadioConfig, never()).setNumOfLiveModems(anyInt(), any()); in testSwitchMultiSimConfig_notDsdsCapable_shouldFail() 425 verify(mMockRadioConfig).setNumOfLiveModems(eq(1), captor.capture()); in testSwitchMultiSimConfig_multiSimToSingleSim() 520 verify(mMockRadioConfig, never()).setNumOfLiveModems(anyInt(), any()); in testSwitchFromSingleToDualSimModeNoReboot() 523 clearInvocations(mMockRadioConfig); in testSwitchFromSingleToDualSimModeNoReboot() [all …]
|
D | SimultaneousCallingTrackerTest.java | 177 verify(mMockRadioConfig).getPhoneCapability(captor.capture()); in setAndVerifyStaticCapability() 191 verify(mMockRadioConfig).updateSimultaneousCallingSupport(captor.capture()); in setAndVerifySlotsSupportingSimultaneousCellularCalling() 330 verify(mMockRadioConfig).setNumOfLiveModems(eq(1), captor.capture()); in testSingleSimSwitch_SimultaneousCallingDisabled()
|
D | TelephonyTest.java | 258 protected RadioConfig mMockRadioConfig; field in TelephonyTest 545 mMockRadioConfig = Mockito.mock(RadioConfig.class); in setUp() 853 doReturn(mMockRadioConfigProxy).when(mMockRadioConfig).getRadioConfigProxy(any()); in setUp() 963 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccControllerTest.java | 157 verify(mMockRadioConfig, times(1)).getSimSlotsStatus(any(Message.class)); in testSanity()
|