/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 164 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testChangeSIMProperty() local 165 assertTrue(subIds != null && subIds.length != 0); in testChangeSIMProperty() 166 int subID = subIds[0]; in testChangeSIMProperty() 202 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testSetGetDisplayNameSrc() local 203 assertTrue(subIds != null && subIds.length != 0); in testSetGetDisplayNameSrc() 204 int subID = subIds[0]; in testSetGetDisplayNameSrc() 313 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testMigrateImsSettings() local 314 assertTrue(subIds != null && subIds.length != 0); in testMigrateImsSettings() 315 int subID = subIds[0]; in testMigrateImsSettings() 935 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testGetActiveSubIdList() local [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 97 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local 98 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId() 101 return subIds[0]; in getSubIdUsingPhoneId()
|
/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 | WapPushOverSms.java | 263 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local 264 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
|
D | SubscriptionController.java | 1968 ArrayList<Integer> subIds = sSlotIndexToSubIds.get(slotIndex); in getSubId() local 1969 if (subIds != null && subIds.size() > 0) { in getSubId() 1970 int[] subIdArr = new int[subIds.size()]; in getSubId() 1971 for (int i = 0; i < subIds.size(); i++) { in getSubId() 1972 subIdArr[i] = subIds.get(i); in getSubId() 2360 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local 2361 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId() 2364 return subIds[0]; in getSubIdUsingPhoneId()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 186 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument 188 for (int subId : subIds) { in setSubscriptions()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2100 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() local 2101 if (subIds != null && subIds.length > 0) { in putPhoneIdAndSubIdExtra() 2102 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 245 int[] subIds = SubscriptionManager.getSubId(slotId); 246 if (subIds != null) { 248 return subIds[0];
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 1169 int[] subIds = SubscriptionManager.getSubId(mPhoneId); in getSubId() local 1171 if (subIds != null && subIds.length >= 1) { in getSubId() 1172 subId = subIds[0]; in getSubId()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 1190 int[] subIds = Arrays.stream(SubscriptionManager.from(mContext) in notifyCarrierNetworkChange() local 1193 if (ArrayUtils.isEmpty(subIds)) { in notifyCarrierNetworkChange() 1201 for (int subId : subIds) { in notifyCarrierNetworkChange()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1803 final int[] subIds = ArrayUtils.defeatNullable(sm.getActiveSubscriptionIdList()); 1806 final SparseArray<String> subIdToSubscriberId = new SparseArray<>(subIds.length); 1807 for (int subId : subIds) {
|