Home
last modified time | relevance | path

Searched refs:iccId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java115 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
119 this.mIccId = iccId; in SubscriptionInfo()
291 String iccId = source.readString();
304 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
339 public static String givePrintableIccid(String iccId) { in givePrintableIccid() argument
341 if (iccId != null) { in givePrintableIccid()
342 if (iccId.length() > 9 && !Build.IS_DEBUGGABLE) { in givePrintableIccid()
343 iccIdToPrint = iccId.substring(0, 9) + Rlog.pii(false, iccId.substring(9)); in givePrintableIccid()
345 iccIdToPrint = iccId; in givePrintableIccid()
DSubscriptionManager.java527 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex() argument
528 if (VDBG) logd("[getActiveSubscriptionInfoForIccIndex]+ iccId=" + iccId); in getActiveSubscriptionInfoForIccIndex()
529 if (iccId == null) { in getActiveSubscriptionInfoForIccIndex()
539 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex()
703 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument
704 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord()
705 if (iccId == null) { in addSubscriptionInfoRecord()
716 iSub.addSubInfoRecord(iccId, slotIndex); in addSubscriptionInfoRecord()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl52 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage); in getActiveSubscriptionInfoForIccId() argument
102 int addSubInfoRecord(String iccId, int slotIndex); in addSubInfoRecord() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java268 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local
295 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
307 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord()
438 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument
440 iccId == null) { in getActiveSubscriptionInfoForIccId()
451 if (iccId.equals(si.getIccId())) { in getActiveSubscriptionInfoForIccId()
453 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId + " subInfo=" + si); in getActiveSubscriptionInfoForIccId()
459 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId in getActiveSubscriptionInfoForIccId()
674 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument
675 if (DBG) logdl("[addSubInfoRecord]+ iccId:" + SubscriptionInfo.givePrintableIccid(iccId) + in addSubInfoRecord()
[all …]
DSubscriptionInfoUpdater.java363 String iccId = mIccId[slotId]; in handleSimLocked() local
364 if (iccId == null) { in handleSimLocked()
370 logd("NOT Querying IccId its already set sIccid[" + slotId + "]=" + iccId); in handleSimLocked()
656 private boolean isNewSim(String iccId, String[] oldIccId) { in isNewSim() argument
659 if(iccId.equals(oldIccId[i])) { in isNewSim()
DPhone.java3053 String iccId = getIccSerialNumber(); in setRoamingOverride() local
3054 if (TextUtils.isEmpty(iccId)) { in setRoamingOverride()
3058 setRoamingOverrideHelper(gsmRoamingList, GSM_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3059 setRoamingOverrideHelper(gsmNonRoamingList, GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3060 setRoamingOverrideHelper(cdmaRoamingList, CDMA_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3061 setRoamingOverrideHelper(cdmaNonRoamingList, CDMA_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3071 private void setRoamingOverrideHelper(List<String> list, String prefix, String iccId) { in setRoamingOverrideHelper() argument
3074 String key = prefix + iccId; in setRoamingOverrideHelper()
3147 String iccId = getIccSerialNumber(); in getRoamingOverrideHelper() local
3148 if (TextUtils.isEmpty(iccId) || TextUtils.isEmpty(key)) { in getRoamingOverrideHelper()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java711 String iccId = getIccId(); in setOperatorBrandOverride() local
712 if (TextUtils.isEmpty(iccId)) { in setOperatorBrandOverride()
718 String key = OPERATOR_BRAND_OVERRIDE_PREFIX + iccId; in setOperatorBrandOverride()
728 String iccId = getIccId(); in getOperatorBrandOverride() local
729 if (TextUtils.isEmpty(iccId)) { in getOperatorBrandOverride()
733 return sp.getString(OPERATOR_BRAND_OVERRIDE_PREFIX + iccId, null); in getOperatorBrandOverride()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java116 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument
144 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument