Home
last modified time | relevance | path

Searched refs:iccid (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java36 public String iccid; field in IccSlotStatus
84 .append(SubscriptionInfo.givePrintableIccid(iccid)).append(",") in toString()
105 && (TextUtils.equals(iccid, that.iccid)) in equals()
DCarrierTestOverride.java140 String iccid = mCarrierTestParamMap.get(CARRIER_TEST_XML_ITEM_KEY_STRING_ICCID); in getFakeIccid() local
141 Rlog.d(LOG_TAG, "reading iccid from CarrierTestConfig file: " + iccid); in getFakeIccid()
142 return iccid; in getFakeIccid()
160 void override(String mccmnc, String imsi, String iccid, String gid1, String gid2, String pnn, in override() argument
165 mCarrierTestParamMap.put(CARRIER_TEST_XML_ITEM_KEY_STRING_ICCID, iccid); in override()
DIccCardStatus.java82 public String iccid; field in IccCardStatus
170 sb.append(",iccid=").append(SubscriptionInfo.givePrintableIccid(iccid)); in toString()
DUiccController.java724 String iccid = null; in getAllUiccCardInfos() local
731 iccid = card.getIccId(); in getAllUiccCardInfos()
737 cardId = convertToPublicCardId(iccid); in getAllUiccCardInfos()
740 iccid = slot.getIccId(); in getAllUiccCardInfos()
742 if (!isEuicc && !TextUtils.isEmpty(iccid)) { in getAllUiccCardInfos()
743 cardId = convertToPublicCardId(iccid); in getAllUiccCardInfos()
747 IccUtils.stripTrailingFs(iccid), slotIndex, isRemovable); in getAllUiccCardInfos()
DUiccSlot.java86 mIccId = ics.iccid; in update()
147 mIccId = iss.iccid; in update()
DUiccCard.java90 mIccid = ics.iccid; in update()
DIccRecords.java288 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
290 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
/frameworks/base/core/java/android/service/euicc/
DEuiccService.java486 public abstract @Result int onDeleteSubscription(int slotId, String iccid); in onDeleteSubscription() argument
502 public abstract @Result int onSwitchToSubscription(int slotId, @Nullable String iccid, in onSwitchToSubscription() argument
515 public abstract int onUpdateSubscriptionNickname(int slotId, String iccid, in onUpdateSubscriptionNickname() argument
701 public void deleteSubscription(int slotId, String iccid, in deleteSubscription() argument
706 int result = EuiccService.this.onDeleteSubscription(slotId, iccid); in deleteSubscription()
717 public void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
724 slotId, iccid, forceDeactivateSim); in switchToSubscription()
735 public void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
741 EuiccService.this.onUpdateSubscriptionNickname(slotId, iccid, nickname); in updateSubscriptionNickname()
DIEuiccService.aidl49 void deleteSubscription(int slotId, String iccid, in IDeleteSubscriptionCallback callback); in deleteSubscription() argument
50 void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
52 void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
DEuiccProfileInfo.java148 public EuiccProfileInfo(String iccid, @Nullable UiccAccessRule[] accessRules, in EuiccProfileInfo() argument
150 if (!TextUtils.isDigitsOnly(iccid)) { in EuiccProfileInfo()
151 throw new IllegalArgumentException("iccid contains invalid characters: " + iccid); in EuiccProfileInfo()
153 this.mIccid = iccid; in EuiccProfileInfo()
312 String iccid, in EuiccProfileInfo() argument
321 this.mIccid = iccid; in EuiccProfileInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java113 iss.iccid = "fake-iccid"; in testUpdateInactiveSlotStatus()
128 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateInactiveSlotStatus()
146 iss.iccid = "fake-iccid"; in testUpdateActiveSlotStatus()
155 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateActiveSlotStatus()
173 iss.iccid = "fake-iccid"; in testUpdateSlotStatusEuiccIsSupported()
189 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateSlotStatusEuiccIsSupported()
208 iss.iccid = "fake-iccid"; in testUpdateSlotStatusEuiccIsNotSupported()
224 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateSlotStatusEuiccIsNotSupported()
257 activeIss.iccid = "fake-iccid"; in testUpdateAbsentStateInactiveSlotStatus()
262 inactiveIss.iccid = "fake-iccid"; in testUpdateAbsentStateInactiveSlotStatus()
DUiccControllerTest.java237 ics.iccid = "123451234567890"; in testCardIdFromIccStatus()
329 ics.iccid = "123451234567890"; in testGetAllUiccCardInfos()
340 ics.iccid, // iccid in testGetAllUiccCardInfos()
366 ics.iccid = "123451234567890F"; in testIccidWithTrailingF()
377 IccUtils.stripTrailingFs(ics.iccid), //iccid without ending F in testIccidWithTrailingF()
400 ics.iccid = "123451234567890"; in testGetAllUiccCardInfosNullCard()
411 ics.iccid, // iccid in testGetAllUiccCardInfosNullCard()
433 ics.iccid = "123451234567890"; in testEidNotSupported()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccCardController.aidl46 oneway void getProfile(String callingPackage, String cardId, String iccid, in getProfile() argument
48 oneway void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile() argument
50 oneway void switchToProfile(String callingPackage, String cardId, String iccid, boolean refresh, in switchToProfile() argument
52 oneway void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname() argument
54 oneway void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile() argument
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java185 public void requestProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in requestProfile() argument
188 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile() local
210 public void disableProfile(String cardId, String iccid, boolean refresh, in disableProfile() argument
213 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile() local
236 public void switchToProfile(String cardId, String iccid, boolean refresh, in switchToProfile() argument
239 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile() local
261 public void setNickname(String cardId, String iccid, String nickname, in setNickname() argument
264 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname() local
285 public void deleteProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in deleteProfile() argument
288 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java724 void deleteSubscriptionPrivileged(int cardId, String iccid, in deleteSubscriptionPrivileged() argument
728 iccid, in deleteSubscriptionPrivileged()
779 final String iccid; in switchToSubscription() local
790 iccid = null; in switchToSubscription()
811 iccid = sub.getIccId(); in switchToSubscription()
829 switchToSubscriptionPrivileged(cardId, token, subscriptionId, iccid, forceDeactivateSim, in switchToSubscription()
839 String iccid = null; in switchToSubscriptionPrivileged() local
842 iccid = sub.getIccId(); in switchToSubscriptionPrivileged()
844 switchToSubscriptionPrivileged(cardId, callingToken, subscriptionId, iccid, in switchToSubscriptionPrivileged()
849 @Nullable String iccid, boolean forceDeactivateSim, final String callingPackage, in switchToSubscriptionPrivileged() argument
[all …]
DEuiccCardController.java267 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile() argument
311 card.getProfile(iccid, cardCb, mEuiccMainThreadHandler); in getProfile()
315 public void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile() argument
359 card.disableProfile(iccid, refresh, cardCb, mEuiccMainThreadHandler); in disableProfile()
363 public void switchToProfile(String callingPackage, String cardId, String iccid, boolean refresh, in switchToProfile() argument
411 card.switchToProfile(iccid, refresh, switchCb, mEuiccMainThreadHandler); in switchToProfile()
425 card.getProfile(iccid, profileCb, mEuiccMainThreadHandler); in switchToProfile()
429 public void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname() argument
473 card.setNickname(iccid, nickname, cardCb, mEuiccMainThreadHandler); in setNickname()
477 public void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile() argument
[all …]
DEuiccConnector.java465 public void deleteSubscription(int cardId, String iccid, DeleteCommandCallback callback) { in deleteSubscription() argument
467 request.mIccid = iccid; in deleteSubscription()
474 public void switchToSubscription(int cardId, @Nullable String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
477 request.mIccid = iccid; in switchToSubscription()
486 String iccid, String nickname, UpdateNicknameCommandCallback callback) { in updateSubscriptionNickname() argument
488 request.mIccid = iccid; in updateSubscriptionNickname()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java468 iccSlotStatus.iccid = slotStatus.iccid; in convertHalSlotStatus()
483 iccSlotStatus.iccid = slotStatus.base.iccid; in convertHalSlotStatus_1_2()
DCarrierResolver.java662 private boolean iccidPrefixMatch(String iccid, String prefix) { in iccidPrefixMatch() argument
663 if (iccid == null || prefix == null) { in iccidPrefixMatch()
666 return iccid.startsWith(prefix); in iccidPrefixMatch()
711 final String iccid = mPhone.getIccSerialNumber(); in getSubscriptionMatchingRule() local
733 + " iccid: " + Rlog.pii(LOG_TAG, iccid) in getSubscriptionMatchingRule()
740 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule()
DRadioResponse.java1594 iccCardStatus.iccid = cardStatus.iccid; in responseIccCardStatus_1_2()
1611 iccCardStatus.iccid = cardStatus.base.iccid; in responseIccCardStatus_1_4()
DSubscriptionInfoUpdater.java1002 private static int findSubscriptionInfoForIccid(List<SubscriptionInfo> list, String iccid) { in findSubscriptionInfoForIccid() argument
1004 if (TextUtils.equals(iccid, list.get(i).getIccId())) { in findSubscriptionInfoForIccid()
DGsmCdmaPhone.java1714 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
1727 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1244 private void callDeleteSubscription(int subscriptionId, String iccid, final boolean complete, in callDeleteSubscription() argument
1259 }).when(mMockConnector).deleteSubscription(anyInt(), eq(iccid), any()); in callDeleteSubscription()
1263 private void callSwitchToSubscription(int subscriptionId, String iccid, final boolean complete, in callSwitchToSubscription() argument
1278 }).when(mMockConnector).switchToSubscription(anyInt(), eq(iccid), anyBoolean(), any()); in callSwitchToSubscription()
1282 private void callUpdateSubscriptionNickname(int subscriptionId, String iccid, String nickname, in callUpdateSubscriptionNickname() argument
1297 }).when(mMockConnector).updateSubscriptionNickname(anyInt(), eq(iccid), eq(nickname), in callUpdateSubscriptionNickname()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1701 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1632 // iccid prefix from the subscription that map to this carrier.
1633 // only log first 7 outof 20 bit of full iccid

12