/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 140 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument 143 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo() 151 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument 155 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo() 162 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument 167 this.mIccId = iccId; in SubscriptionInfo() 420 String iccId = source.readString(); 436 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, 475 public static String givePrintableIccid(String iccId) { in givePrintableIccid() argument 477 if (iccId != null) { in givePrintableIccid() [all …]
|
D | SubscriptionManager.java | 702 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex() argument 703 if (VDBG) logd("[getActiveSubscriptionInfoForIccIndex]+ iccId=" + iccId); in getActiveSubscriptionInfoForIccIndex() 704 if (iccId == null) { in getActiveSubscriptionInfoForIccIndex() 714 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex() 1005 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument 1006 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord() 1007 if (iccId == null) { in addSubscriptionInfoRecord() 1018 iSub.addSubInfoRecord(iccId, slotIndex); in addSubscriptionInfoRecord()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 51 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId() argument 116 int addSubInfoRecord(String iccId, int slotIndex); in addSubInfoRecord() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 274 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local 312 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord() 327 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord() 460 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument 463 final SubscriptionInfo si = getActiveSubscriptionInfoForIccIdInternal(iccId); in getActiveSubscriptionInfoForIccId() 479 private SubscriptionInfo getActiveSubscriptionInfoForIccIdInternal(String iccId) { in getActiveSubscriptionInfoForIccIdInternal() argument 480 if (iccId == null) { in getActiveSubscriptionInfoForIccIdInternal() 490 if (iccId.equals(si.getIccId())) { in getActiveSubscriptionInfoForIccIdInternal() 492 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId + " subInfo=" + si); in getActiveSubscriptionInfoForIccIdInternal() 498 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId in getActiveSubscriptionInfoForIccIdInternal() [all …]
|
D | SubscriptionInfoUpdater.java | 304 String iccId = mIccId[slotId]; in handleSimLocked() local 305 if (iccId == null) { in handleSimLocked() 322 logd("NOT Querying IccId its already set sIccid[" + slotId + "]=" + iccId); in handleSimLocked() 792 private boolean isNewSim(String iccId, String decIccId, String[] oldIccId) { in isNewSim() argument 795 if(iccId.equals(oldIccId[i])) { in isNewSim()
|
D | Phone.java | 3171 String iccId = getIccSerialNumber(); in setRoamingOverride() local 3172 if (TextUtils.isEmpty(iccId)) { in setRoamingOverride() 3176 setRoamingOverrideHelper(gsmRoamingList, GSM_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride() 3177 setRoamingOverrideHelper(gsmNonRoamingList, GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride() 3178 setRoamingOverrideHelper(cdmaRoamingList, CDMA_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride() 3179 setRoamingOverrideHelper(cdmaNonRoamingList, CDMA_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride() 3189 private void setRoamingOverrideHelper(List<String> list, String prefix, String iccId) { in setRoamingOverrideHelper() argument 3192 String key = prefix + iccId; in setRoamingOverrideHelper() 3279 String iccId = getIccSerialNumber(); in getRoamingOverrideHelper() local 3280 if (TextUtils.isEmpty(iccId) || TextUtils.isEmpty(key)) { in getRoamingOverrideHelper() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 611 public static String getDecimalSubstring(String iccId) { in getDecimalSubstring() argument 613 for (position = 0; position < iccId.length(); position ++) { in getDecimalSubstring() 614 if (!Character.isDigit(iccId.charAt(position))) break; in getDecimalSubstring() 616 return iccId.substring( 0, position ); in getDecimalSubstring()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCard.java | 1241 private static String stripTrailingFs(byte[] iccId) { in stripTrailingFs() argument 1242 return IccUtils.stripTrailingFs(IccUtils.bchToString(iccId, 0, iccId.length)); in stripTrailingFs() 1246 private static String padTrailingFs(String iccId) { in padTrailingFs() argument 1247 if (!TextUtils.isEmpty(iccId) && iccId.length() < ICCID_LENGTH) { in padTrailingFs() 1248 iccId += new String(new char[20 - iccId.length()]).replace('\0', 'F'); in padTrailingFs() 1250 return iccId; in padTrailingFs()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 115 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument 143 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSetting.java | 498 private static boolean iccidMatches(String mvnoData, String iccId) { in iccidMatches() argument 501 if (iccId.startsWith(mvnoIccid)) { in iccidMatches() 552 String iccId = r.getIccId(); in mvnoMatches() local 553 if ((iccId != null) && iccidMatches(mvnoMatchData, iccId)) { in mvnoMatches()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 1494 String iccId = getIccId(); in setOperatorBrandOverride() local 1495 if (TextUtils.isEmpty(iccId)) { in setOperatorBrandOverride() 1501 String key = OPERATOR_BRAND_OVERRIDE_PREFIX + iccId; in setOperatorBrandOverride() 1515 String iccId = getIccId(); in getOperatorBrandOverride() local 1516 if (TextUtils.isEmpty(iccId)) { in getOperatorBrandOverride() 1520 return sp.getString(OPERATOR_BRAND_OVERRIDE_PREFIX + iccId, null); in getOperatorBrandOverride()
|