/frameworks/base/core/java/android/telephony/ |
D | CellBroadcastIntents.java | 125 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone() local 126 if (subIds != null) { in getSubIdForPhone() 127 return subIds[0]; in getSubIdForPhone()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 177 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testChangeSIMProperty() local 178 assertTrue(subIds != null && subIds.length != 0); in testChangeSIMProperty() 179 int subID = subIds[0]; in testChangeSIMProperty() 215 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testSetGetDisplayNameSrc() local 216 assertTrue(subIds != null && subIds.length != 0); in testSetGetDisplayNameSrc() 217 int subID = subIds[0]; in testSetGetDisplayNameSrc() 325 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testMigrateImsSettings() local 326 assertTrue(subIds != null && subIds.length != 0); in testMigrateImsSettings() 327 int subID = subIds[0]; in testMigrateImsSettings() 1021 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testGetActiveSubIdList() local [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | MmTelFeatureConnectionTest.java | 287 private List<SubscriptionInfo> createSubscriptionInfoList(int[] subIds) { in createSubscriptionInfoList() argument 289 for (int i = 0; i < subIds.length; i++) { in createSubscriptionInfoList() 290 SubscriptionInfo info = new SubscriptionInfo(subIds[i], null, -1, null, null, -1, -1, in createSubscriptionInfoList()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MultiSimSettingController.java | 353 int[] subIds = mSubController.getSubId(phoneId); in onCarrierConfigChanged() local 354 if (!ArrayUtils.isEmpty(subIds)) { in onCarrierConfigChanged() 357 if (cm != null && cm.getConfigForSubId(subIds[0]) != null) { in onCarrierConfigChanged() 359 + subIds[0] + " is active and its config is loaded"); in onCarrierConfigChanged() 360 subId = subIds[0]; in onCarrierConfigChanged()
|
D | WapPushOverSms.java | 294 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local 295 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
|
D | SubscriptionController.java | 2176 ArrayList<Integer> subIds = sSlotIndexToSubIds.get(slotIndex); in getSubId() local 2177 if (subIds != null && subIds.size() > 0) { in getSubId() 2178 int[] subIdArr = new int[subIds.size()]; in getSubId() 2179 for (int i = 0; i < subIds.size(); i++) { in getSubId() 2180 subIdArr[i] = subIds.get(i); in getSubId() 2543 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local 2544 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId() 2547 return subIds[0]; in getSubIdUsingPhoneId()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureManager.java | 528 int[] subIds = SubscriptionManager.getSubId(slotId); 529 if (subIds != null) { 530 return subIds[0];
|
D | ImsManager.java | 1074 int[] subIds = SubscriptionManager.getSubId(mPhoneId); in getSubId() local 1076 if (subIds != null && subIds.length >= 1) { in getSubId() 1077 subId = subIds[0]; in getSubId()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 199 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument 201 for (int subId : subIds) { in setSubscriptions()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2158 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() local 2159 if (subIds != null && subIds.length > 0) { in putPhoneIdAndSubIdExtra() 2160 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 318 int[] subIds = SubscriptionManager.getSubId(slotId); 319 if (subIds != null) { 321 return subIds[0];
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 1459 int[] subIds = Arrays.stream(SubscriptionManager.from(mContext) in notifyCarrierNetworkChange() local 1463 if (ArrayUtils.isEmpty(subIds)) { in notifyCarrierNetworkChange() 1471 for (int subId : subIds) { in notifyCarrierNetworkChange()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1815 final int[] subIds = ArrayUtils.defeatNullable(sm.getActiveSubscriptionIdList()); 1818 final SparseArray<String> subIdToSubscriberId = new SparseArray<>(subIds.length); 1819 for (int subId : subIds) {
|