Home
last modified time | relevance | path

Searched refs:subIds (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java226 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(); in testChangeSIMProperty() local
227 assertTrue(subIds != null && subIds.length != 0); in testChangeSIMProperty()
228 int subID = subIds[0]; in testChangeSIMProperty()
257 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(); in testSetGetDisplayNameSrc() local
258 assertTrue(subIds != null && subIds.length != 0); in testSetGetDisplayNameSrc()
259 int subID = subIds[0]; in testSetGetDisplayNameSrc()
352 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(); in testMigrateImsSettings() local
353 assertTrue(subIds != null && subIds.length != 0); in testMigrateImsSettings()
354 int subID = subIds[0]; in testMigrateImsSettings()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java97 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local
98 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId()
101 return subIds[0]; in getSubIdUsingPhoneId()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1067 int[] subIds = SubscriptionManager.getSubId(mPhoneId); in getSubId() local
1069 if (subIds != null && subIds.length >= 1) { in getSubId()
1070 subId = subIds[0]; in getSubId()
1940 int[] subIds = SubscriptionManager.getSubId(mPhoneId); in getBooleanCarrierConfig() local
1942 if (subIds != null && subIds.length >= 1) { in getBooleanCarrierConfig()
1943 subId = subIds[0]; in getBooleanCarrierConfig()
1965 int[] subIds = SubscriptionManager.getSubId(mPhoneId); in getIntCarrierConfig() local
1967 if (subIds != null && subIds.length >= 1) { in getIntCarrierConfig()
1968 subId = subIds[0]; in getIntCarrierConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java257 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local
258 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
DSubscriptionController.java1471 ArrayList<Integer> subIds = new ArrayList<Integer>();
1476 subIds.add(sub);
1481 int numSubIds = subIds.size();
1485 subIdArr[i] = subIds.get(i);
1872 int[] subIds = getSubId(phoneId);
1873 if (subIds == null || subIds.length == 0) {
1876 return subIds[0];
DServiceStateTracker.java2364 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay() local
2365 if (subIds != null && subIds.length > 0) { in updateSpnDisplay()
2366 subId = subIds[0]; in updateSpnDisplay()
2410 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay() local
2411 if (subIds != null && subIds.length > 0) { in updateSpnDisplay()
2412 subId = subIds[0]; in updateSpnDisplay()
DSubscriptionInfoUpdater.java376 int[] subIds = mSubscriptionManager.getActiveSubscriptionIdList(); in handleSimLoaded() local
377 for (int subId : subIds) { in handleSimLoaded()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1498 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() local
1499 if (subIds != null && subIds.length > 0) { in putPhoneIdAndSubIdExtra()
1500 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java177 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument
179 for (int subId : subIds) { in setSubscriptions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java245 int[] subIds = SubscriptionManager.getSubId(slotId);
246 if (subIds != null) {
248 return subIds[0];
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1742 final int[] subIds = ArrayUtils.defeatNullable(sm.getActiveSubscriptionIdList());
1745 final SparseArray<String> subIdToSubscriberId = new SparseArray<>(subIds.length);
1746 for (int subId : subIds) {