Searched refs:getPreferredDataPhoneId (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | AutoDataSwitchControllerTest.java | 182 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()
|
D | PhoneSwitcherTest.java | 845 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 …]
|
D | DataNetworkControllerTest.java | 4934 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/ |
D | AutoDataSwitchController.java | 607 int preferredPhoneId = mPhoneSwitcher.getPreferredDataPhoneId(); 661 int preferredPhoneId = mPhoneSwitcher.getPreferredDataPhoneId();
|
D | PhoneSwitcher.java | 1802 public int getPreferredDataPhoneId() { in getPreferredDataPhoneId() method in PhoneSwitcher
|
D | DataNetwork.java | 2121 int preferredDataPhoneId = PhoneSwitcher.getInstance().getPreferredDataPhoneId();
|
D | DataNetworkController.java | 1438 && mPhone.getPhoneId() != PhoneSwitcher.getInstance().getPreferredDataPhoneId() in serviceStateAllowsPSAttach()
|