/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | DefaultCellBroadcastService.java | 77 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()
|
D | GsmCellBroadcastHandler.java | 130 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()
|
D | CellBroadcastHandler.java | 311 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()
|
D | GsmSmsCbMessage.java | 100 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/ |
D | CellBroadcastConfigService.java | 73 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()
|
D | CellBroadcastCursorAdapter.java | 191 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/ |
D | MobileNetworkUtils.java | 105 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/ |
D | MobileNetworkUtils.java | 418 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/ |
D | ImsUtil.java | 148 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId() local 150 if (subIds != null && subIds.length >= 1) { in getSubId() 151 subId = subIds[0]; in getSubId()
|
D | CarrierConfigLoader.java | 627 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()
|
D | PhoneInterfaceManager.java | 5090 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/ |
D | TelephonyRcsService.java | 260 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/ |
D | GsmSmsCbMessage.java | 99 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/ |
D | SimStatusDialogController.java | 124 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/ |
D | TelephonyRcsServiceTest.java | 228 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/ |
D | RadioInfo.java | 1750 int[] subIds = SubscriptionManager.getSubId(phoneIndex); 1751 if (subIds != null && subIds.length > 0) { 1752 subId = subIds[0];
|