Home
last modified time | relevance | path

Searched refs:getPreferredDataPhoneId (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAutoDataSwitchControllerTest.java182 doReturn(PHONE_1).when(mPhoneSwitcher).getPreferredDataPhoneId(); in setUp()
281 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testRoaming_prefer_home_over_roam()
303 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testRoaming_prefer_roam_over_nonTerrestrial()
343 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testRoaming_roaming_but_roam_disabled()
373 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testRoaming_same_roaming_condition_uses_rat_signalStrength()
443 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testOnNonDdsSwitchBackToPrimary()
503 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testOnNonDdsSwitchBackToPrimary_rat_signalStrength()
529 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testCancelSwitch_onSecondary()
560 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testStabilityCheckOverride_basic()
622 doReturn(PHONE_2).when(mPhoneSwitcher).getPreferredDataPhoneId(); in testExemptPingTest()
DPhoneSwitcherTest.java845 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testSetPreferredDataWithValidation()
855 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testSetPreferredDataWithValidation()
862 assertEquals(1, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testSetPreferredDataWithValidation()
875 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testSetPreferredDataWithValidation()
903 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallOnLte_shouldSwitchDds()
913 assertEquals(1, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallOnLte_shouldSwitchDds()
932 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallDialingOnLte_shouldSwitchDds()
942 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallDialingOnLte_shouldSwitchDds()
948 assertEquals(1, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallDialingOnLte_shouldSwitchDds()
966 assertEquals(0, mPhoneSwitcherUT.getPreferredDataPhoneId()); in testNonDefaultDataPhoneInCall_ImsCallIncomingOnLte_shouldSwitchDds()
[all …]
DDataNetworkControllerTest.java4934 doReturn(1).when(mMockedPhoneSwitcher).getPreferredDataPhoneId(); in testTempDdsSwitchTearDown()
4947 doReturn(1).when(mMockedPhoneSwitcher).getPreferredDataPhoneId(); in testSetupDataOnNonDds()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAutoDataSwitchController.java607 int preferredPhoneId = mPhoneSwitcher.getPreferredDataPhoneId();
661 int preferredPhoneId = mPhoneSwitcher.getPreferredDataPhoneId();
DPhoneSwitcher.java1802 public int getPreferredDataPhoneId() { in getPreferredDataPhoneId() method in PhoneSwitcher
DDataNetwork.java2121 int preferredDataPhoneId = PhoneSwitcher.getInstance().getPreferredDataPhoneId();
DDataNetworkController.java1438 && mPhone.getPhoneId() != PhoneSwitcher.getInstance().getPreferredDataPhoneId() in serviceStateAllowsPSAttach()