Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java222 List<SubscriptionInfo> subscriptionInfoList = Collections.singletonList( in refreshUi_oneSubscription_hidesPreference() local
225 .thenReturn(subscriptionInfoList); in refreshUi_oneSubscription_hidesPreference()
234 List<SubscriptionInfo> subscriptionInfoList = Collections.singletonList( in refreshUi_oneSubscription_setsValue() local
237 .thenReturn(subscriptionInfoList); in refreshUi_oneSubscription_setsValue()
246 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList(createSubInfo(SUBID_1, "sub1"), in refreshUi_multipleSubscriptions_showsPreference() local
249 .thenReturn(subscriptionInfoList); in refreshUi_multipleSubscriptions_showsPreference()
260 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList( in refreshUi_multipleSubscriptions_populatesEntries() local
263 .thenReturn(subscriptionInfoList); in refreshUi_multipleSubscriptions_populatesEntries()
276 List<SubscriptionInfo> subscriptionInfoList = Arrays.asList( in refreshUi_defaultSelection_fourthPriority_system() local
280 .thenReturn(subscriptionInfoList); in refreshUi_defaultSelection_fourthPriority_system()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DProviderUtilTest.java71 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in getSelectionBySubIds_noSubscription() local
72 doReturn(subscriptionInfoList).when(mSubscriptionManager) in getSelectionBySubIds_noSubscription()
85 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in getSelectionBySubIds_withDefaultSubId() local
86 subscriptionInfoList.add(subscriptionInfo1); in getSelectionBySubIds_withDefaultSubId()
88 doReturn(subscriptionInfoList).when(mSubscriptionManager) in getSelectionBySubIds_withDefaultSubId()
101 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in getSelectionBySubIds_withActiveSubscriptions() local
108 subscriptionInfoList.add(subscriptionInfo1); in getSelectionBySubIds_withActiveSubscriptions()
109 subscriptionInfoList.add(subscriptionInfo2); in getSelectionBySubIds_withActiveSubscriptions()
110 doReturn(subscriptionInfoList).when(mSubscriptionManager) in getSelectionBySubIds_withActiveSubscriptions()
DSmsProviderTest.java148 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in setUp() local
153 subscriptionInfoList.add(subscriptionInfo1); in setUp()
155 doReturn(subscriptionInfoList).when(mSubscriptionManager) in setUp()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceController.java97 final List<SubscriptionInfo> subscriptionInfoList = in getFirstPhoneNumber() local
99 if (subscriptionInfoList == null || subscriptionInfoList.isEmpty()) { in getFirstPhoneNumber()
104 return getFormattedPhoneNumber(subscriptionInfoList.get(0)); in getFirstPhoneNumber()
124 final List<SubscriptionInfo> subscriptionInfoList = in getSubscriptionInfo() local
126 if (subscriptionInfoList != null) { in getSubscriptionInfo()
127 for (SubscriptionInfo info : subscriptionInfoList) { in getSubscriptionInfo()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java313 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() local
317 subscriptionInfoList.add(subscriptionInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo()
321 subscriptionInfoList.add(subscriptionInfo_2); in testStartProfileSelectionWithDifferentPrioritySubInfo()
324 doReturn(subscriptionInfoList).when(mSubscriptionManager) in testStartProfileSelectionWithDifferentPrioritySubInfo()
326 doReturn(subscriptionInfoList).when(mSubscriptionManager).getOpportunisticSubscriptions(); in testStartProfileSelectionWithDifferentPrioritySubInfo()
516 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testselectProfileForDataWithInActiveSub() local
519 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInActiveSub()
547 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<SubscriptionInfo>(); in testselectProfileForDataWithInvalidSubId() local
550 subscriptionInfoList.add(subscriptionInfo); in testselectProfileForDataWithInvalidSubId()
553 doReturn(subscriptionInfoList).when(mSubscriptionManager).getOpportunisticSubscriptions(); in testselectProfileForDataWithInvalidSubId()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkSpnPreferenceController.kt73 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in <lambda>() method
74 refreshData(subscriptionInfoList) in <lambda>()
79 fun refreshData(subscriptionInfoList: List<SubscriptionInfo>){ in <lambda>()
80 spn = subscriptionInfoList in <lambda>()
DMobileNetworkPhoneNumberPreferenceController.kt81 .map { subscriptionInfoList -> in <lambda>() method
82 subscriptionInfoList in <lambda>()
DMobileNetworkImeiPreferenceController.kt92 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in <lambda>() method
93 subscriptionInfoList in <lambda>()
DMobileNetworkEidPreferenceController.kt99 .map { subscriptionInfoList -> in <lambda>() method
100 subscriptionInfoList in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSimLockPreferenceControllerTest.java171 final List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in setupMockIcc() local
173 subscriptionInfoList.add(info); in setupMockIcc()
177 .thenReturn(subscriptionInfoList); in setupMockIcc()
182 final List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in setupMockSimReady() local
184 subscriptionInfoList.add(info); in setupMockSimReady()
187 .thenReturn(subscriptionInfoList); in setupMockSimReady()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DDeviceInfoUtils.java190 List<SubscriptionInfo> subscriptionInfoList) { in getFormattedPhoneNumbers() argument
192 if (subscriptionInfoList != null) { in getFormattedPhoneNumbers()
195 final int count = subscriptionInfoList.size(); in getFormattedPhoneNumbers()
196 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getFormattedPhoneNumbers()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPhoneAccountHandleMigrationUtils.java173 List<SubscriptionInfo> subscriptionInfoList = mSubscriptionManager in migrateIccIdToSubId() local
183 subId = getSubIdForIccId(iccId, subscriptionInfoList); in migrateIccIdToSubId()
206 private String getSubIdForIccId(String iccId, List<SubscriptionInfo> subscriptionInfoList) { in getSubIdForIccId() argument
207 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getSubIdForIccId()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DUiccSlotUtilTest.java820 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in createActiveSubscriptionInfoListOneSim() local
821 subscriptionInfoList.add(createSubscriptionInfo(logicalSlotIndex, portIndex)); in createActiveSubscriptionInfoListOneSim()
823 return subscriptionInfoList; in createActiveSubscriptionInfoListOneSim()
828 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in createActiveSubscriptionInfoListTwoSims() local
829 subscriptionInfoList.add(createSubscriptionInfo(logicalSlotIndex1, portIndex1)); in createActiveSubscriptionInfoListTwoSims()
830 subscriptionInfoList.add(createSubscriptionInfo(logicalSlotIndex2, portIndex2)); in createActiveSubscriptionInfoListTwoSims()
831 return subscriptionInfoList; in createActiveSubscriptionInfoListTwoSims()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbCountryCode.java243 List<SubscriptionInfo> subscriptionInfoList = in initialize() local
245 if (subscriptionInfoList != null && !subscriptionInfoList.isEmpty()) { in initialize()
246 Set<Integer> slotIdxs = subscriptionInfoList in initialize()
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DTestSatelliteWrapper.java551 List<SubscriptionInfo> subscriptionInfoList = in getActiveSubId() local
554 if (subscriptionInfoList != null && subscriptionInfoList.size() > 0) { in getActiveSubId()
555 subId = subscriptionInfoList.get(0).getSubscriptionId(); in getActiveSubId()
/packages/apps/Settings/src/com/android/settings/spa/network/
DSimsSection.kt54 fun SimsSection(subscriptionInfoList: List<SubscriptionInfo>) { in <lambda>()
56 for (subInfo in subscriptionInfoList) { in <lambda>()
DNetworkCellularGroupProvider.kt318 .map { subscriptionInfoList -> in PrimarySimSectionImpl() method
319 subscriptionInfoList.filter { subInfo -> subInfo.simSlotIndex != -1 } in PrimarySimSectionImpl()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderCallsSmsController.kt84 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in onViewCreated() method
86 preference.isEnabled = subscriptionInfoList.isNotEmpty() in onViewCreated()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkCountryCode.java386 List<SubscriptionInfo> subscriptionInfoList = in updateTelephonyCountryCodeFromSimCard() local
389 if (subscriptionInfoList == null) { in updateTelephonyCountryCodeFromSimCard()
394 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in updateTelephonyCountryCodeFromSimCard()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java466 List<SubscriptionInfo> subscriptionInfoList) { in getFilteredAvailableNetworks() argument
472 Collections.sort(subscriptionInfoList, new SortSubInfo()); in getFilteredAvailableNetworks()
480 && subscriptionInfoListIndex < subscriptionInfoList.size()) { in getFilteredAvailableNetworks()
481 subscriptionInfo = subscriptionInfoList.get(subscriptionInfoListIndex); in getFilteredAvailableNetworks()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java629 final List<SubscriptionInfo> subscriptionInfoList = in updateCarrierIdForCurrentSubscription() local
631 if (subscriptionInfoList != null) { in updateCarrierIdForCurrentSubscription()
632 for (SubscriptionInfo subInfo : subscriptionInfoList) { in updateCarrierIdForCurrentSubscription()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java281 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in testPhoneAccountHandleMigrationInitiation() local
282 subscriptionInfoList.add(subscriptionInfo); in testPhoneAccountHandleMigrationInitiation()
283 when(mSubscriptionManager.getAllSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testPhoneAccountHandleMigrationInitiation()
DContactsProvider2Test.java313 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in testPhoneAccountHandleMigrationInitiation() local
314 subscriptionInfoList.add(subscriptionInfo); in testPhoneAccountHandleMigrationInitiation()
315 when(mSubscriptionManager.getAllSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testPhoneAccountHandleMigrationInitiation()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java1506 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in testPhoneAccountMigration() local
1507 subscriptionInfoList.add(subscriptionInfo); in testPhoneAccountMigration()
1508 when(mSubscriptionManager.getAllSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testPhoneAccountMigration()