Home
last modified time | relevance | path

Searched refs:activeSubIds (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java180 int[] activeSubIds = SubscriptionManager.from(mContext).getActiveSubscriptionIdList(); in getTelephonyManager() local
181 if (!ArrayUtils.isEmpty(activeSubIds)) { in getTelephonyManager()
182 subscriptionId = activeSubIds[0]; in getTelephonyManager()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java262 HashSet<Integer> activeSubIds = new HashSet<Integer>();
267 activeSubIds.add(subInfo.getSubscriptionId());
288 if (!activeSubIds.contains(element.getKey())) {
303 if (!activeSubIds.contains(mActiveSubId)) {
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java702 int[] activeSubIds; in checkCarrierPrivilegeForAnySubId() local
705 activeSubIds = sm.getCompleteActiveSubscriptionIdList(); in checkCarrierPrivilegeForAnySubId()
709 for (int activeSubId : activeSubIds) { in checkCarrierPrivilegeForAnySubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java594 int[] activeSubIds; in isSmsSimPickActivityNeeded() local
598 activeSubIds = Arrays.stream(SubscriptionManagerService.getInstance() in isSmsSimPickActivityNeeded()
603 for (int activeSubId : activeSubIds) { in isSmsSimPickActivityNeeded()
611 return activeSubIds.length > 1 && telephonyManager.getSimCount() > 1; in isSmsSimPickActivityNeeded()
DMultiSimSettingController.java472 int[] activeSubIds = mSubscriptionManagerService.getActiveSubIdList(false); in isCarrierConfigLoadedForAllSub() local
473 for (int activeSubId : activeSubIds) { in isCarrierConfigLoadedForAllSub()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java1475 int[] activeSubIds = mSubscriptionManagerService.getActiveSubIdList(true); in handleEventConfigDataUpdated() local
1476 if (activeSubIds != null) { in handleEventConfigDataUpdated()
1477 for (int subId : activeSubIds) { in handleEventConfigDataUpdated()
3849 int[] activeSubIds = mSubscriptionManagerService.getActiveSubIdList(true); in updateSupportedSatelliteServicesForActiveSubscriptions() local
3850 if (activeSubIds != null) { in updateSupportedSatelliteServicesForActiveSubscriptions()
3851 for (int subId : activeSubIds) { in updateSupportedSatelliteServicesForActiveSubscriptions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java3025 int[] activeSubIds = getActiveSubIdList(true); in updateDefaultSubId() local
3026 if (activeSubIds.length > 0) { in updateDefaultSubId()
3027 subId = activeSubIds[0]; in updateDefaultSubId()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java605 Set<Integer> activeSubIds = new HashSet<>(); in handleSimSubscriptionInfoChanged() local
608 activeSubIds.add(info.getSubscriptionId()); in handleSimSubscriptionInfoChanged()
620 if (!activeSubIds.contains(simData.getKey())) { in handleSimSubscriptionInfoChanged()