/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | DefaultCellBroadcastService.java | 87 int[] subIds = in onCdmaCellBroadcastSms() local 91 if (subIds != null && subIds.length > 0) { in onCdmaCellBroadcastSms() 92 int subId = subIds[0]; in onCdmaCellBroadcastSms() 151 int[] subIds = sm.getSubscriptionIds(slotIndex); in parseCdmaBroadcastSms() local 152 if (subIds != null && subIds.length > 0) { in parseCdmaBroadcastSms() 153 subId = subIds[0]; in parseCdmaBroadcastSms()
|
D | GsmSmsCbMessage.java | 103 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage() local 104 if (subIds != null && subIds.length > 0) { in createSmsCbMessage() 105 subId = subIds[0]; in createSmsCbMessage()
|
D | GsmCellBroadcastHandler.java | 256 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in getResourcesForSlot() local 258 if (subIds != null) { in getResourcesForSlot() 259 res = getResources(subIds[0]); in getResourcesForSlot()
|
D | CellBroadcastHandler.java | 699 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone() local 700 if (subIds != null) { in getSubIdForPhone() 701 return subIds[0]; in getSubIdForPhone()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigService.java | 79 int[] subIds = getActiveSubIdList(subManager); in onHandleIntent() local 80 if (subIds.length != 0) { in onHandleIntent() 81 for (int subId : subIds) { in onHandleIntent() 128 int[] subIds = new int[size]; in getActiveSubIdList() local 130 subIds[i] = subInfos.get(i).getSubscriptionId(); in getActiveSubIdList() 132 return subIds; in getActiveSubIdList()
|
D | CellBroadcastCursorAdapter.java | 198 int[] subIds = sm.getSubscriptionIds(slotIndex); in createFromCursor() local 199 if (subIds != null && subIds.length > 0) { in createFromCursor() 200 subId = subIds[0]; in createFromCursor()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsUtil.java | 157 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId() local 159 if (subIds != null && subIds.length >= 1) { in getSubId() 160 subId = subIds[0]; in getSubId()
|
D | CarrierConfigLoader.java | 805 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local 806 if (!ArrayUtils.isEmpty(subIds)) { in broadcastConfigChangedIntent() 808 .createForSubscriptionId(subIds[0]); in broadcastConfigChangedIntent() 826 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent() local 827 if (subIds != null && subIds.length > 0) { in broadcastConfigChangedIntent() 828 logd("Broadcast CARRIER_CONFIG_CHANGED for phone " + phoneId + ", subId=" + subIds[0]); in broadcastConfigChangedIntent() 1594 int[] subIds = SubscriptionManager.getSubId(phoneId); in hasCarrierPrivileges() local 1595 if (ArrayUtils.isEmpty(subIds)) { in hasCarrierPrivileges() 1599 subIds[0]).checkCarrierPrivilegesForPackage(pkgName) in hasCarrierPrivileges()
|
D | PhoneInterfaceManager.java | 5743 int[] subIds = SubscriptionManager.getSubId(slotIndex); in setBoundImsServiceOverride() local 5746 (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in setBoundImsServiceOverride() 5777 int[] subIds = SubscriptionManager.getSubId(slotIndex); in clearCarrierImsServiceOverride() local 5781 (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in clearCarrierImsServiceOverride() 5807 int[] subIds = SubscriptionManager.getSubId(slotId); in getBoundImsServicePackage() local 5810 mApp, (subIds != null ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID), in getBoundImsServicePackage()
|
D | TelephonyShellCommand.java | 1943 int[] subIds = SubscriptionManager.getSubId(slotId); in getSubId() local 1944 return subIds[0]; in getSubId()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsService.java | 356 int[] subIds = manager.getSubscriptionIds(slotId); in getSubscriptionFromSlot() local 357 if (subIds != null && subIds.length > 0) { in getSubscriptionFromSlot() 358 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/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtils.java | 526 final int[] subIds = getActiveSubscriptionIdList(context); in getSearchableSubscriptionId() local 528 return subIds.length >= 1 ? subIds[0] : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSearchableSubscriptionId() 548 final int[] subIds = getActiveSubscriptionIdList(context); in getAvailability() local 549 if (ArrayUtils.isEmpty(subIds)) { in getAvailability() 553 for (final int subId : subIds) { in getAvailability() 559 return callback.getAvailabilityStatus(subIds[0]); in getAvailability()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsServiceTest.java | 346 int [] subIds = new int[1]; in setSlotToSubIdMapping() local 347 subIds[0] = loadedSubId; in setSlotToSubIdMapping() 348 doReturn(subIds).when(m).getSubscriptionIds(eq(slotId)); in setSlotToSubIdMapping()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 526 public Builder setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() argument 527 mNetworkCapabilities.setSubscriptionIds(subIds); in setSubscriptionIds()
|
D | NetworkCapabilities.java | 2361 public NetworkCapabilities setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() argument 2362 mSubIds = new ArraySet(Objects.requireNonNull(subIds)); in setSubscriptionIds() 2757 public Builder setSubscriptionIds(@NonNull final Set<Integer> subIds) { in setSubscriptionIds() argument 2758 mCaps.setSubscriptionIds(subIds); in setSubscriptionIds()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | RcsProvisioningMonitorTest.java | 779 final int[] subIds = new int[count]; in makeFakeActiveSubIds() local 781 subIds[i] = FAKE_SUB_ID_BASE + i; in makeFakeActiveSubIds() 783 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subIds); in makeFakeActiveSubIds()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 1706 int[] subIds = SubscriptionManager.getSubId(phoneIndex); 1707 if (subIds != null && subIds.length > 0) { 1708 subId = subIds[0];
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 919 private static NetworkCapabilities capsWithSubIds(Integer ... subIds) { in capsWithSubIds() argument 925 .setSubscriptionIds(new ArraySet<>(subIds)).build(); in capsWithSubIds() 926 assertEquals(new ArraySet<>(subIds), nc.getSubscriptionIds()); in capsWithSubIds()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 13367 final Set<Integer> subIds = Collections.singleton(Process.myUid()); in testSubIdsExistWithNetworkFactoryPermission() local 13369 nc.setSubscriptionIds(subIds); in testSubIdsExistWithNetworkFactoryPermission() 13374 assertEquals(subIds, result.getSubscriptionIds()); in testSubIdsExistWithNetworkFactoryPermission()
|