Home
last modified time | relevance | path

Searched refs:subIds (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/net/vcn/
DVcnUnderlyingNetworkSpecifier.java47 public VcnUnderlyingNetworkSpecifier(@NonNull int[] subIds) { in VcnUnderlyingNetworkSpecifier() argument
48 mSubIds = Objects.requireNonNull(subIds, "subIds were null"); in VcnUnderlyingNetworkSpecifier()
66 int[] subIds = in.createIntArray();
67 return new VcnUnderlyingNetworkSpecifier(subIds);
/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java126 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone() local
127 if (subIds != null) { in getSubIdForPhone()
128 return subIds[0]; in getSubIdForPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java257 int[] subIds = context.getSystemService(SubscriptionManager.class) in resetCarrierKeysForImsiEncryption() local
259 if (subIds == null || subIds.length < 1) { in resetCarrierKeysForImsiEncryption()
263 deleteCarrierInfoForImsiEncryption(context, subIds[0]); in resetCarrierKeysForImsiEncryption()
DWapPushOverSms.java248 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local
249 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
DMultiSimSettingController.java403 int[] subIds = mSubController.getSubId(phoneId); in onCarrierConfigChanged() local
404 if (!ArrayUtils.isEmpty(subIds)) { in onCarrierConfigChanged()
407 if (cm != null && cm.getConfigForSubId(subIds[0]) != null) { in onCarrierConfigChanged()
409 + subIds[0] + " is active and its config is loaded"); in onCarrierConfigChanged()
410 subId = subIds[0]; in onCarrierConfigChanged()
DSubscriptionController.java2600 ArrayList<Integer> subIds = sSlotIndexToSubIds.getCopy(slotIndex); in getSubId() local
2601 if (subIds != null && subIds.size() > 0) { in getSubId()
2602 int[] subIdArr = new int[subIds.size()]; in getSubId()
2603 for (int i = 0; i < subIds.size(); i++) { in getSubId()
2604 subIdArr[i] = subIds.get(i); in getSubId()
2964 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local
2965 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId()
2968 return subIds[0]; in getSubIdUsingPhoneId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java206 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testChangeSIMProperty() local
207 assertTrue(subIds != null && subIds.length != 0); in testChangeSIMProperty()
208 int subID = subIds[0]; in testChangeSIMProperty()
244 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testSetGetDisplayNameSrc() local
245 assertTrue(subIds != null && subIds.length != 0); in testSetGetDisplayNameSrc()
246 int subID = subIds[0]; in testSetGetDisplayNameSrc()
592 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testMigrateImsSettings() local
593 assertTrue(subIds != null && subIds.length != 0); in testMigrateImsSettings()
594 int subID = subIds[0]; in testMigrateImsSettings()
1289 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testGetActiveSubIdList() local
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/
DMmTelFeatureConnectionTest.java284 private List<SubscriptionInfo> createSubscriptionInfoList(int[] subIds) { in createSubscriptionInfoList() argument
286 for (int i = 0; i < subIds.length; i++) { in createSubscriptionInfoList()
287 SubscriptionInfo info = new SubscriptionInfo(subIds[i], null, -1, null, null, -1, -1, in createSubscriptionInfoList()
/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java324 final Set<Integer> subIds = new ArraySet<>(); in getAllSubIdsInGroup() local
328 subIds.add(entry.getKey()); in getAllSubIdsInGroup()
332 return subIds; in getAllSubIdsInGroup()
DUnderlyingNetworkTracker.java367 private NetworkRequest getTestNetworkRequest(@NonNull Set<Integer> subIds) { in getTestNetworkRequest() argument
371 .setSubscriptionIds(subIds) in getTestNetworkRequest()
428 @NonNull TelephonySubscriptionSnapshot snapshot, Set<Integer> subIds) { in isOpportunistic() argument
434 for (int subId : subIds) { in isOpportunistic()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java223 int[] subIds = subscriptionManager.getActiveSubscriptionIdList(); in registerDefaultAppProviders()
224 for (int subId : subIds) { in registerDefaultAppProviders()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java608 int[] subIds = SubscriptionManager.getSubId(slotId);
609 if (subIds != null) {
610 return subIds[0];
DImsManager.java1407 int[] subIds = mSubscriptionManagerProxy.getSubscriptionIds(mPhoneId); in getSubId() local
1409 if (subIds != null && subIds.length >= 1) { in getSubId()
1410 subId = subIds[0]; in getSubId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java293 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument
295 for (int subId : subIds) { in setSubscriptions()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2318 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() local
2319 if (subIds != null && subIds.length > 0) { in putPhoneIdAndSubIdExtra()
2320 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java538 int[] subIds = SubscriptionManager.getSubId(phoneId);
540 (subIds != null) && (subIds.length > 0)
541 ? subIds[0]
1735 int[] subIds = Arrays.stream(SubscriptionManager.from(mContext) in notifyCarrierNetworkChange() local
1739 if (ArrayUtils.isEmpty(subIds)) { in notifyCarrierNetworkChange()
1747 for (int subId : subIds) { in notifyCarrierNetworkChange()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java383 final Set<Integer> subIds = new ArraySet<>(); in buildSubscriptionSnapshot()
386 subIds.add(entry.getKey()); in buildSubscriptionSnapshot()
389 return subIds; in buildSubscriptionSnapshot()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java346 int[] subIds = SubscriptionManager.getSubId(slotId);
347 if (subIds != null) {
349 return subIds[0];
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2031 int[] subIds = mSubscriptionManager.getSubscriptionIds(slot); in KeyguardUpdateMonitor() local
2032 if (subIds != null) { in KeyguardUpdateMonitor()
2033 for (int subId : subIds) { in KeyguardUpdateMonitor()