Home
last modified time | relevance | path

Searched refs:sub1 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java149 final SubscriptionInfo sub1 = mock(SubscriptionInfo.class); in getSummary_oneSubscription_correctSummaryAndClickHandler() local
150 when(sub1.getSubscriptionId()).thenReturn(1); in getSummary_oneSubscription_correctSummaryAndClickHandler()
151 when(sub1.getDisplayName()).thenReturn("sub1"); in getSummary_oneSubscription_correctSummaryAndClickHandler()
152 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler()
153 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler()
165 SubscriptionManager.INVALID_SUBSCRIPTION_ID)).isEqualTo(sub1.getSubscriptionId()); in getSummary_oneSubscription_correctSummaryAndClickHandler()
171 final SubscriptionInfo sub1 = mock(SubscriptionInfo.class); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() local
172 when(sub1.getSubscriptionId()).thenReturn(1); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
173 when(sub1.getDisplayName()).thenReturn("sub1"); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
174 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
[all …]
DMobileNetworkListControllerTest.java127 final SubscriptionInfo sub1 = createMockSubscription(1, "sub1"); in displayPreference_twoSubscriptions_correctlySetup() local
131 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptions_correctlySetup()
158 final SubscriptionInfo sub1 = createMockSubscription(1, "sub1"); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup() local
160 when(sub1.isEmbedded()).thenReturn(true); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
166 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
195 final SubscriptionInfo sub1 = createMockSubscription(1, "sub1"); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated() local
197 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated()
212 final SubscriptionInfo sub1 = createMockSubscription(1, "sub1"); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved() local
215 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
223 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub3)); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java123 final SubscriptionInfo sub1 = createMockSub(111, "sub1"); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() local
125 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
126 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
127 mController.setDefaultSubscription(sub1.getSubscriptionId()); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
153 final SubscriptionInfo sub1 = createMockSub(111, "sub1"); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() local
155 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
156 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
183 final SubscriptionInfo sub1 = createMockSub(111, "sub1"); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues() local
190 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
192 Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java397 Point sub1 = pt.subtract(mPtA); in distance() local
399 double dot = sub1.x * sub2.x + sub1.y * sub2.y; in distance()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java572 public int compare(Integer sub1, Integer sub2) { in updatePhoneStateListeners()
573 int slotId1 = SubscriptionController.getInstance().getSlotIndex(sub1); in updatePhoneStateListeners()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3652 Landroid/icu/text/NFRule;->sub1:Landroid/icu/text/NFSubstitution;