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.java85 int[] subIds = in onCdmaCellBroadcastSms() local
89 if (subIds != null && subIds.length > 0) { in onCdmaCellBroadcastSms()
90 int subId = subIds[0]; in onCdmaCellBroadcastSms()
149 int[] subIds = sm.getSubscriptionIds(slotIndex); in parseCdmaBroadcastSms() local
150 if (subIds != null && subIds.length > 0) { in parseCdmaBroadcastSms()
151 subId = subIds[0]; in parseCdmaBroadcastSms()
DGsmSmsCbMessage.java103 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage() local
104 if (subIds != null && subIds.length > 0) { in createSmsCbMessage()
105 subId = subIds[0]; in createSmsCbMessage()
DGsmCellBroadcastHandler.java143 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in handleGeoFencingTriggerMessage() local
145 if (subIds != null) { in handleGeoFencingTriggerMessage()
146 res = getResources(subIds[0]); in handleGeoFencingTriggerMessage()
DCellBroadcastHandler.java571 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone() local
572 if (subIds != null) { in getSubIdForPhone()
573 return subIds[0]; in getSubIdForPhone()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java74 int[] subIds = getActiveSubIdList(subManager); in onHandleIntent() local
75 if (subIds.length != 0) { in onHandleIntent()
76 for (int subId : subIds) { in onHandleIntent()
95 int[] subIds = new int[size]; in getActiveSubIdList() local
97 subIds[i] = subInfos.get(i).getSubscriptionId(); in getActiveSubIdList()
99 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/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.java142 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId() local
144 if (subIds != null && subIds.length >= 1) { in getSubId()
145 subId = subIds[0]; in getSubId()
DCarrierConfigLoader.java628 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local
629 if (!ArrayUtils.isEmpty(subIds)) { in broadcastConfigChangedIntent()
631 .createForSubscriptionId(subIds[0]); in broadcastConfigChangedIntent()
649 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local
650 if (subIds != null && subIds.length > 0) { in broadcastConfigChangedIntent()
651 logd("Broadcast CARRIER_CONFIG_CHANGED for phone " + phoneId + ", subId=" + subIds[0]); in broadcastConfigChangedIntent()
1299 int[] subIds = SubscriptionManager.getSubId(phoneId); in hasCarrierPrivileges() local
1300 if (ArrayUtils.isEmpty(subIds)) { in hasCarrierPrivileges()
1304 subIds[0]).checkCarrierPrivilegesForPackage(pkgName) in hasCarrierPrivileges()
DPhoneInterfaceManager.java5094 int[] subIds = SubscriptionManager.getSubId(slotIndex); in setBoundImsServiceOverride() local
5097 (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in setBoundImsServiceOverride()
5128 int[] subIds = SubscriptionManager.getSubId(slotId); in getBoundImsServicePackage() local
5131 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/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java498 final int[] subIds = getActiveSubscriptionIdList(context); in getSearchableSubscriptionId() local
500 return subIds.length >= 1 ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSearchableSubscriptionId()
520 final int[] subIds = getActiveSubscriptionIdList(context); in getAvailability() local
521 if (ArrayUtils.isEmpty(subIds)) { in getAvailability()
525 for (final int subId : subIds) { in getAvailability()
531 return callback.getAvailabilityStatus(subIds[0]); in getAvailability()
/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.java1693 int[] subIds = SubscriptionManager.getSubId(phoneIndex);
1694 if (subIds != null && subIds.length > 0) {
1695 subId = subIds[0];