Home
last modified time | relevance | path

Searched refs:iccid (Results 1 – 25 of 29) 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.java841 String iccid = null; in getAllUiccCardInfos() local
848 iccid = card.getIccId(); in getAllUiccCardInfos()
854 cardId = convertToPublicCardId(iccid); in getAllUiccCardInfos()
857 iccid = slot.getIccId(); in getAllUiccCardInfos()
859 if (!isEuicc && !TextUtils.isEmpty(iccid)) { in getAllUiccCardInfos()
860 cardId = convertToPublicCardId(iccid); in getAllUiccCardInfos()
864 IccUtils.stripTrailingFs(iccid), slotIndex, isRemovable); in getAllUiccCardInfos()
DUiccSlot.java90 mIccId = ics.iccid; in update()
151 mIccId = iss.iccid; in update()
DUiccCard.java90 mIccid = ics.iccid; in update()
DIccRecords.java312 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
314 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
DUiccProfile.java1687 private boolean checkSubIdAndIccIdMatch(String iccid) { in checkSubIdAndIccIdMatch() argument
1688 if (TextUtils.isEmpty(iccid)) return false; in checkSubIdAndIccIdMatch()
1693 IccUtils.stripTrailingFs(iccid)); in checkSubIdAndIccIdMatch()
/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()
[all …]
DUiccControllerTest.java249 ics.iccid = "123451234567890"; in testCardIdFromIccStatus()
341 ics.iccid = "123451234567890"; in testGetAllUiccCardInfos()
352 ics.iccid, // iccid in testGetAllUiccCardInfos()
378 ics.iccid = "123451234567890F"; in testIccidWithTrailingF()
389 IccUtils.stripTrailingFs(ics.iccid), //iccid without ending F in testIccidWithTrailingF()
412 ics.iccid = "123451234567890"; in testGetAllUiccCardInfosNullCard()
423 ics.iccid, // iccid in testGetAllUiccCardInfosNullCard()
445 ics.iccid = "123451234567890"; in testEidNotSupported()
623 ics.iccid = "123451234567890"; in testEidFromPreviousApduSetsDefaultEuicc()
/frameworks/base/telephony/java/android/service/euicc/
DEuiccService.java567 public abstract @Result int onDeleteSubscription(int slotId, String iccid); in onDeleteSubscription() argument
583 public abstract @Result int onSwitchToSubscription(int slotId, @Nullable String iccid, in onSwitchToSubscription() argument
596 public abstract int onUpdateSubscriptionNickname(int slotId, String iccid, in onUpdateSubscriptionNickname() argument
810 public void deleteSubscription(int slotId, String iccid, in deleteSubscription() argument
815 int result = EuiccService.this.onDeleteSubscription(slotId, iccid); in deleteSubscription()
826 public void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
833 slotId, iccid, forceDeactivateSim); in switchToSubscription()
844 public void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
850 EuiccService.this.onUpdateSubscriptionNickname(slotId, iccid, nickname); in updateSubscriptionNickname()
DIEuiccService.aidl50 void deleteSubscription(int slotId, String iccid, in IDeleteSubscriptionCallback callback); in deleteSubscription() argument
51 void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
53 void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
DEuiccProfileInfo.java150 public EuiccProfileInfo(String iccid, @Nullable UiccAccessRule[] accessRules, in EuiccProfileInfo() argument
152 if (!TextUtils.isDigitsOnly(iccid)) { in EuiccProfileInfo()
153 throw new IllegalArgumentException("iccid contains invalid characters: " + iccid); in EuiccProfileInfo()
155 this.mIccid = iccid; in EuiccProfileInfo()
316 String iccid, in EuiccProfileInfo() argument
325 this.mIccid = iccid; in EuiccProfileInfo()
/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.java191 public void requestProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in requestProfile() argument
194 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile() local
221 public void disableProfile(String cardId, String iccid, boolean refresh, in disableProfile() argument
224 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile() local
252 public void switchToProfile(String cardId, String iccid, boolean refresh, in switchToProfile() argument
255 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile() local
282 public void setNickname(String cardId, String iccid, String nickname, in setNickname() argument
285 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname() local
311 public void deleteProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in deleteProfile() argument
314 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java915 void deleteSubscriptionPrivileged(int cardId, String iccid, in deleteSubscriptionPrivileged() argument
919 iccid, in deleteSubscriptionPrivileged()
968 final String iccid; in switchToSubscription() local
979 iccid = null; in switchToSubscription()
1000 iccid = sub.getIccId(); in switchToSubscription()
1018 switchToSubscriptionPrivileged(cardId, token, subscriptionId, iccid, forceDeactivateSim, in switchToSubscription()
1028 String iccid = null; in switchToSubscriptionPrivileged() local
1031 iccid = sub.getIccId(); in switchToSubscriptionPrivileged()
1033 switchToSubscriptionPrivileged(cardId, callingToken, subscriptionId, iccid, in switchToSubscriptionPrivileged()
1038 @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.java485 public void deleteSubscription(int cardId, String iccid, DeleteCommandCallback callback) { in deleteSubscription() argument
487 request.mIccid = iccid; in deleteSubscription()
494 public void switchToSubscription(int cardId, @Nullable String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
497 request.mIccid = iccid; in switchToSubscription()
506 String iccid, String nickname, UpdateNicknameCommandCallback callback) { in updateSubscriptionNickname() argument
508 request.mIccid = iccid; in updateSubscriptionNickname()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java275 public final void getProfile(String iccid, AsyncResultCallback<EuiccProfileInfo> callback, in getProfile() argument
282 Tags.TAG_ICCID, IccUtils.bcdToBytes(padTrailingFs(iccid))) in getProfile()
311 public void disableProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in disableProfile() argument
315 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in disableProfile()
331 + SubscriptionInfo.givePrintableIccid(iccid)); in disableProfile()
350 public void switchToProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in switchToProfile() argument
354 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in switchToProfile()
370 + SubscriptionInfo.givePrintableIccid(iccid)); in switchToProfile()
424 public void setNickname(String iccid, String nickname, AsyncResultCallback<Void> callback, in setNickname() argument
430 IccUtils.bcdToBytes(padTrailingFs(iccid))) in setNickname()
[all …]
/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.java663 private boolean iccidPrefixMatch(String iccid, String prefix) { in iccidPrefixMatch() argument
664 if (iccid == null || prefix == null) { in iccidPrefixMatch()
667 return iccid.startsWith(prefix); in iccidPrefixMatch()
712 final String iccid = mPhone.getIccSerialNumber(); in getSubscriptionMatchingRule() local
734 + " iccid: " + Rlog.pii(LOG_TAG, iccid) in getSubscriptionMatchingRule()
741 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule()
DRadioResponse.java1770 iccCardStatus.iccid = cardStatus.base.base.iccid; in convertHalCardStatus_1_5()
1820 iccCardStatus.iccid = cardStatus.iccid; in responseIccCardStatus_1_2()
1837 iccCardStatus.iccid = cardStatus.base.iccid; in responseIccCardStatus_1_4()
DSubscriptionInfoUpdater.java1148 private static int findSubscriptionInfoForIccid(List<SubscriptionInfo> list, String iccid) { in findSubscriptionInfoForIccid() argument
1150 if (TextUtils.equals(iccid, list.get(i).getIccId())) { in findSubscriptionInfoForIccid()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1346 private void callDeleteSubscription(int subscriptionId, String iccid, final boolean complete, in callDeleteSubscription() argument
1361 }).when(mMockConnector).deleteSubscription(anyInt(), eq(iccid), any()); in callDeleteSubscription()
1365 private void callSwitchToSubscription(int subscriptionId, String iccid, final boolean complete, in callSwitchToSubscription() argument
1380 }).when(mMockConnector).switchToSubscription(anyInt(), eq(iccid), anyBoolean(), any()); in callSwitchToSubscription()
1384 private void callUpdateSubscriptionNickname(int subscriptionId, String iccid, String nickname, in callUpdateSubscriptionNickname() argument
1399 }).when(mMockConnector).updateSubscriptionNickname(anyInt(), eq(iccid), eq(nickname), in callUpdateSubscriptionNickname()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1892 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument

12