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.java164 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/
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/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DMmTelFeatureConnectionTest.java287 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/
DWapPushOverSms.java263 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local
264 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
DSubscriptionController.java1968 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/
DNetworkControllerBaseTest.java186 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument
188 for (int subId : subIds) { in setSubscriptions()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2100 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/
DImsResolver.java245 int[] subIds = SubscriptionManager.getSubId(slotId);
246 if (subIds != null) {
248 return subIds[0];
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1169 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/
DTelephonyRegistry.java1190 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/
DNetworkPolicyManagerService.java1803 final int[] subIds = ArrayUtils.defeatNullable(sm.getActiveSubscriptionIdList());
1806 final SparseArray<String> subIdToSubscriberId = new SparseArray<>(subIds.length);
1807 for (int subId : subIds) {