/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 20 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()
|
D | ISubscriptionListener.aidl | 19 import android.telephony.SubscriptionInfo;
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 36 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];
|
D | SubscriptionManager.java | 497 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 …]
|
D | SubscriptionInfo.aidl | 19 parcelable SubscriptionInfo;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 35 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 …]
|
D | SubscriptionInfoUpdater.java | 41 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()
|
D | UiccSmsController.java | 32 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/ |
D | SubscriptionControllerMock.java | 27 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/ |
D | SubscriptionInfoTest.java | 25 import android.telephony.SubscriptionInfo; 28 private SubscriptionInfo mSubscriptionInfoUT; 37 mSubscriptionInfoUT = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "T-mobile", in setUp()
|
D | SubscriptionControllerTest.java | 38 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/ |
D | NetworkControllerSignalTest.java | 25 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()
|
D | NetworkControllerBaseTest.java | 28 import android.telephony.SubscriptionInfo; 167 List<SubscriptionInfo> subs = new ArrayList<SubscriptionInfo>(); in setSubscriptions() 169 SubscriptionInfo subscription = mock(SubscriptionInfo.class); in setSubscriptions()
|
D | CallbackHandlerTest.java | 20 import android.telephony.SubscriptionInfo; 151 List<SubscriptionInfo> subs = new ArrayList<>(); in testSignalCallback_setSubs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 36 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 …]
|
D | CallbackHandler.java | 21 import android.telephony.SubscriptionInfo; 69 signalCluster.setSubs((List<SubscriptionInfo>) msg.obj); in handleMessage() 142 public void setSubs(List<SubscriptionInfo> subs) { in setSubs()
|
D | NetworkController.java | 21 import android.telephony.SubscriptionInfo; 54 default void setSubs(List<SubscriptionInfo> subs) {} in setSubs()
|
D | EmergencyCryptkeeperText.java | 27 import android.telephony.SubscriptionInfo; 104 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getSubscriptionInfo(false); in update()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 26 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/ |
D | KeyguardUpdateMonitor.java | 61 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 …]
|
D | KeyguardSimPinView.java | 35 import android.telephony.SubscriptionInfo; 88 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in resetState()
|
D | KeyguardSimPukView.java | 29 import android.telephony.SubscriptionInfo; 129 SubscriptionInfo info = monitor.getSubscriptionInfoForSubId(mSubId); in reset()
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 34 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/ |
D | UserRestrictionsUtils.java | 35 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/ |
D | IccRecords.java | 26 import android.telephony.SubscriptionInfo; 136 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(mFullIccId); in toString() 769 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(mFullIccId); in dump()
|