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.java155 final SubscriptionInfo sub1 = mock(SubscriptionInfo.class); in getSummary_oneSubscription_correctSummaryAndClickHandler() local
156 when(sub1.getSubscriptionId()).thenReturn(1); in getSummary_oneSubscription_correctSummaryAndClickHandler()
157 when(sub1.getDisplayName()).thenReturn("sub1"); in getSummary_oneSubscription_correctSummaryAndClickHandler()
158 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler()
159 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler()
171 SubscriptionManager.INVALID_SUBSCRIPTION_ID)).isEqualTo(sub1.getSubscriptionId()); in getSummary_oneSubscription_correctSummaryAndClickHandler()
177 final SubscriptionInfo sub1 = mock(SubscriptionInfo.class); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() local
178 when(sub1.getSubscriptionId()).thenReturn(1); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
179 when(sub1.getDisplayName()).thenReturn("sub1"); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
180 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java398 Point sub1 = pt.subtract(mPtA); in distance() local
400 double dot = sub1.x * sub2.x + sub1.y * sub2.y; in distance()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java915 SubscriptionInfo sub1 = createMockSubscription(1, "sub1", 8888); in loadSims_twoSimsWithDifferentCarrierId_showTwoSims() local
917 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in loadSims_twoSimsWithDifferentCarrierId_showTwoSims()
918 mShadowSubscriptionManager.setActiveSubscriptionInfoList(Arrays.asList(sub1, sub2)); in loadSims_twoSimsWithDifferentCarrierId_showTwoSims()
931 SubscriptionInfo sub1 = createMockSubscription(1, "sub1", 9999); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim() local
933 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim()
934 mShadowSubscriptionManager.setActiveSubscriptionInfoList(Arrays.asList(sub1, sub2)); in loadSims_twoSimsWithSameCarrierId_showOneDefaultDataSim()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java1755 SubscriptionInfo sub1 = mockSubscriptionInfo(1, "sim1", 1111); in fineSubscriptionInfo_noMatchedCarrierId_returnNull() local
1757 List<SubscriptionInfo> activeSubInfos = Arrays.asList(sub1, sub2); in fineSubscriptionInfo_noMatchedCarrierId_returnNull()
1771 SubscriptionInfo sub1 = mockSubscriptionInfo(1, "sim1", 1111); in fineSubscriptionInfo_diffCarrierId_returnMatchedOne() local
1773 List<SubscriptionInfo> activeSubInfos = Arrays.asList(sub1, sub2); in fineSubscriptionInfo_diffCarrierId_returnMatchedOne()
1799 SubscriptionInfo sub1 = mockSubscriptionInfo(1, "sim1", 1111); in fineSubscriptionInfo_sameCarrierId_returnDefaultDataOne() local
1801 List<SubscriptionInfo> activeSubInfos = Arrays.asList(sub1, sub2); in fineSubscriptionInfo_sameCarrierId_returnDefaultDataOne()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java500 public int compare(Integer sub1, Integer sub2) { in updatePhoneStateListeners()
501 int slotId1 = SubscriptionManager.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;