Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/ims/internal/uce/uceservice/
DUceServiceBase.java62 String iccId) { in createOptionsServiceForSubscription() argument
64 iccId); in createOptionsServiceForSubscription()
83 String iccId) { in createPresenceServiceForSubscription() argument
85 iccId); in createPresenceServiceForSubscription()
104 public IPresenceService getPresenceServiceForSubscription(String iccId) { in getPresenceServiceForSubscription() argument
105 return onGetPresenceService(iccId); in getPresenceServiceForSubscription()
114 public IOptionsService getOptionsServiceForSubscription(String iccId) { in getOptionsServiceForSubscription() argument
115 return onGetOptionsService(iccId); in getOptionsServiceForSubscription()
151 String iccId) { in onCreateOptionsService() argument
169 String iccId) { in onCreatePresService() argument
[all …]
DIUceService.aidl96 in String iccId); in createOptionsServiceForSubscription() argument
141 in String iccId); in createPresenceServiceForSubscription() argument
186 IPresenceService getPresenceServiceForSubscription(in String iccId); in getPresenceServiceForSubscription() argument
209 IOptionsService getOptionsServiceForSubscription(in String iccId); in getOptionsServiceForSubscription() argument
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java222 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
226 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
236 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
241 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
250 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
259 this.mIccId = iccId; in SubscriptionInfo()
685 String iccId = source.readString();
714 SubscriptionInfo info = new SubscriptionInfo(id, iccId, simSlotIndex, displayName,
769 public static String givePrintableIccid(String iccId) { in givePrintableIccid() argument
771 if (iccId != null) { in givePrintableIccid()
[all …]
DUiccCardInfo.java76 public UiccCardInfo(boolean isEuicc, int cardId, String eid, String iccId, int slotIndex, in UiccCardInfo() argument
81 this.mIccId = iccId; in UiccCardInfo()
DSubscriptionManager.java1204 public SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String iccId) { in getActiveSubscriptionInfoForIcc() argument
1205 if (VDBG) logd("[getActiveSubscriptionInfoForIccIndex]+ iccId=" + iccId); in getActiveSubscriptionInfoForIcc()
1206 if (iccId == null) { in getActiveSubscriptionInfoForIcc()
1216 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName(), in getActiveSubscriptionInfoForIcc()
1590 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument
1591 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord()
1592 if (iccId == null) { in addSubscriptionInfoRecord()
1599 addSubscriptionInfoRecord(iccId, null, slotIndex, SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubscriptionInfoRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java42 private static boolean iccidMatches(String mvnoData, String iccId) { in iccidMatches() argument
45 if (iccId.startsWith(mvnoIccid)) { in iccidMatches()
103 String iccId = r.getIccId(); in mvnoMatches() local
104 if ((iccId != null) && iccidMatches(mvnoMatchData, iccId)) { in mvnoMatches()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionInfoUpdater.java96 String iccId = uiccSlot.getIccId(); in handleSimReady() local
97 if (IccUtils.stripTrailingFs(iccId) == null) { in handleSimReady()
101 sIccId[phoneId] = IccUtils.stripTrailingFs(iccId); in handleSimReady()
DVendorSubscriptionController.java126 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument
128 return addSubInfo(iccId, null, slotIndex, SubscriptionManager.SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubInfoRecord()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl57 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId() argument
129 int addSubInfoRecord(String iccId, int slotIndex); in addSubInfoRecord() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDcTracker.java71 String iccId = mPhone.getIccSerialNumber(); in allowInitialAttachForOperator() local
72 if (iccId != null) { in allowInitialAttachForOperator()
75 if (iccId.contains(itr.next())) { in allowInitialAttachForOperator()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java218 public void updateInternalIccStateForInactiveSlot(int prevActivePhoneId, String iccId) { in updateInternalIccStateForInactiveSlot() argument
220 0, iccId)); in updateInternalIccStateForInactiveSlot()
637 private void handleInactiveSlotIccStateChange(int phoneId, String iccId) { in handleInactiveSlotIccStateChange() argument
646 if (!TextUtils.isEmpty(iccId)) { in handleInactiveSlotIccStateChange()
648 String strippedIccId = IccUtils.stripTrailingFs(iccId); in handleInactiveSlotIccStateChange()
681 String iccId = sInactiveIccIds[phoneId] != null in cleanSubscriptionInPhone() local
686 SubscriptionManager.ICC_ID + "=\'" + iccId + "\'", null); in cleanSubscriptionInPhone()
1157 private boolean isNewSim(String iccId, String decIccId, String[] oldIccId) { in isNewSim() argument
1160 if(iccId.equals(oldIccId[i])) { in isNewSim()
DSubscriptionController.java344 String iccId = cursor.getString(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local
408 String iccIdToPrint = SubscriptionInfo.givePrintableIccid(iccId); in getSubInfoRecord()
429 SubscriptionInfo info = new SubscriptionInfo(id, iccId, simSlotIndex, displayName, in getSubInfoRecord()
448 public SubscriptionInfo getSubInfoForIccId(String iccId) { in getSubInfoForIccId() argument
450 SubscriptionManager.ICC_ID + "=\'" + iccId + "\'", null); in getSubInfoForIccId()
608 public SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId() argument
611 return getActiveSubscriptionInfoForIccIdInternal(iccId); in getActiveSubscriptionInfoForIccId()
618 private SubscriptionInfo getActiveSubscriptionInfoForIccIdInternal(String iccId) { in getActiveSubscriptionInfoForIccIdInternal() argument
619 if (iccId == null) { in getActiveSubscriptionInfoForIccIdInternal()
629 if (iccId.equals(si.getIccId())) { in getActiveSubscriptionInfoForIccIdInternal()
[all …]
DPhone.java3769 String iccId = getIccSerialNumber(); in setRoamingOverride() local
3770 if (TextUtils.isEmpty(iccId)) { in setRoamingOverride()
3774 setRoamingOverrideHelper(gsmRoamingList, GSM_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3775 setRoamingOverrideHelper(gsmNonRoamingList, GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3776 setRoamingOverrideHelper(cdmaRoamingList, CDMA_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3777 setRoamingOverrideHelper(cdmaNonRoamingList, CDMA_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
3787 private void setRoamingOverrideHelper(List<String> list, String prefix, String iccId) { in setRoamingOverrideHelper() argument
3790 String key = prefix + iccId; in setRoamingOverrideHelper()
3918 String iccId = getIccSerialNumber(); in getRoamingOverrideHelper() local
3919 if (TextUtils.isEmpty(iccId) || TextUtils.isEmpty(key)) { in getRoamingOverrideHelper()
[all …]
DGsmCdmaPhone.java4422 String iccId = slot.getIccId(); in reapplyUiccAppsEnablementIfNeeded() local
4423 if (iccId == null) return; in reapplyUiccAppsEnablementIfNeeded()
4426 IccUtils.stripTrailingFs(iccId)); in reapplyUiccAppsEnablementIfNeeded()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java656 public static String getDecimalSubstring(String iccId) { in getDecimalSubstring() argument
658 for (position = 0; position < iccId.length(); position ++) { in getDecimalSubstring()
659 if (!Character.isDigit(iccId.charAt(position))) break; in getDecimalSubstring()
661 return iccId.substring( 0, position ); in getDecimalSubstring()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java1422 private static String stripTrailingFs(byte[] iccId) { in stripTrailingFs() argument
1423 return IccUtils.stripTrailingFs(IccUtils.bchToString(iccId, 0, iccId.length)); in stripTrailingFs()
1427 private static String padTrailingFs(String iccId) { in padTrailingFs() argument
1428 if (!TextUtils.isEmpty(iccId) && iccId.length() < ICCID_LENGTH) { in padTrailingFs()
1429 iccId += new String(new char[20 - iccId.length()]).replace('\0', 'F'); in padTrailingFs()
1431 return iccId; in padTrailingFs()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java1703 String iccId = getIccId(); in setOperatorBrandOverride() local
1704 if (TextUtils.isEmpty(iccId)) { in setOperatorBrandOverride()
1707 if (!checkSubIdAndIccIdMatch(iccId)) { in setOperatorBrandOverride()
1714 String key = OPERATOR_BRAND_OVERRIDE_PREFIX + iccId; in setOperatorBrandOverride()
1728 String iccId = getIccId(); in getOperatorBrandOverride() local
1729 if (TextUtils.isEmpty(iccId)) { in getOperatorBrandOverride()
1733 return sp.getString(OPERATOR_BRAND_OVERRIDE_PREFIX + iccId, null); in getOperatorBrandOverride()
DUiccController.java647 Context context, int prevActivePhoneId, String iccId) { in updateInternalIccStateForInactiveSlot() argument
658 subInfoUpdator.updateInternalIccStateForInactiveSlot(prevActivePhoneId, iccId); in updateInternalIccStateForInactiveSlot()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1261 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementNotNeeded() local
1262 doReturn(iccId).when(mUiccSlot).getIccId(); in testReapplyUiccApplicationEnablementNotNeeded()
1265 verify(mSubscriptionController).getSubInfoForIccId(iccId); in testReapplyUiccApplicationEnablementNotNeeded()
1276 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementSuccess() local
1277 doReturn(iccId).when(mUiccSlot).getIccId(); in testReapplyUiccApplicationEnablementSuccess()
1314 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementRetry() local
1315 doReturn(iccId).when(mUiccSlot).getIccId(); in testReapplyUiccApplicationEnablementRetry()
DSubscriptionInfoUpdaterTest.java278 String iccId = "123456"; in testSimNotReadyDisabledUiccApps() local
281 doReturn(iccId).when(mUiccSlot).getIccId(); in testSimNotReadyDisabledUiccApps()
282 doReturn(mSubInfo).when(mSubscriptionController).getSubInfoForIccId(iccId); in testSimNotReadyDisabledUiccApps()
307 eq(SubscriptionManager.ICC_ID + "=\'" + iccId + "\'"), eq(null)); in testSimNotReadyDisabledUiccApps()
DSubscriptionControllerTest.java1160 String iccId = "123F"; in testSetSubscriptionEnabled_disableActivePsim_cardIdWithTrailingF() local
1161 mSubscriptionControllerUT.addSubInfoRecord(iccId, 0); in testSetSubscriptionEnabled_disableActivePsim_cardIdWithTrailingF()
1163 UiccSlotInfo slot = getFakeUiccSlotInfo(true, 0, iccId + "FF"); in testSetSubscriptionEnabled_disableActivePsim_cardIdWithTrailingF()