Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl20 import android.telephony.SubscriptionInfo;
28 List<SubscriptionInfo> getAllSubInfoList(String callingPackage); in getAllSubInfoList()
43 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); in getActiveSubscriptionInfo()
51 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId()
59 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage); in getActiveSubscriptionInfoForSimSlotIndex()
82 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage); in getActiveSubscriptionInfoList()
98 List<SubscriptionInfo> getAvailableSubscriptionInfoList(String callingPackage); in getAvailableSubscriptionInfoList()
103 List<SubscriptionInfo> getAccessibleSubscriptionInfoList(String callingPackage); in getAccessibleSubscriptionInfoList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java37 import android.telephony.SubscriptionInfo;
96 private final List<SubscriptionInfo> mCacheActiveSubInfoList = new ArrayList<>();
136 private static final Comparator<SubscriptionInfo> SUBSCRIPTION_INFO_COMPARATOR =
271 private SubscriptionInfo getSubInfoRecord(Cursor cursor) { in getSubInfoRecord()
312 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
313 String cardIdToPrint = SubscriptionInfo.givePrintableIccid(cardId); in getSubInfoRecord()
327 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord()
352 private List<SubscriptionInfo> getSubInfo(String selection, Object queryKey) { in getSubInfo()
358 ArrayList<SubscriptionInfo> subList = null; in getSubInfo()
364 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfo()
[all …]
DSubscriptionInfoUpdater.java45 import android.telephony.SubscriptionInfo;
399 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in handleSimLoaded()
552 List<SubscriptionInfo> oldSubInfo = SubscriptionController.getInstance() in updateSubscriptionInfoByIccId()
637 List<SubscriptionInfo> subInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in updateSubscriptionInfoByIccId()
641 SubscriptionInfo temp = subInfos.get(i); in updateSubscriptionInfoByIccId()
723 List<SubscriptionInfo> existingSubscriptions = SubscriptionController.getInstance() in updateEmbeddedSubscriptions()
764 SubscriptionInfo info = existingSubscriptions.get(i); in updateEmbeddedSubscriptions()
783 private static int findSubscriptionInfoForIccid(List<SubscriptionInfo> list, String iccid) { in findSubscriptionInfoForIccid()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java44 public class SubscriptionInfo implements Parcelable { class
140 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
151 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
162 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
416 …public static final Parcelable.Creator<SubscriptionInfo> CREATOR = new Parcelable.Creator<Subscrip…
418 public SubscriptionInfo createFromParcel(Parcel source) {
436 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
442 public SubscriptionInfo[] newArray(int size) {
443 return new SubscriptionInfo[size];
DSubscriptionManager.java672 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo()
681 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo()
702 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex()
709 SubscriptionInfo result = null; in getActiveSubscriptionInfoForIccIndex()
735 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex()
742 SubscriptionInfo result = null; in getActiveSubscriptionInfoForSimSlotIndex()
762 public List<SubscriptionInfo> getAllSubscriptionInfoList() { in getAllSubscriptionInfoList()
765 List<SubscriptionInfo> result = null; in getAllSubscriptionInfoList()
809 public List<SubscriptionInfo> getActiveSubscriptionInfoList() { in getActiveSubscriptionInfoList()
810 List<SubscriptionInfo> result = null; in getActiveSubscriptionInfoList()
[all …]
DSubscriptionInfo.aidl19 parcelable SubscriptionInfo;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java35 import android.telephony.SubscriptionInfo;
59 private static final SubscriptionInfo TEST_SUBSCRIPTION_INFO =
60 new SubscriptionInfo(TEST_SUBSCRIPTION_ID, null, 0, TEST_CARRIER_NAME, null, 0, 0,
107 .thenReturn(Arrays.asList(new SubscriptionInfo[] {TEST_SUBSCRIPTION_INFO})); in setUp()
194 SubscriptionInfo updatedSubscriptionInfo = new SubscriptionInfo(TEST_SUBSCRIPTION_ID, in receivedCarrierConfigChangedIntent()
197 .thenReturn(Arrays.asList(new SubscriptionInfo[] {updatedSubscriptionInfo})); in receivedCarrierConfigChangedIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java27 import android.telephony.SubscriptionInfo;
111 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo()
115 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId()
119 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String cp){ in getActiveSubscriptionInfoForSimSlotIndex()
123 public List<SubscriptionInfo> getAllSubInfoList(String callingPackage) { in getAllSubInfoList()
127 public List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage) { in getActiveSubscriptionInfoList()
/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()
DSubscriptionInfoUpdaterTest.java46 import android.telephony.SubscriptionInfo;
82 private SubscriptionInfo mSubInfo;
452 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listSuccess()
454 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
458 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listSuccess()
503 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_listFailure()
505 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
509 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_listFailure()
545 List<SubscriptionInfo> subInfoList = new ArrayList<>(); in testUpdateEmbeddedSubscriptions_emptyToEmpty()
547 subInfoList.add(new SubscriptionInfo( in testUpdateEmbeddedSubscriptions_emptyToEmpty()
DSubscriptionControllerTest.java30 import android.telephony.SubscriptionInfo;
53 @Mock private List<SubscriptionInfo> mSubList;
207 List<SubscriptionInfo> mSubList = mSubscriptionControllerUT in testInsertSim()
237 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
265 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetDisplayNameSrc()
314 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetMCCMNC()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java25 import android.telephony.SubscriptionInfo;
248 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testHasCorrectMobileControllers()
255 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
262 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
282 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testSetCurrentSubscriptions()
292 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testSetCurrentSubscriptions()
DNetworkControllerBaseTest.java44 import android.telephony.SubscriptionInfo;
178 List<SubscriptionInfo> subs = new ArrayList<SubscriptionInfo>(); in setSubscriptions()
180 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java38 import android.telephony.SubscriptionInfo;
124 private List<SubscriptionInfo> mCurrentSubscriptions = new ArrayList<>();
528 List<SubscriptionInfo> subscriptions = mSubscriptionManager.getActiveSubscriptionInfoList(); in doUpdateMobileControllers()
569 void setCurrentSubscriptions(List<SubscriptionInfo> subscriptions) { in setCurrentSubscriptions()
570 Collections.sort(subscriptions, new Comparator<SubscriptionInfo>() { in setCurrentSubscriptions()
572 public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) { in setCurrentSubscriptions()
639 boolean hasCorrectMobileControllers(List<SubscriptionInfo> allSubscriptions) { in hasCorrectMobileControllers()
643 for (SubscriptionInfo info : allSubscriptions) { in hasCorrectMobileControllers()
877 List<SubscriptionInfo> subs = new ArrayList<>(); in dispatchDemoCommand()
905 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;
56 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/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java19 import android.telephony.SubscriptionInfo;
83 .append(SubscriptionInfo.givePrintableIccid(iccid)); in toString()
DIccCardStatus.java19 import android.telephony.SubscriptionInfo;
151 sb.append(",iccid=").append(SubscriptionInfo.givePrintableIccid(iccid)); in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java33 import android.telephony.SubscriptionInfo;
177 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in updateNetworkConfig()
183 for (SubscriptionInfo subInfo : subInfoList) { in updateNetworkConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java38 import android.telephony.SubscriptionInfo;
637 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in deleteSubscription()
720 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscription()
760 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscriptionPrivileged()
819 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in updateSubscriptionNickname()
996 private SubscriptionInfo getSubscriptionForSubscriptionId(int subscriptionId) { in getSubscriptionForSubscriptionId()
997 List<SubscriptionInfo> subs = mSubscriptionManager.getAvailableSubscriptionInfoList(); in getSubscriptionForSubscriptionId()
1000 SubscriptionInfo sub = subs.get(i); in getSubscriptionForSubscriptionId()
1076 List<SubscriptionInfo> subInfoList = mSubscriptionManager.getActiveSubscriptionInfoList(); in canManageActiveSubscription()
1082 SubscriptionInfo subInfo = subInfoList.get(subIndex); in canManageActiveSubscription()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java28 import android.telephony.SubscriptionInfo;
172 … public static String getFormattedPhoneNumber(Context context, SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber()
188 List<SubscriptionInfo> subscriptionInfo) { in getFormattedPhoneNumbers()
/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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java69 import android.telephony.SubscriptionInfo;
226 private List<SubscriptionInfo> mSubscriptionInfo;
398 List<SubscriptionInfo> sil = mSubscriptionManager.getActiveSubscriptionInfoList(); in handleSimSubscriptionInfoChanged()
400 for (SubscriptionInfo subInfo : sil) { in handleSimSubscriptionInfoChanged()
407 List<SubscriptionInfo> subscriptionInfos = getSubscriptionInfo(true /* forceReload */); in handleSimSubscriptionInfoChanged()
412 ArrayList<SubscriptionInfo> changedSubscriptions = new ArrayList<>(); in handleSimSubscriptionInfoChanged()
414 SubscriptionInfo info = subscriptionInfos.get(i); in handleSimSubscriptionInfoChanged()
447 public List<SubscriptionInfo> getSubscriptionInfo(boolean forceReload) { in getSubscriptionInfo()
448 List<SubscriptionInfo> sil = mSubscriptionInfo; in getSubscriptionInfo()
454 mSubscriptionInfo = new ArrayList<SubscriptionInfo>(); in getSubscriptionInfo()
[all …]
DKeyguardEsimArea.java33 import android.telephony.SubscriptionInfo;
105 SubscriptionInfo sub = SubscriptionManager.from(context).getActiveSubscriptionInfo(subId); in isEsimLocked()

123