Home
last modified time | relevance | path

Searched refs:SubscriptionInfo (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoTest.java22 import android.telephony.SubscriptionInfo;
30 private SubscriptionInfo mSubscriptionInfoUT;
41 mSubscriptionInfoUT = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "T-mobile", in setUp()
93 SubscriptionInfo copy = SubscriptionInfo.CREATOR.createFromParcel(p); in testParcelUnparcel()
100 SubscriptionInfo copiedInfo = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, in testEquals()
104 SubscriptionInfo differentDisplayName = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, in testEquals()
107 SubscriptionInfo differentSubId = new SubscriptionInfo(2, "890126042XXXXXXXXXXX", 0, in testEquals()
DMultiSimSettingControllerTest.java42 import android.telephony.SubscriptionInfo;
82 private SubscriptionInfo mSubInfo1 = new SubscriptionInfo(1, "subInfo1 IccId", 0, "T-mobile",
86 private SubscriptionInfo mSubInfo2 = new SubscriptionInfo(2, "subInfo2 IccId", 1, "T-mobile",
92 private SubscriptionInfo mSubInfo3 = new SubscriptionInfo(3, "subInfo3 IccId", -1, "T-mobile",
98 private SubscriptionInfo mSubInfo4 = new SubscriptionInfo(4, "subInfo4 IccId", -1, "T-mobile",
123 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1, mSubInfo2); in setUp()
166 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testTestSubInfoChangeBeforeAllSubReady()
204 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testSingleActiveDsds()
244 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testActivatingSecondSub()
334 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo2); in testSimpleDsds()
[all …]
DSubscriptionControllerTest.java47 import android.telephony.SubscriptionInfo;
157 List<SubscriptionInfo> mSubList = mSubscriptionControllerUT in testInsertSim()
182 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
223 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetDisplayNameSrc()
270 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetMCCMNC()
289 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetCarrierId()
469 List<SubscriptionInfo> opptSubList = mSubscriptionControllerUT in testOpptSubInfoListChanged()
515 List<SubscriptionInfo> mSubList; in addAndVerifyRemoteSimAddition()
523 for (SubscriptionInfo info : mSubList) { in addAndVerifyRemoteSimAddition()
571 SubscriptionInfo info = mSubList.get(j); in addAndVerifyRemoteSimAddition()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl19 import android.telephony.SubscriptionInfo;
30 List<SubscriptionInfo> getAllSubInfoList(String callingPackage, String callingFeatureId); in getAllSubInfoList()
47 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo()
57 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId()
67 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex()
92 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage, in getActiveSubscriptionInfoList()
110 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage, in getAvailableSubscriptionInfoList()
116 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
240 List<SubscriptionInfo> getOpportunisticSubscriptions(String callingPackage, in getOpportunisticSubscriptions()
249 List<SubscriptionInfo> getSubscriptionsInGroup(in ParcelUuid groupUuid, String callingPackage, in getSubscriptionsInGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java52 import android.telephony.SubscriptionInfo;
122 private final List<SubscriptionInfo> mCacheActiveSubInfoList = new ArrayList<>();
125 private List<SubscriptionInfo> mCacheOpportunisticSubInfoList = new ArrayList<>();
128 private static final Comparator<SubscriptionInfo> SUBSCRIPTION_INFO_COMPARATOR =
321 List<SubscriptionInfo> subInfos; in notifySubscriptionInfoChanged()
341 private SubscriptionInfo getSubInfoRecord(Cursor cursor) { in getSubInfoRecord()
408 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
409 String cardIdToPrint = SubscriptionInfo.givePrintableIccid(cardId); in getSubInfoRecord()
429 SubscriptionInfo info = new SubscriptionInfo(id, iccId, simSlotIndex, displayName, in getSubInfoRecord()
448 public SubscriptionInfo getSubInfoForIccId(String iccId) { in getSubInfoForIccId()
[all …]
DMultiSimSettingController.java45 import android.telephony.SubscriptionInfo;
428 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in onSubscriptionGroupChanged()
435 for (SubscriptionInfo info : infoList) { in onSubscriptionGroupChanged()
491 List<SubscriptionInfo> activeSubInfos = mSubController in updateDefaults()
548 private int updatePrimarySubListAndGetChangeType(List<SubscriptionInfo> activeSubList) { in updatePrimarySubListAndGetChangeType()
723 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in setUserDataEnabledForGroup()
729 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
754 List<SubscriptionInfo> infoList = subController.getSubscriptionsInGroup( in setRoamingDataEnabledForGroup()
760 for (SubscriptionInfo info : infoList) { in setRoamingDataEnabledForGroup()
803 List<SubscriptionInfo> opptSubList = mSubController.getOpportunisticSubscriptions( in deactivateGroupedOpportunisticSubscriptionIfNeeded()
[all …]
DBtSmsInterfaceManager.java27 import android.telephony.SubscriptionInfo;
42 PendingIntent deliveryIntent, SubscriptionInfo info) { in sendText()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java45 import android.telephony.SubscriptionInfo;
81 private static final SubscriptionInfo TEST_SUBSCRIPTION = new SubscriptionInfo(0, "", 0,
85 private static final SubscriptionInfo TEST_SUBSCRIPTION_NULL = new SubscriptionInfo(0, "", 0,
88 private static final SubscriptionInfo TEST_SUBSCRIPTION_ROAMING = new SubscriptionInfo(0, "", 0,
140 List<SubscriptionInfo> list = new ArrayList<>(); in testAirplaneMode()
160 List<SubscriptionInfo> list = new ArrayList<>(); in testCardIOError()
256 List<SubscriptionInfo> list = new ArrayList<>(); in testCreateInfo_OneValidSubscription()
280 List<SubscriptionInfo> list = new ArrayList<>(); in testCreateInfo_OneValidSubscriptionWithRoaming()
304 List<SubscriptionInfo> list = new ArrayList<>(); in testCarrierText_noTextOnReadySimWhenNull()
328 List<SubscriptionInfo> list = new ArrayList<>(); in testCarrierText_noTextOnReadySimWhenNull_airplaneMode_wifiOn()
[all …]
DKeyguardUpdateMonitorTest.java48 import android.telephony.SubscriptionInfo;
85 private static final SubscriptionInfo TEST_SUBSCRIPTION = new SubscriptionInfo(1, "", 0,
89 private static final SubscriptionInfo TEST_SUBSCRIPTION_2 = new SubscriptionInfo(2, "", 0,
465 List<SubscriptionInfo> list = new ArrayList<>(); in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
473 List<SubscriptionInfo> listToVerify = mKeyguardUpdateMonitor in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java34 import android.telephony.SubscriptionInfo;
61 private static final SubscriptionInfo TEST_SUBSCRIPTION_INFO =
62 new SubscriptionInfo(TEST_SUBSCRIPTION_ID, null, 0, TEST_CARRIER_NAME, null, 0, 0,
111 .thenReturn(Arrays.asList(new SubscriptionInfo[] {TEST_SUBSCRIPTION_INFO})); in setUp()
151 SubscriptionInfo testSubscriptionInfoNullDisplayName = new SubscriptionInfo( in getExistingCarrierNetworkInfo_nullDisplayName_shouldNotThrowNpe()
218 SubscriptionInfo updatedSubscriptionInfo = new SubscriptionInfo(TEST_SUBSCRIPTION_ID, in receivedCarrierConfigChangedIntent()
222 .thenReturn(Arrays.asList(new SubscriptionInfo[] {updatedSubscriptionInfo})); in receivedCarrierConfigChangedIntent()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java52 public class SubscriptionInfo implements Parcelable { class
222 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
236 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
250 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
447 Log.w(SubscriptionInfo.class.getSimpleName(), "MCC string is not a number"); in getMcc()
461 Log.w(SubscriptionInfo.class.getSimpleName(), "MNC string is not a number"); in getMnc()
681 …roid.annotation.NonNull Parcelable.Creator<SubscriptionInfo> CREATOR = new Parcelable.Creator<Subs…
683 public SubscriptionInfo createFromParcel(Parcel source) {
714 SubscriptionInfo info = new SubscriptionInfo(id, iccId, simSlotIndex, displayName,
724 public SubscriptionInfo[] newArray(int size) {
[all …]
DSubscriptionManager.java1168 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo()
1177 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo()
1204 public SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String iccId) { in getActiveSubscriptionInfoForIcc()
1211 SubscriptionInfo result = null; in getActiveSubscriptionInfoForIcc()
1238 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex()
1245 SubscriptionInfo result = null; in getActiveSubscriptionInfoForSimSlotIndex()
1266 public List<SubscriptionInfo> getAllSubscriptionInfoList() { in getAllSubscriptionInfoList()
1269 List<SubscriptionInfo> result = null; in getAllSubscriptionInfoList()
1314 public List<SubscriptionInfo> getActiveSubscriptionInfoList() { in getActiveSubscriptionInfoList()
1339 public @Nullable List<SubscriptionInfo> getActiveAndHiddenSubscriptionInfoList() { in getActiveAndHiddenSubscriptionInfoList()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java30 import android.telephony.SubscriptionInfo;
412 List<SubscriptionInfo> subInfos = getSubscriptionInfoList(withEmergencyIsoInSim); in setUpSim()
447 private List<SubscriptionInfo> getSubscriptionInfoList(boolean withEmergencyIso) { in getSubscriptionInfoList()
448 List<SubscriptionInfo> subInfos = new ArrayList<>(2); in getSubscriptionInfoList()
452 SubscriptionInfo subInfo = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "T-mobile", in getSubscriptionInfoList()
458 SubscriptionInfo subInfo2 = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "Airtel", in getSubscriptionInfoList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java32 import android.telephony.SubscriptionInfo;
250 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testHasCorrectMobileControllers()
257 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
264 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
284 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testSetCurrentSubscriptions()
294 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testSetCurrentSubscriptions()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java29 import android.telephony.SubscriptionInfo;
56 private SubscriptionInfo mInfo1;
58 private SubscriptionInfo mInfo2;
62 private List<SubscriptionInfo> mInfos;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java28 import android.telephony.SubscriptionInfo;
179 SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber()
194 List<SubscriptionInfo> subscriptionInfoList) { in getFormattedPhoneNumbers()
200 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getFormattedPhoneNumbers()
218 SubscriptionInfo subscriptionInfo) { in getBidiFormattedPhoneNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java37 import android.telephony.SubscriptionInfo;
111 List<SubscriptionInfo> subInfoList = in registerForAddSubscriptionRecord()
234 SubscriptionInfo mNextActivatedSub = null; in updateUserPreferences()
240 List<SubscriptionInfo> sil = getActiveSubscriptionInfoList(mContext.getOpPackageName()); in updateUserPreferences()
260 for (SubscriptionInfo subInfo : sil) { in updateUserPreferences()
318 List<SubscriptionInfo> subInfoList = in handleDataPreference()
324 for (SubscriptionInfo subInfo : subInfoList) { in handleDataPreference()
DVendorMultiSimSettingController.java22 import android.telephony.SubscriptionInfo;
79 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in setUserDataEnabledForGroup()
85 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java49 import android.telephony.SubscriptionInfo;
139 private List<SubscriptionInfo> mCurrentSubscriptions = new ArrayList<>();
309 SubscriptionInfo info1 = mSubscriptionManager.getActiveSubscriptionInfo(subId1); in isInGroupDataSwitch()
310 SubscriptionInfo info2 = mSubscriptionManager.getActiveSubscriptionInfo(subId2); in isInGroupDataSwitch()
604 private void filterMobileSubscriptionInSameGroup(List<SubscriptionInfo> subscriptions) { in filterMobileSubscriptionInSameGroup()
606 SubscriptionInfo info1 = subscriptions.get(0); in filterMobileSubscriptionInSameGroup()
607 SubscriptionInfo info2 = subscriptions.get(1); in filterMobileSubscriptionInSameGroup()
629 List<SubscriptionInfo> subscriptions = mSubscriptionManager in doUpdateMobileControllers()
677 public void setCurrentSubscriptionsLocked(List<SubscriptionInfo> subscriptions) { in setCurrentSubscriptionsLocked()
678 Collections.sort(subscriptions, new Comparator<SubscriptionInfo>() { in setCurrentSubscriptionsLocked()
[all …]
DCallbackHandler.java21 import android.telephony.SubscriptionInfo;
70 signalCluster.setSubs((List<SubscriptionInfo>) msg.obj); in handleMessage()
138 public void setSubs(List<SubscriptionInfo> subs) { in setSubs()
DNetworkController.java21 import android.telephony.SubscriptionInfo;
78 default void setSubs(List<SubscriptionInfo> subs) {} in setSubs()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DMmTelFeatureConnectionTest.java33 import android.telephony.SubscriptionInfo;
287 private List<SubscriptionInfo> createSubscriptionInfoList(int[] subIds) { in createSubscriptionInfoList()
288 List<SubscriptionInfo> infos = new ArrayList<>(); 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/uicc/
DIccSlotStatus.java19 import android.telephony.SubscriptionInfo;
84 .append(SubscriptionInfo.givePrintableIccid(iccid)).append(",") in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java39 import android.telephony.SubscriptionInfo;
892 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in deleteSubscription()
981 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscription()
1029 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscriptionPrivileged()
1088 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in updateSubscriptionNickname()
1344 private SubscriptionInfo getSubscriptionForSubscriptionId(int subscriptionId) { in getSubscriptionForSubscriptionId()
1345 List<SubscriptionInfo> subs = mSubscriptionManager.getAvailableSubscriptionInfoList(); in getSubscriptionForSubscriptionId()
1348 SubscriptionInfo sub = subs.get(i); in getSubscriptionForSubscriptionId()
1462 List<SubscriptionInfo> subInfoList = mSubscriptionManager in canManageActiveSubscriptionOnTargetSim()
1468 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCallbackAdapterManager.java23 import android.telephony.SubscriptionInfo;
73 List<SubscriptionInfo> subInfos = manager.getActiveSubscriptionInfoList(false); in ImsCallbackAdapterManager()
79 .map(SubscriptionInfo::getSubscriptionId) in ImsCallbackAdapterManager()

1234