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() 395 mPhoneSwitcher.trySetOpportunisticDataSubscription(2, false, null); in testSetPreferredData() 397 mPhoneSwitcher.mValidationCallback.onNetworkAvailable(null, 2); in testSetPreferredData() 403 mPhoneSwitcher.trySetOpportunisticDataSubscription( in testSetPreferredData() 406 mPhoneSwitcher.mValidationCallback.onNetworkAvailable(null, 1); in testSetPreferredData() 417 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testSetPreferredDataModemCommand() 419 mPhoneSwitcher.registerForActivePhoneSwitch(mActivePhoneSwitchHandler, in testSetPreferredDataModemCommand() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 69 PhoneSwitcher mPhoneSwitcher; field in TelephonyNetworkFactoryTest 130 doReturn(active).when(mPhoneSwitcher).shouldApplyNetworkRequest(any(), eq(phoneId)); in activatePhoneInPhoneSwitcher() 135 doReturn(active).when(mPhoneSwitcher).shouldApplyNetworkRequest(eq(nr), eq(phoneId)); in activatePhoneInPhoneSwitcher() 169 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents() 173 verify(mPhoneSwitcher).registerForActivePhoneSwitch(any(), anyInt(), any()); in createMockedTelephonyComponents() 189 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 | 661 private final PhoneSwitcher mPhoneSwitcher; field in PhoneSwitcher.PhoneSwitcherNetworkRequestListener 665 mPhoneSwitcher = ps; in PhoneSwitcherNetworkRequestListener() 671 Message msg = mPhoneSwitcher.obtainMessage(EVENT_REQUEST_NETWORK); in needNetworkFor() 679 Message msg = mPhoneSwitcher.obtainMessage(EVENT_RELEASE_NETWORK); in releaseNetworkFor()
|