Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java125 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/
DSubscriptionControllerTest.java187 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testChangeSIMProperty() local
188 assertTrue(subIds != null && subIds.length != 0); in testChangeSIMProperty()
189 int subID = subIds[0]; in testChangeSIMProperty()
225 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testSetGetDisplayNameSrc() local
226 assertTrue(subIds != null && subIds.length != 0); in testSetGetDisplayNameSrc()
227 int subID = subIds[0]; in testSetGetDisplayNameSrc()
335 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testMigrateImsSettings() local
336 assertTrue(subIds != null && subIds.length != 0); in testMigrateImsSettings()
337 int subID = subIds[0]; in testMigrateImsSettings()
1032 int[] subIds = mSubscriptionControllerUT.getActiveSubIdList(/*visibleOnly*/false); in testGetActiveSubIdList() local
[all …]
/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/
DMultiSimSettingController.java353 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()
DWapPushOverSms.java292 int[] subIds = SubscriptionManager.getSubId(phoneId); in decodeWapPdu() local
293 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] in decodeWapPdu()
DSubscriptionController.java2319 ArrayList<Integer> subIds = sSlotIndexToSubIds.getCopy(slotIndex); in getSubId() local
2320 if (subIds != null && subIds.size() > 0) { in getSubId()
2321 int[] subIdArr = new int[subIds.size()]; in getSubId()
2322 for (int i = 0; i < subIds.size(); i++) { in getSubId()
2323 subIdArr[i] = subIds.get(i); in getSubId()
2683 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() local
2684 if (subIds == null || subIds.length == 0) { in getSubIdUsingPhoneId()
2687 return subIds[0]; in getSubIdUsingPhoneId()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java518 int[] subIds = SubscriptionManager.getSubId(slotId);
519 if (subIds != null) {
520 return subIds[0];
DImsManager.java1074 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/
DNetworkControllerBaseTest.java238 protected void setSubscriptions(int... subIds) { in setSubscriptions() argument
240 for (int subId : subIds) { in setSubscriptions()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2197 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() local
2198 if (subIds != null && subIds.length > 0) { in putPhoneIdAndSubIdExtra()
2199 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java318 int[] subIds = SubscriptionManager.getSubId(slotId);
319 if (subIds != null) {
321 return subIds[0];
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1463 int[] subIds = Arrays.stream(SubscriptionManager.from(mContext) in notifyCarrierNetworkChange() local
1467 if (ArrayUtils.isEmpty(subIds)) { in notifyCarrierNetworkChange()
1475 for (int subId : subIds) { in notifyCarrierNetworkChange()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1799 int[] subIds = mSubscriptionManager.getSubscriptionIds(slot); in KeyguardUpdateMonitor() local
1800 if (subIds != null) { in KeyguardUpdateMonitor()
1801 for (int subId : subIds) { in KeyguardUpdateMonitor()