Home
last modified time | relevance | path

Searched refs:subscriptionInfoList (Results 1 – 11 of 11) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java180 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testStartProfileSelectionSuccess() local
185 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionSuccess()
212 doReturn(subscriptionInfoList).when(mSubscriptionManager) in testStartProfileSelectionSuccess()
254 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() local
257 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo()
260 subscriptionInfoList.add(subscriptionInfo_2); in testStartProfileSelectionWithDifferentPrioritySubInfo()
297 doReturn(subscriptionInfoList).when(mSubscriptionManager) in testStartProfileSelectionWithDifferentPrioritySubInfo()
427 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testselectProfileForDataWithInActiveSub() local
430 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInActiveSub()
457 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testselectProfileForDataWithInvalidSubId() local
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceController.java119 final List<SubscriptionInfo> subscriptionInfoList = in getFirstPhoneNumber() local
121 if (subscriptionInfoList == null || subscriptionInfoList.isEmpty()) { in getFirstPhoneNumber()
126 return getFormattedPhoneNumber(subscriptionInfoList.get(0)); in getFirstPhoneNumber()
146 final List<SubscriptionInfo> subscriptionInfoList = in getSubscriptionInfo() local
148 if (subscriptionInfoList != null) { in getSubscriptionInfo()
149 for (SubscriptionInfo info : subscriptionInfoList) { in getSubscriptionInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSimLockPreferenceControllerTest.java140 final List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in setupMockIcc() local
142 subscriptionInfoList.add(info); in setupMockIcc()
146 .thenReturn(subscriptionInfoList); in setupMockIcc()
150 final List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in setupMockSimReady() local
152 subscriptionInfoList.add(info); in setupMockSimReady()
155 .thenReturn(subscriptionInfoList); in setupMockSimReady()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPhoneNumberPreferenceController.java121 final List<SubscriptionInfo> subscriptionInfoList = in getFirstPhoneNumber() local
123 if (subscriptionInfoList == null) { in getFirstPhoneNumber()
128 return getFormattedPhoneNumber(subscriptionInfoList.get(0)); in getFirstPhoneNumber()
148 final List<SubscriptionInfo> subscriptionInfoList = in getSubscriptionInfo() local
150 if (subscriptionInfoList != null) { in getSubscriptionInfo()
151 for (SubscriptionInfo info : subscriptionInfoList) { in getSubscriptionInfo()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDeviceInfoSlice.java113 final List<SubscriptionInfo> subscriptionInfoList = in getFirstSubscriptionInfo() local
115 if (subscriptionInfoList == null || subscriptionInfoList.isEmpty()) { in getFirstSubscriptionInfo()
118 return subscriptionInfoList.get(0); in getFirstSubscriptionInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/
DImeiInfoDialogController.java128 final List<SubscriptionInfo> subscriptionInfoList = SubscriptionManager.from(context) in getSubscriptionInfo() local
130 if (subscriptionInfoList == null || subscriptionInfoList.isEmpty()) { in getSubscriptionInfo()
134 return subscriptionInfoList.get(slotId); in getSubscriptionInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/
DDeviceInfoSlice.java115 final List<SubscriptionInfo> subscriptionInfoList = in getFirstSubscriptionInfo() local
117 if (subscriptionInfoList == null || subscriptionInfoList.isEmpty()) { in getFirstSubscriptionInfo()
120 return subscriptionInfoList.get(0); in getFirstSubscriptionInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusPreferenceController.java109 final List<SubscriptionInfo> subscriptionInfoList = in getCarrierName() local
111 if (subscriptionInfoList != null) { in getCarrierName()
112 for (SubscriptionInfo info : subscriptionInfoList) { in getCarrierName()
DSimStatusDialogController.java418 final List<SubscriptionInfo> subscriptionInfoList = SubscriptionManager.from( in getPhoneSubscriptionInfo() local
420 if (subscriptionInfoList != null && subscriptionInfoList.size() > slotId) { in getPhoneSubscriptionInfo()
421 return subscriptionInfoList.get(slotId); in getPhoneSubscriptionInfo()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusPreferenceController.java109 final List<SubscriptionInfo> subscriptionInfoList = in getCarrierName() local
111 if (subscriptionInfoList != null) { in getCarrierName()
112 for (SubscriptionInfo info : subscriptionInfoList) { in getCarrierName()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java403 List<SubscriptionInfo> subscriptionInfoList) { in getFilteredAvailableNetworks() argument
409 Collections.sort(subscriptionInfoList, new SortSubInfo()); in getFilteredAvailableNetworks()
417 && subscriptionInfoListIndex < subscriptionInfoList.size()) { in getFilteredAvailableNetworks()
418 subscriptionInfo = subscriptionInfoList.get(subscriptionInfoListIndex); in getFilteredAvailableNetworks()