Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java131 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
134 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
142 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
147 this.mIccId = iccId; in SubscriptionInfo()
394 String iccId = source.readString();
409 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
447 public static String givePrintableIccid(String iccId) { in givePrintableIccid() argument
449 if (iccId != null) { in givePrintableIccid()
450 if (iccId.length() > 9 && !Build.IS_DEBUGGABLE) { in givePrintableIccid()
451 iccIdToPrint = iccId.substring(0, 9) + Rlog.pii(false, iccId.substring(9)); in givePrintableIccid()
[all …]
DSubscriptionManager.java556 public SubscriptionInfo getActiveSubscriptionInfoForIccIndex(String iccId) { in getActiveSubscriptionInfoForIccIndex() argument
557 if (VDBG) logd("[getActiveSubscriptionInfoForIccIndex]+ iccId=" + iccId); in getActiveSubscriptionInfoForIccIndex()
558 if (iccId == null) { in getActiveSubscriptionInfoForIccIndex()
568 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName()); in getActiveSubscriptionInfoForIccIndex()
838 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument
839 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord()
840 if (iccId == null) { in addSubscriptionInfoRecord()
851 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
117 int addSubInfoRecord(String iccId, int slotIndex); in addSubInfoRecord() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java292 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local
328 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
341 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName, in getSubInfoRecord()
473 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage) { in getActiveSubscriptionInfoForIccId() argument
475 iccId == null) { in getActiveSubscriptionInfoForIccId()
486 if (iccId.equals(si.getIccId())) { in getActiveSubscriptionInfoForIccId()
488 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId + " subInfo=" + si); in getActiveSubscriptionInfoForIccId()
494 logd("[getActiveSubInfoUsingIccId]+ iccId=" + iccId in getActiveSubscriptionInfoForIccId()
891 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument
892 if (DBG) logdl("[addSubInfoRecord]+ iccId:" + SubscriptionInfo.givePrintableIccid(iccId) + in addSubInfoRecord()
[all …]
DSubscriptionInfoUpdater.java374 String iccId = mIccId[slotId]; in handleSimLocked() local
375 if (iccId == null) { in handleSimLocked()
381 logd("NOT Querying IccId its already set sIccid[" + slotId + "]=" + iccId); in handleSimLocked()
800 private boolean isNewSim(String iccId, String[] oldIccId) { in isNewSim() argument
803 if(iccId.equals(oldIccId[i])) { in isNewSim()
DPhone.java3125 String iccId = getIccSerialNumber(); in setRoamingOverride() local
3126 if (TextUtils.isEmpty(iccId)) { in setRoamingOverride()
3130 setRoamingOverrideHelper(gsmRoamingList, GSM_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3131 setRoamingOverrideHelper(gsmNonRoamingList, GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3132 setRoamingOverrideHelper(cdmaRoamingList, CDMA_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3133 setRoamingOverrideHelper(cdmaNonRoamingList, CDMA_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3143 private void setRoamingOverrideHelper(List<String> list, String prefix, String iccId) { in setRoamingOverrideHelper() argument
3146 String key = prefix + iccId; in setRoamingOverrideHelper()
3219 String iccId = getIccSerialNumber(); in getRoamingOverrideHelper() local
3220 if (TextUtils.isEmpty(iccId) || TextUtils.isEmpty(key)) { in getRoamingOverrideHelper()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java725 String iccId = getIccId(); in setOperatorBrandOverride() local
726 if (TextUtils.isEmpty(iccId)) { in setOperatorBrandOverride()
732 String key = OPERATOR_BRAND_OVERRIDE_PREFIX + iccId; in setOperatorBrandOverride()
742 String iccId = getIccId(); in getOperatorBrandOverride() local
743 if (TextUtils.isEmpty(iccId)) { in getOperatorBrandOverride()
747 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