Home
last modified time | relevance | path

Searched refs:iccId (Results 1 – 23 of 23) 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/
DUiccPortInfo.java89 public UiccPortInfo(String iccId, int portIndex, int logicalSlotIndex, boolean isActive) { in UiccPortInfo() argument
90 this.mIccId = iccId; in UiccPortInfo()
DSubscriptionInfo.java283 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
287 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
301 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
306 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
319 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
327 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
340 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
348 this(id, iccId, simSlotIndex, displayName, carrierName, displayNameSource, iconTint, number, in SubscriptionInfo()
362 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
371 this.mIccId = iccId; in SubscriptionInfo()
[all …]
DSubscriptionManager.java1867 public SubscriptionInfo getActiveSubscriptionInfoForIcc(@NonNull String iccId) { in getActiveSubscriptionInfoForIcc() argument
1868 if (VDBG) logd("[getActiveSubscriptionInfoForIccIndex]+ iccId=" + iccId); in getActiveSubscriptionInfoForIcc()
1869 if (iccId == null) { in getActiveSubscriptionInfoForIcc()
1879 result = iSub.getActiveSubscriptionInfoForIccId(iccId, mContext.getOpPackageName(), in getActiveSubscriptionInfoForIcc()
2294 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument
2295 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord()
2296 if (iccId == null) { in addSubscriptionInfoRecord()
2303 addSubscriptionInfoRecord(iccId, null, slotIndex, SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubscriptionInfoRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java841 String iccId = uiccSlot.getIccId(TelephonyManager.DEFAULT_PORT_INDEX); in getIccIdsOfInsertedPhysicalSims() local
842 if (!TextUtils.isEmpty(iccId)) { in getIccIdsOfInsertedPhysicalSims()
843 iccidList.add(IccUtils.stripTrailingFs(iccId)); in getIccIdsOfInsertedPhysicalSims()
1069 private int getPortIndex(@NonNull String iccId) { in getPortIndex() argument
1073 int portIndex = slot.getPortIndexFromIccId(iccId); in getPortIndex()
1092 private int insertSubscriptionInfo(@NonNull String iccId, int slotIndex, in insertSubscriptionInfo() argument
1098 .setIccId(iccId) in insertSubscriptionInfo()
1099 .setCardString(iccId) in insertSubscriptionInfo()
1110 + ", slotIndex=" + slotIndex + ", iccId=" + SubscriptionInfo.getPrintableId(iccId) in insertSubscriptionInfo()
1348 String iccId = (port == null) ? null : port.getIccId(); in areUiccAppsEnabledOnCard() local
[all …]
DSubscriptionDatabaseManager.java1066 public void setIccId(int subId, @NonNull String iccId) { in setIccId() argument
1067 Objects.requireNonNull(iccId); in setIccId()
1068 writeDatabaseAndCacheHelper(subId, SimInfo.COLUMN_ICC_ID, iccId, in setIccId()
2472 public SubscriptionInfoInternal getSubscriptionInfoInternalByIccId(@NonNull String iccId) { in getSubscriptionInfoInternalByIccId() argument
2476 .filter(subInfo -> subInfo.getIccId().equals(iccId)) in getSubscriptionInfoInternalByIccId()
DSubscriptionInfoInternal.java1979 public Builder setIccId(@NonNull String iccId) { in setIccId() argument
1980 Objects.requireNonNull(iccId); in setIccId()
1981 mIccId = iccId; in setIccId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java752 public void updateSimStateForInactivePort(int phoneId, String iccId) { in updateSimStateForInactivePort() argument
761 TextUtils.emptyIfNull(iccId)); in updateSimStateForInactivePort()
1202 String iccId = (port != null) ? port.getIccId() : null; in getAllUiccCardInfos() local
1203 cardId = convertToPublicCardId(iccId); in getAllUiccCardInfos()
1207 String iccId = slot.getIccId(TelephonyManager.DEFAULT_PORT_INDEX); in getAllUiccCardInfos() local
1209 if (!isEuicc && !TextUtils.isEmpty(iccId)) { in getAllUiccCardInfos()
1210 cardId = convertToPublicCardId(iccId); in getAllUiccCardInfos()
1217 String iccId = IccUtils.stripTrailingFs(slot.getIccId(portIdx)); in getAllUiccCardInfos() local
1218 portInfos.add(new UiccPortInfo(iccId, portIdx, in getAllUiccCardInfos()
1640 private static boolean iccidMatches(String mvnoData, String iccId) { in iccidMatches() argument
[all …]
DUiccCard.java144 protected void updateCardId(String iccId) { in updateCardId() argument
145 mCardId = iccId; in updateCardId()
DUiccProfile.java1733 String iccId = getIccId(); in setOperatorBrandOverride() local
1734 if (TextUtils.isEmpty(iccId)) { in setOperatorBrandOverride()
1756 info.getIccId()), IccUtils.stripTrailingFs(iccId)))) { in setOperatorBrandOverride()
1763 String key = OPERATOR_BRAND_OVERRIDE_PREFIX + iccId; in setOperatorBrandOverride()
1777 String iccId = getIccId(); in getOperatorBrandOverride() local
1778 if (TextUtils.isEmpty(iccId)) { in getOperatorBrandOverride()
1782 return sp.getString(OPERATOR_BRAND_OVERRIDE_PREFIX + iccId, null); in getOperatorBrandOverride()
DUiccSlot.java314 public int getPortIndexFromIccId(String iccId) { in getPortIndexFromIccId() argument
317 if (IccUtils.compareIgnoreTrailingFs(entry.getValue(), iccId)) { in getPortIndexFromIccId()
/frameworks/base/telephony/java/android/telephony/satellite/stub/
DSatelliteImplBase.java266 public void updateSatelliteSubscription(String iccId, IIntegerConsumer resultCallback)
269 iccId, resultCallback), "updateSatelliteSubscription");
794 public void updateSatelliteSubscription(String iccId, in updateSatelliteSubscription() argument
DISatellite.aidl511 void updateSatelliteSubscription(in String iccId, in IIntegerConsumer resultCallback); in updateSatelliteSubscription() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java89 protected void updateCardId(String iccId) { in updateCardId() argument
91 super.updateCardId(iccId); in updateCardId()
DEuiccPort.java1397 private static String stripTrailingFs(byte[] iccId) { in stripTrailingFs() argument
1398 return IccUtils.stripTrailingFs(IccUtils.bchToString(iccId, 0, iccId.length)); in stripTrailingFs()
1402 private static String padTrailingFs(String iccId) { in padTrailingFs() argument
1403 if (!TextUtils.isEmpty(iccId) && iccId.length() < ICCID_LENGTH) { in padTrailingFs()
1404 iccId += new String(new char[20 - iccId.length()]).replace('\0', 'F'); in padTrailingFs()
1406 return iccId; in padTrailingFs()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java699 public static String getDecimalSubstring(String iccId) { in getDecimalSubstring() argument
701 for (position = 0; position < iccId.length(); position ++) { in getDecimalSubstring()
702 if (!Character.isDigit(iccId.charAt(position))) break; in getDecimalSubstring()
704 return iccId.substring( 0, position ); in getDecimalSubstring()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl50 SubscriptionInfo getActiveSubscriptionInfoForIccId(String iccId, String callingPackage, in getActiveSubscriptionInfoForIccId() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java4145 String iccId = getIccSerialNumber(); in setRoamingOverride() local
4146 if (TextUtils.isEmpty(iccId)) { in setRoamingOverride()
4150 setRoamingOverrideHelper(gsmRoamingList, GSM_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
4151 setRoamingOverrideHelper(gsmNonRoamingList, GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
4152 setRoamingOverrideHelper(cdmaRoamingList, CDMA_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
4153 setRoamingOverrideHelper(cdmaNonRoamingList, CDMA_NON_ROAMING_LIST_OVERRIDE_PREFIX, iccId); in setRoamingOverride()
4163 private void setRoamingOverrideHelper(List<String> list, String prefix, String iccId) { in setRoamingOverrideHelper() argument
4166 String key = prefix + iccId; in setRoamingOverrideHelper()
4305 String iccId = getIccSerialNumber(); in getRoamingOverrideHelper() local
4306 if (TextUtils.isEmpty(iccId) || TextUtils.isEmpty(key)) { in getRoamingOverrideHelper()
[all …]
DGsmCdmaPhone.java5191 String iccId = slot.getIccId(slot.getPortIndexFromPhoneId(mPhoneId)); in reapplyUiccAppsEnablementIfNeeded() local
5192 if (iccId == null) { in reapplyUiccAppsEnablementIfNeeded()
5201 .filter(subInfo -> subInfo.getIccId().equals(IccUtils.stripTrailingFs(iccId))) in reapplyUiccAppsEnablementIfNeeded()
DRILUtils.java4372 simPortInfo.mIccId = slotStatus.portInfo[i].iccId; in convertHalSlotStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java417 String iccId = null; in getEnabledProfile() local
425 iccId = slot.getIccId(portIndex); in getEnabledProfile()
439 if (TextUtils.isEmpty(iccId)) { in getEnabledProfile()
483 port.getProfile(iccId, cardCb, mEuiccMainThreadHandler); in getEnabledProfile()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1326 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementNotNeeded() local
1327 doReturn(iccId).when(mUiccSlot).getIccId(anyInt()); in testReapplyUiccApplicationEnablementNotNeeded()
1342 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementSuccess() local
1343 doReturn(iccId).when(mUiccSlot).getIccId(anyInt()); in testReapplyUiccApplicationEnablementSuccess()
1395 String iccId = "Fake iccId"; in testReapplyUiccApplicationEnablementRetry() local
1396 doReturn(iccId).when(mUiccSlot).getIccId(anyInt()); in testReapplyUiccApplicationEnablementRetry()