Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/euicc/
DEuiccService.java337 public abstract int onDeleteSubscription(int slotId, String iccid); in onDeleteSubscription() argument
353 public abstract int onSwitchToSubscription(int slotId, @Nullable String iccid, in onSwitchToSubscription() argument
366 public abstract int onUpdateSubscriptionNickname(int slotId, String iccid, in onUpdateSubscriptionNickname() argument
541 public void deleteSubscription(int slotId, String iccid, in deleteSubscription() argument
546 int result = EuiccService.this.onDeleteSubscription(slotId, iccid); in deleteSubscription()
557 public void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
564 slotId, iccid, forceDeactivateSim); in switchToSubscription()
575 public void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
581 EuiccService.this.onUpdateSubscriptionNickname(slotId, iccid, nickname); in updateSubscriptionNickname()
DIEuiccService.aidl48 void deleteSubscription(int slotId, String iccid, in IDeleteSubscriptionCallback callback); in deleteSubscription() argument
49 void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
51 void updateSubscriptionNickname(int slotId, String iccid, String nickname, in updateSubscriptionNickname() argument
DEuiccProfileInfo.java146 public EuiccProfileInfo(String iccid, @Nullable UiccAccessRule[] accessRules, in EuiccProfileInfo() argument
148 if (!TextUtils.isDigitsOnly(iccid)) { in EuiccProfileInfo()
149 throw new IllegalArgumentException("iccid contains invalid characters: " + iccid); in EuiccProfileInfo()
151 this.mIccid = iccid; in EuiccProfileInfo()
310 String iccid, in EuiccProfileInfo() argument
319 this.mIccid = iccid; in EuiccProfileInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java36 public String iccid; field in IccSlotStatus
83 .append(SubscriptionInfo.givePrintableIccid(iccid)); in toString()
103 && (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.java69 public String iccid; field in IccCardStatus
151 sb.append(",iccid=").append(SubscriptionInfo.givePrintableIccid(iccid)); in toString()
DUiccSlot.java84 mIccId = ics.iccid; in update()
138 mIccId = iss.iccid; in update()
DUiccCard.java83 mIccid = ics.iccid; in update()
DIccRecords.java217 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
219 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java110 iss.iccid = "fake-iccid"; in testUpdateInactiveSlotStatus()
125 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateInactiveSlotStatus()
143 iss.iccid = "fake-iccid"; in testUpdateActiveSlotStatus()
152 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateActiveSlotStatus()
170 iss.iccid = "fake-iccid"; in testUpdateSlotStatusEuiccIsSupported()
186 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateSlotStatusEuiccIsSupported()
205 iss.iccid = "fake-iccid"; in testUpdateSlotStatusEuiccIsNotSupported()
221 assertEquals(iss.iccid, mUiccSlot.getIccId()); in testUpdateSlotStatusEuiccIsNotSupported()
/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.java182 public void requestProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in requestProfile() argument
185 getIEuiccCardController().getProfile(mContext.getOpPackageName(), cardId, iccid, in requestProfile() local
207 public void disableProfile(String cardId, String iccid, boolean refresh, in disableProfile() argument
210 getIEuiccCardController().disableProfile(mContext.getOpPackageName(), cardId, iccid, in disableProfile() local
233 public void switchToProfile(String cardId, String iccid, boolean refresh, in switchToProfile() argument
236 getIEuiccCardController().switchToProfile(mContext.getOpPackageName(), cardId, iccid, in switchToProfile() local
258 public void setNickname(String cardId, String iccid, String nickname, in setNickname() argument
261 getIEuiccCardController().setNickname(mContext.getOpPackageName(), cardId, iccid, in setNickname() local
282 public void deleteProfile(String cardId, String iccid, @CallbackExecutor Executor executor, in deleteProfile() argument
285 getIEuiccCardController().deleteProfile(mContext.getOpPackageName(), cardId, iccid, in deleteProfile() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java657 void deleteSubscriptionPrivileged(String iccid, final PendingIntent callbackIntent) { in deleteSubscriptionPrivileged() argument
659 iccid, in deleteSubscriptionPrivileged()
710 final String iccid; in switchToSubscription() local
718 iccid = null; in switchToSubscription()
732 iccid = sub.getIccId(); in switchToSubscription()
749 switchToSubscriptionPrivileged(token, subscriptionId, iccid, forceDeactivateSim, in switchToSubscription()
759 String iccid = null; in switchToSubscriptionPrivileged() local
762 iccid = sub.getIccId(); in switchToSubscriptionPrivileged()
764 switchToSubscriptionPrivileged(callingToken, subscriptionId, iccid, forceDeactivateSim, in switchToSubscriptionPrivileged()
769 @Nullable String iccid, boolean forceDeactivateSim, final String callingPackage, in switchToSubscriptionPrivileged() argument
[all …]
DEuiccCardController.java235 public void getProfile(String callingPackage, String cardId, String iccid, in getProfile() argument
270 card.getProfile(iccid, cardCb, mEuiccMainThreadHandler); in getProfile()
274 public void disableProfile(String callingPackage, String cardId, String iccid, boolean refresh, in disableProfile() argument
309 card.disableProfile(iccid, refresh, cardCb, mEuiccMainThreadHandler); in disableProfile()
313 public void switchToProfile(String callingPackage, String cardId, String iccid, boolean refresh, in switchToProfile() argument
352 card.switchToProfile(iccid, refresh, switchCb, mEuiccMainThreadHandler); in switchToProfile()
366 card.getProfile(iccid, profileCb, mEuiccMainThreadHandler); in switchToProfile()
370 public void setNickname(String callingPackage, String cardId, String iccid, String nickname, in setNickname() argument
405 card.setNickname(iccid, nickname, cardCb, mEuiccMainThreadHandler); in setNickname()
409 public void deleteProfile(String callingPackage, String cardId, String iccid, in deleteProfile() argument
[all …]
DEuiccConnector.java457 public void deleteSubscription(String iccid, DeleteCommandCallback callback) { in deleteSubscription() argument
459 request.mIccid = iccid; in deleteSubscription()
466 public void switchToSubscription(@Nullable String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
469 request.mIccid = iccid; in switchToSubscription()
478 String iccid, String nickname, UpdateNicknameCommandCallback callback) { in updateSubscriptionNickname() argument
480 request.mIccid = iccid; in updateSubscriptionNickname()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierIdentifier.java491 private boolean iccidPrefixMatch(String iccid, String prefix) { in iccidPrefixMatch() argument
492 if (iccid == null || prefix == null) { in iccidPrefixMatch()
495 return iccid.startsWith(prefix); in iccidPrefixMatch()
524 final String iccid = mPhone.getIccSerialNumber(); in matchCarrier() local
538 + " iccid: " + Rlog.pii(LOG_TAG, iccid) in matchCarrier()
545 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, in matchCarrier()
DRadioConfig.java328 iccSlotStatus.iccid = slotStatus.iccid; in convertHalSlotStatus()
DSubscriptionInfoUpdater.java783 private static int findSubscriptionInfoForIccid(List<SubscriptionInfo> list, String iccid) { in findSubscriptionInfoForIccid() argument
785 if (TextUtils.equals(iccid, list.get(i).getIccId())) { in findSubscriptionInfoForIccid()
DRadioResponse.java1436 iccCardStatus.iccid = cardStatus.iccid; in responseIccCardStatus_1_2()
DGsmCdmaPhone.java1561 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
1572 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
DPhone.java3653 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java246 public final void getProfile(String iccid, AsyncResultCallback<EuiccProfileInfo> callback, in getProfile() argument
253 Tags.TAG_ICCID, IccUtils.bcdToBytes(padTrailingFs(iccid))) in getProfile()
282 public void disableProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in disableProfile() argument
286 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in disableProfile()
302 + SubscriptionInfo.givePrintableIccid(iccid)); in disableProfile()
321 public void switchToProfile(String iccid, boolean refresh, AsyncResultCallback<Void> callback, in switchToProfile() argument
325 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in switchToProfile()
341 + SubscriptionInfo.givePrintableIccid(iccid)); in switchToProfile()
395 public void setNickname(String iccid, String nickname, AsyncResultCallback<Void> callback, in setNickname() argument
401 IccUtils.bcdToBytes(padTrailingFs(iccid))) in setNickname()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java990 private void callDeleteSubscription(int subscriptionId, String iccid, final boolean complete, in callDeleteSubscription() argument
1004 }).when(mMockConnector).deleteSubscription(eq(iccid), any()); in callDeleteSubscription()
1008 private void callSwitchToSubscription(int subscriptionId, String iccid, final boolean complete, in callSwitchToSubscription() argument
1022 }).when(mMockConnector).switchToSubscription(eq(iccid), anyBoolean(), any()); in callSwitchToSubscription()
1026 private void callUpdateSubscriptionNickname(int subscriptionId, String iccid, String nickname, in callUpdateSubscriptionNickname() argument
1040 }).when(mMockConnector).updateSubscriptionNickname(eq(iccid), eq(nickname), any()); in callUpdateSubscriptionNickname()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1516 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument