Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl20 import android.telephony.SubscriptionInfo;
29 List<SubscriptionInfo> getAllSubInfoList(String callingPackage); in getAllSubInfoList()
44 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); in getActiveSubscriptionInfo()
52 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId()
60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage); in getActiveSubscriptionInfoForSimSlotIndex()
83 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage); in getActiveSubscriptionInfoList()
99 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage); in getAvailableSubscriptionInfoList()
104 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
DISubscriptionListener.aidl19 import android.telephony.SubscriptionInfo;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java30 import android.telephony.SubscriptionInfo;
53 private static final SubscriptionInfo TEST_SUBSCRIPTION_INFO =
54 new SubscriptionInfo(TEST_SUBSCRIPTION_ID, null, 0, TEST_CARRIER_NAME, null, 0, 0,
92 .thenReturn(Arrays.asList(new SubscriptionInfo[] {TEST_SUBSCRIPTION_INFO})); in setUp()
141 SubscriptionInfo updatedSubscriptionInfo = new SubscriptionInfo(TEST_SUBSCRIPTION_ID, in receivedCarrierConfigChangedIntent()
144 .thenReturn(Arrays.asList(new SubscriptionInfo[] {updatedSubscriptionInfo})); in receivedCarrierConfigChangedIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java37 import android.telephony.SubscriptionInfo;
93 private AtomicReference<List<SubscriptionInfo>> mCacheActiveSubInfoList = new AtomicReference();
133 private static final Comparator<SubscriptionInfo> SUBSCRIPTION_INFO_COMPARATOR =
289 private SubscriptionInfo getSubInfoRecord(Cursor cursor) { in getSubInfoRecord()
328 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
341 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord()
366 private List<SubscriptionInfo> getSubInfo(String selection, Object queryKey) { in getSubInfo()
372 ArrayList<SubscriptionInfo> subList = null; in getSubInfo()
378 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfo()
383 subList = new ArrayList<SubscriptionInfo>(); in getSubInfo()
[all …]
DSubscriptionInfoUpdater.java44 import android.telephony.SubscriptionInfo;
244 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in setDisplayNameForNewSub()
439 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in handleSimLoaded()
573 List<SubscriptionInfo> oldSubInfo = in updateSubscriptionInfoByIccId()
655 List<SubscriptionInfo> subInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in updateSubscriptionInfoByIccId()
659 SubscriptionInfo temp = subInfos.get(i); in updateSubscriptionInfoByIccId()
736 List<SubscriptionInfo> existingSubscriptions = SubscriptionController.getInstance() in updateEmbeddedSubscriptions()
772 SubscriptionInfo info = existingSubscriptions.get(i); in updateEmbeddedSubscriptions()
791 private static int findSubscriptionInfoForIccid(List<SubscriptionInfo> list, String iccid) { in findSubscriptionInfoForIccid()
DUiccSmsController.java32 import android.telephony.SubscriptionInfo;
274 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded()
286 final SubscriptionInfo sir = subInfoList.get(i); in isSmsSimPickActivityNeeded()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java41 public class SubscriptionInfo implements Parcelable { class
131 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
142 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
390 …public static final Parcelable.Creator<SubscriptionInfo> CREATOR = new Parcelable.Creator<Subscrip…
392 public SubscriptionInfo createFromParcel(Parcel source) {
409 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
415 public SubscriptionInfo[] newArray(int size) {
416 return new SubscriptionInfo[size];
DSubscriptionManager.java526 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo()
535 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo()
556 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex()
563 SubscriptionInfo result = null; in getActiveSubscriptionInfoForIccIndex()
582 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex()
589 SubscriptionInfo result = null; in getActiveSubscriptionInfoForSimSlotIndex()
609 public List<SubscriptionInfo> getAllSubscriptionInfoList() { in getAllSubscriptionInfoList()
612 List<SubscriptionInfo> result = null; in getAllSubscriptionInfoList()
649 public List<SubscriptionInfo> getActiveSubscriptionInfoList() { in getActiveSubscriptionInfoList()
650 List<SubscriptionInfo> result = null; in getActiveSubscriptionInfoList()
[all …]
DSubscriptionInfo.aidl19 parcelable SubscriptionInfo;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java27 import android.telephony.SubscriptionInfo;
112 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo()
116 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId()
120 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String cp){ in getActiveSubscriptionInfoForSimSlotIndex()
124 public List<SubscriptionInfo> getAllSubInfoList(String callingPackage) { in getAllSubInfoList()
128 public List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage) { in getActiveSubscriptionInfoList()
246 public List<SubscriptionInfo> getSubInfoUsingSlotIndexWithCheck(int slotId, boolean needCheck, in getSubInfoUsingSlotIndexWithCheck()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoTest.java25 import android.telephony.SubscriptionInfo;
28 private SubscriptionInfo mSubscriptionInfoUT;
37 mSubscriptionInfoUT = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "T-mobile", in setUp()
DSubscriptionControllerTest.java30 import android.telephony.SubscriptionInfo;
53 @Mock private List<SubscriptionInfo> mSubList;
200 List<SubscriptionInfo> mSubList = mSubscriptionControllerUT in testInsertSim()
230 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
258 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetDisplayNameSrc()
307 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetMCCMNC()
DSubscriptionInfoUpdaterTest.java49 import android.telephony.SubscriptionInfo;
87 private SubscriptionInfo mSubInfo;
495 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess()
497 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
501 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
546 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listFailure()
548 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
552 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
588 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_emptyToEmpty()
590 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java25 import android.telephony.SubscriptionInfo;
261 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testHasCorrectMobileControllers()
268 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
275 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
296 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testSetCurrentSubscriptions()
306 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testSetCurrentSubscriptions()
DNetworkControllerBaseTest.java29 import android.telephony.SubscriptionInfo;
163 List<SubscriptionInfo> subs = new ArrayList<SubscriptionInfo>(); in setSubscriptions()
165 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java35 import android.telephony.SubscriptionInfo;
120 private List<SubscriptionInfo> mCurrentSubscriptions = new ArrayList<>();
481 List<SubscriptionInfo> subscriptions = mSubscriptionManager.getActiveSubscriptionInfoList(); in doUpdateMobileControllers()
522 void setCurrentSubscriptions(List<SubscriptionInfo> subscriptions) { in setCurrentSubscriptions()
523 Collections.sort(subscriptions, new Comparator<SubscriptionInfo>() { in setCurrentSubscriptions()
525 public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) { in setCurrentSubscriptions()
592 boolean hasCorrectMobileControllers(List<SubscriptionInfo> allSubscriptions) { in hasCorrectMobileControllers()
596 for (SubscriptionInfo info : allSubscriptions) { in hasCorrectMobileControllers()
826 List<SubscriptionInfo> subs = new ArrayList<>(); in dispatchDemoCommand()
849 List<SubscriptionInfo> subs = new ArrayList<>(); in dispatchDemoCommand()
[all …]
DCallbackHandler.java21 import android.telephony.SubscriptionInfo;
69 signalCluster.setSubs((List<SubscriptionInfo>) msg.obj); in handleMessage()
142 public void setSubs(List<SubscriptionInfo> subs) { in setSubs()
DNetworkController.java21 import android.telephony.SubscriptionInfo;
54 default void setSubs(List<SubscriptionInfo> subs) {} in setSubs()
DEmergencyCryptkeeperText.java27 import android.telephony.SubscriptionInfo;
104 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getSubscriptionInfo(false); in update()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java27 import android.telephony.SubscriptionInfo;
123 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in updateNetworkConfig()
129 for (SubscriptionInfo subInfo : subInfoList) { in updateNetworkConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java35 import android.telephony.SubscriptionInfo;
566 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in deleteSubscription()
649 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscription()
688 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscriptionPrivileged()
746 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in updateSubscriptionNickname()
910 private SubscriptionInfo getSubscriptionForSubscriptionId(int subscriptionId) { in getSubscriptionForSubscriptionId()
911 List<SubscriptionInfo> subs = mSubscriptionManager.getAvailableSubscriptionInfoList(); in getSubscriptionForSubscriptionId()
914 SubscriptionInfo sub = subs.get(i); in getSubscriptionForSubscriptionId()
971 List<SubscriptionInfo> subInfoList = mSubscriptionManager.getActiveSubscriptionInfoList(); in canManageActiveSubscription()
977 SubscriptionInfo subInfo = subInfoList.get(subIndex); in canManageActiveSubscription()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java26 import android.telephony.SubscriptionInfo;
177 … public static String getFormattedPhoneNumber(Context context, SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber()
193 List<SubscriptionInfo> subscriptionInfo) { in getFormattedPhoneNumbers()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java29 import android.telephony.SubscriptionInfo;
92 SubscriptionInfo sub = SubscriptionManager.from(context).getActiveSubscriptionInfo(subId); in isEsimLocked()
DKeyguardUpdateMonitor.java65 import android.telephony.SubscriptionInfo;
218 private List<SubscriptionInfo> mSubscriptionInfo;
374 List<SubscriptionInfo> sil = mSubscriptionManager.getActiveSubscriptionInfoList(); in handleSimSubscriptionInfoChanged()
376 for (SubscriptionInfo subInfo : sil) { in handleSimSubscriptionInfoChanged()
383 List<SubscriptionInfo> subscriptionInfos = getSubscriptionInfo(true /* forceReload */); in handleSimSubscriptionInfoChanged()
388 ArrayList<SubscriptionInfo> changedSubscriptions = new ArrayList<>(); in handleSimSubscriptionInfoChanged()
390 SubscriptionInfo info = subscriptionInfos.get(i); in handleSimSubscriptionInfoChanged()
423 public List<SubscriptionInfo> getSubscriptionInfo(boolean forceReload) { in getSubscriptionInfo()
424 List<SubscriptionInfo> sil = mSubscriptionInfo; in getSubscriptionInfo()
430 mSubscriptionInfo = new ArrayList<SubscriptionInfo>(); in getSubscriptionInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java34 import android.telephony.SubscriptionInfo;
219 List<SubscriptionInfo> activeSubscriptionInfoList = in handleUpdateSimSubscriptionInfo()
225 for (SubscriptionInfo info : activeSubscriptionInfoList) { in handleUpdateSimSubscriptionInfo()

12