/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 222 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/ |
D | ProviderUtilTest.java | 71 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()
|
D | SmsProviderTest.java | 148 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/ |
D | PhoneNumberPreferenceController.java | 97 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/ |
D | ONSProfileSelectorTest.java | 313 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/ |
D | MobileNetworkSpnPreferenceController.kt | 73 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in <lambda>() method 74 refreshData(subscriptionInfoList) in <lambda>() 79 fun refreshData(subscriptionInfoList: List<SubscriptionInfo>){ in <lambda>() 80 spn = subscriptionInfoList in <lambda>()
|
D | MobileNetworkPhoneNumberPreferenceController.kt | 81 .map { subscriptionInfoList -> in <lambda>() method 82 subscriptionInfoList in <lambda>()
|
D | MobileNetworkImeiPreferenceController.kt | 92 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in <lambda>() method 93 subscriptionInfoList in <lambda>()
|
D | MobileNetworkEidPreferenceController.kt | 99 .map { subscriptionInfoList -> in <lambda>() method 100 subscriptionInfoList in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | SimLockPreferenceControllerTest.java | 171 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/ |
D | DeviceInfoUtils.java | 190 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/ |
D | PhoneAccountHandleMigrationUtils.java | 173 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/ |
D | UiccSlotUtilTest.java | 820 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/ |
D | UwbCountryCode.java | 243 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/ |
D | TestSatelliteWrapper.java | 551 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/ |
D | SimsSection.kt | 54 fun SimsSection(subscriptionInfoList: List<SubscriptionInfo>) { in <lambda>() 56 for (subInfo in subscriptionInfoList) { in <lambda>()
|
D | NetworkCellularGroupProvider.kt | 318 .map { subscriptionInfoList -> in PrimarySimSectionImpl() method 319 subscriptionInfoList.filter { subInfo -> subInfo.simSlotIndex != -1 } in PrimarySimSectionImpl()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkProviderCallsSmsController.kt | 84 .collectLatestWithLifecycle(viewLifecycleOwner) { subscriptionInfoList -> in onViewCreated() method 86 preference.isEnabled = subscriptionInfoList.isNotEmpty() in onViewCreated()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkCountryCode.java | 386 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/ |
D | ONSProfileSelector.java | 466 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/ |
D | CarrierIdProvider.java | 629 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/ |
D | CallLogProviderTest.java | 281 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in testPhoneAccountHandleMigrationInitiation() local 282 subscriptionInfoList.add(subscriptionInfo); in testPhoneAccountHandleMigrationInitiation() 283 when(mSubscriptionManager.getAllSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testPhoneAccountHandleMigrationInitiation()
|
D | ContactsProvider2Test.java | 313 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/ |
D | PhoneAccountRegistrarTest.java | 1506 List<SubscriptionInfo> subscriptionInfoList = new ArrayList<>(); in testPhoneAccountMigration() local 1507 subscriptionInfoList.add(subscriptionInfo); in testPhoneAccountMigration() 1508 when(mSubscriptionManager.getAllSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testPhoneAccountMigration()
|