Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DDefaultCellBroadcastService.java77 int[] subIds = in onCdmaCellBroadcastSms() local
81 if (subIds != null && subIds.length > 0) { in onCdmaCellBroadcastSms()
82 int subId = subIds[0]; in onCdmaCellBroadcastSms()
133 int[] subIds = sm.getSubscriptionIds(slotIndex); in parseBroadcastSms() local
134 if (subIds != null && subIds.length > 0) { in parseBroadcastSms()
135 subId = subIds[0]; in parseBroadcastSms()
DGsmCellBroadcastHandler.java130 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in handleGeoFencingTriggerMessage() local
132 if (subIds != null) { in handleGeoFencingTriggerMessage()
133 res = getResources(subIds[0]); in handleGeoFencingTriggerMessage()
241 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in handleAreaInfoMessage() local
243 if (subIds != null) { in handleAreaInfoMessage()
244 res = getResources(subIds[0]); in handleAreaInfoMessage()
DCellBroadcastHandler.java311 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in isDuplicate() local
313 if (subIds != null) { in isDuplicate()
314 res = getResources(subIds[0]); in isDuplicate()
464 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone() local
465 if (subIds != null) { in getSubIdForPhone()
466 return subIds[0]; in getSubIdForPhone()
DGsmSmsCbMessage.java100 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage() local
101 if (subIds != null && subIds.length > 0) { in createSmsCbMessage()
102 subId = subIds[0]; in createSmsCbMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java73 int[] subIds = getActiveSubIdList(subManager); in onHandleIntent() local
74 if (subIds.length != 0) { in onHandleIntent()
75 for (int subId : subIds) { in onHandleIntent()
94 int[] subIds = new int[size]; in getActiveSubIdList() local
96 subIds[i] = subInfos.get(i).getSubscriptionId(); in getActiveSubIdList()
98 return subIds; in getActiveSubIdList()
DCellBroadcastCursorAdapter.java191 int[] subIds = sm.getSubscriptionIds(slotIndex); in createFromCursor() local
192 if (subIds != null && subIds.length > 0) { in createFromCursor()
193 subId = subIds[0]; in createFromCursor()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java105 final int[] subIds = getActiveSubscriptionIdList(context); in isWifiCallingEnabled() local
106 if (ArrayUtils.isEmpty(subIds)) { in isWifiCallingEnabled()
110 for (int subId : subIds) { in isWifiCallingEnabled()
545 final int[] subIds = getActiveSubscriptionIdList(context); in getSearchableSubscriptionId() local
547 return subIds.length >= 1 ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSearchableSubscriptionId()
567 final int[] subIds = getActiveSubscriptionIdList(context); in getAvailability() local
568 if (ArrayUtils.isEmpty(subIds)) { in getAvailability()
572 for (final int subId : subIds) { in getAvailability()
578 return callback.getAvailabilityStatus(subIds[0]); in getAvailability()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkUtils.java418 final int subIds[] = subscriptionManager.getActiveSubscriptionIdList(); in getSearchableSubscriptionId() local
420 return subIds.length >= 1 ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSearchableSubscriptionId()
442 final int[] subIds = subscriptionManager.getActiveSubscriptionIdList(); in getAvailability() local
443 if (ArrayUtils.isEmpty(subIds)) { in getAvailability()
447 for (final int subId : subIds) { in getAvailability()
453 return callback.getAvailabilityStatus(subIds[0]); in getAvailability()
/packages/services/Telephony/src/com/android/phone/
DImsUtil.java148 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId() local
150 if (subIds != null && subIds.length >= 1) { in getSubId()
151 subId = subIds[0]; in getSubId()
DCarrierConfigLoader.java627 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local
628 if (!ArrayUtils.isEmpty(subIds)) { in broadcastConfigChangedIntent()
630 .createForSubscriptionId(subIds[0]); in broadcastConfigChangedIntent()
648 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local
649 if (subIds != null && subIds.length > 0) { in broadcastConfigChangedIntent()
650 logd("Broadcast CARRIER_CONFIG_CHANGED for phone " + phoneId + ", subId=" + subIds[0]); in broadcastConfigChangedIntent()
1298 int[] subIds = SubscriptionManager.getSubId(phoneId); in hasCarrierPrivileges() local
1299 if (ArrayUtils.isEmpty(subIds)) { in hasCarrierPrivileges()
1303 subIds[0]).checkCarrierPrivilegesForPackage(pkgName) in hasCarrierPrivileges()
DPhoneInterfaceManager.java5090 int[] subIds = SubscriptionManager.getSubId(slotIndex); in setBoundImsServiceOverride() local
5093 (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in setBoundImsServiceOverride()
5124 int[] subIds = SubscriptionManager.getSubId(slotId); in getBoundImsServicePackage() local
5127 mApp, (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in getBoundImsServicePackage()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTelephonyRcsService.java260 int[] subIds = manager.getSubscriptionIds(slotId); in getSubscriptionFromSlot() local
261 if (subIds != null && subIds.length > 0) { in getSubscriptionFromSlot()
262 return subIds[0]; in getSubscriptionFromSlot()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java99 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage() local
100 if (subIds != null && subIds.length > 0) { in createSmsCbMessage()
101 subId = subIds[0]; in createSmsCbMessage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java124 int[] subIds = mSubscriptionManager.getSubscriptionIds(
126 int subId = (subIds == null || subIds.length == 0)
127 ? SubscriptionManager.INVALID_SUBSCRIPTION_ID : subIds[0];
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java228 int [] subIds = new int[1]; in setSlotToSubIdMapping() local
229 subIds[0] = loadedSubId; in setSlotToSubIdMapping()
230 doReturn(subIds).when(m).getSubscriptionIds(eq(slotId)); in setSlotToSubIdMapping()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java1750 int[] subIds = SubscriptionManager.getSubId(phoneIndex);
1751 if (subIds != null && subIds.length > 0) {
1752 subId = subIds[0];