Searched refs:mPhoneSwitcher (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 103 private PhoneSwitcher mPhoneSwitcher; field in PhoneSwitcherTest 149 assertFalse("phone active after request", mPhoneSwitcher in testRegister() 155 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testRegister() 319 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testPrioritization() 394 mPhoneSwitcher.trySetOpportunisticDataSubscription(2, false, null); in testSetPreferredData() 396 mPhoneSwitcher.mValidationCallback.onNetworkAvailable(null, 2); in testSetPreferredData() 402 mPhoneSwitcher.trySetOpportunisticDataSubscription( in testSetPreferredData() 405 mPhoneSwitcher.mValidationCallback.onNetworkAvailable(null, 1); in testSetPreferredData() 416 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testSetPreferredDataModemCommand() 418 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testSetPreferredDataModemCommand() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 71 PhoneSwitcher mPhoneSwitcher; field in TelephonyNetworkFactoryTest 135 doReturn(active).when(mPhoneSwitcher).shouldApplyNetworkRequest(any(), eq(phoneId)); in activatePhoneInPhoneSwitcher() 140 doReturn(active).when(mPhoneSwitcher).shouldApplyNetworkRequest(eq(nr), eq(phoneId)); in activatePhoneInPhoneSwitcher() 174 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents() 178 verify(mPhoneSwitcher).registerForActivePhoneSwitch(any(), anyInt(), any()); in createMockedTelephonyComponents() 194 doReturn(false).when(mPhoneSwitcher).shouldApplyNetworkRequest(any(), anyInt()); in testActive()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 72 private final PhoneSwitcher mPhoneSwitcher; field in TelephonyNetworkFactory 104 mPhoneSwitcher = PhoneSwitcher.getInstance(); in TelephonyNetworkFactory() 107 mPhoneSwitcher.registerForActivePhoneSwitch(mInternalHandler, EVENT_ACTIVE_PHONE_SWITCH, in TelephonyNetworkFactory() 248 boolean shouldApply = mPhoneSwitcher.shouldApplyNetworkRequest( in onActivePhoneSwitch() 291 boolean shouldApply = mPhoneSwitcher.shouldApplyNetworkRequest( in onNeedNetworkFor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 73 private PhoneSwitcher mPhoneSwitcher; field in ProxyController 129 mPhoneSwitcher = PhoneSwitcher.getInstance(); in ProxyController() 482 mPhoneSwitcher.onRadioCapChanged(id); in onNotificationRadioCapabilityChanged()
|
D | PhoneSwitcher.java | 670 private final PhoneSwitcher mPhoneSwitcher; field in PhoneSwitcher.PhoneSwitcherNetworkRequestListener 674 mPhoneSwitcher = ps; in PhoneSwitcherNetworkRequestListener() 680 Message msg = mPhoneSwitcher.obtainMessage(EVENT_REQUEST_NETWORK); in needNetworkFor() 688 Message msg = mPhoneSwitcher.obtainMessage(EVENT_RELEASE_NETWORK); in releaseNetworkFor()
|