Home
last modified time | relevance | path

Searched refs:SubscriptionInfo (Results 1 – 25 of 41) 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()
DISubscriptionListener.aidl19 import android.telephony.SubscriptionInfo;
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java36 public class SubscriptionInfo implements Parcelable { class
115 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() method in SubscriptionInfo
287 …public static final Parcelable.Creator<SubscriptionInfo> CREATOR = new Parcelable.Creator<Subscrip…
289 public SubscriptionInfo createFromParcel(Parcel source) {
304 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
309 public SubscriptionInfo[] newArray(int size) {
310 return new SubscriptionInfo[size];
DSubscriptionManager.java497 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo()
506 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo()
527 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex()
534 SubscriptionInfo result = null; in getActiveSubscriptionInfoForIccIndex()
553 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex()
560 SubscriptionInfo result = null; in getActiveSubscriptionInfoForSimSlotIndex()
580 public List<SubscriptionInfo> getAllSubscriptionInfoList() { in getAllSubscriptionInfoList()
583 List<SubscriptionInfo> result = null; in getAllSubscriptionInfoList()
595 result = new ArrayList<SubscriptionInfo>(); in getAllSubscriptionInfoList()
620 public List<SubscriptionInfo> getActiveSubscriptionInfoList() { in getActiveSubscriptionInfoList()
[all …]
DSubscriptionInfo.aidl19 parcelable SubscriptionInfo;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java35 import android.telephony.SubscriptionInfo;
265 private SubscriptionInfo getSubInfoRecord(Cursor cursor) { in getSubInfoRecord()
295 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
307 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord()
331 private List<SubscriptionInfo> getSubInfo(String selection, Object queryKey) { in getSubInfo()
337 ArrayList<SubscriptionInfo> subList = null; in getSubInfo()
343 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfo()
348 subList = new ArrayList<SubscriptionInfo>(); in getSubInfo()
371 List<SubscriptionInfo> availableSubInfos = getActiveSubscriptionInfoList(callingPackage); in getUnusedColor()
399 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo()
[all …]
DSubscriptionInfoUpdater.java41 import android.telephony.SubscriptionInfo;
246 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in setDisplayNameForNewSub()
425 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in handleSimLoaded()
551 List<SubscriptionInfo> oldSubInfo = in updateSubscriptionInfoByIccId()
630 List<SubscriptionInfo> subInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in updateSubscriptionInfoByIccId()
634 SubscriptionInfo temp = subInfos.get(i); in updateSubscriptionInfoByIccId()
DUiccSmsController.java32 import android.telephony.SubscriptionInfo;
270 List<SubscriptionInfo> subInfoList; in isSmsSimPickActivityNeeded()
282 final SubscriptionInfo sir = subInfoList.get(i); in isSmsSimPickActivityNeeded()
/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.java38 import android.telephony.SubscriptionInfo;
52 @Mock private List<SubscriptionInfo> mSubList;
198 List<SubscriptionInfo> mSubList = mSubscriptionControllerUT in testInsertSim()
228 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
278 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetMCCMNC()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java25 import android.telephony.SubscriptionInfo;
239 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testHasCorrectMobileControllers()
246 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
253 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testHasCorrectMobileControllers()
273 List<SubscriptionInfo> subscriptions = new ArrayList<>(); in testSetCurrentSubscriptions()
283 SubscriptionInfo mockSubInfo = Mockito.mock(SubscriptionInfo.class); in testSetCurrentSubscriptions()
DNetworkControllerBaseTest.java28 import android.telephony.SubscriptionInfo;
167 List<SubscriptionInfo> subs = new ArrayList<SubscriptionInfo>(); in setSubscriptions()
169 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions()
DCallbackHandlerTest.java20 import android.telephony.SubscriptionInfo;
151 List<SubscriptionInfo> subs = new ArrayList<>(); in testSignalCallback_setSubs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java36 import android.telephony.SubscriptionInfo;
124 private List<SubscriptionInfo> mCurrentSubscriptions = new ArrayList<>();
492 List<SubscriptionInfo> subscriptions = mSubscriptionManager.getActiveSubscriptionInfoList(); in doUpdateMobileControllers()
519 void setCurrentSubscriptions(List<SubscriptionInfo> subscriptions) { in setCurrentSubscriptions()
520 Collections.sort(subscriptions, new Comparator<SubscriptionInfo>() { in setCurrentSubscriptions()
522 public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) { in setCurrentSubscriptions()
589 boolean hasCorrectMobileControllers(List<SubscriptionInfo> allSubscriptions) { in hasCorrectMobileControllers()
593 for (SubscriptionInfo info : allSubscriptions) { in hasCorrectMobileControllers()
823 List<SubscriptionInfo> subs = new ArrayList<>(); in dispatchDemoCommand()
846 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/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java26 import android.telephony.SubscriptionInfo;
176 … public static String getFormattedPhoneNumber(Context context, SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber()
192 List<SubscriptionInfo> subscriptionInfo) { in getFormattedPhoneNumbers()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java61 import android.telephony.SubscriptionInfo;
194 private List<SubscriptionInfo> mSubscriptionInfo;
334 List<SubscriptionInfo> sil = mSubscriptionManager.getActiveSubscriptionInfoList(); in handleSimSubscriptionInfoChanged()
336 for (SubscriptionInfo subInfo : sil) { in handleSimSubscriptionInfoChanged()
343 List<SubscriptionInfo> subscriptionInfos = getSubscriptionInfo(true /* forceReload */); in handleSimSubscriptionInfoChanged()
348 ArrayList<SubscriptionInfo> changedSubscriptions = new ArrayList<>(); in handleSimSubscriptionInfoChanged()
350 SubscriptionInfo info = subscriptionInfos.get(i); in handleSimSubscriptionInfoChanged()
383 public List<SubscriptionInfo> getSubscriptionInfo(boolean forceReload) { in getSubscriptionInfo()
384 List<SubscriptionInfo> sil = mSubscriptionInfo; in getSubscriptionInfo()
390 mSubscriptionInfo = new ArrayList<SubscriptionInfo>(); in getSubscriptionInfo()
[all …]
DKeyguardSimPinView.java35 import android.telephony.SubscriptionInfo;
88 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in resetState()
DKeyguardSimPukView.java29 import android.telephony.SubscriptionInfo;
129 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in reset()
/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/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java35 import android.telephony.SubscriptionInfo;
445 final List<SubscriptionInfo> subscriptionInfoList = in applyUserRestriction()
448 for (SubscriptionInfo subInfo : subscriptionInfoList) { in applyUserRestriction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java26 import android.telephony.SubscriptionInfo;
136 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(mFullIccId); in toString()
769 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(mFullIccId); in dump()

12