/frameworks/base/core/java/android/nfc/cardemulation/ |
D | ApduServiceInfo.java | 264 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local 266 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo() 267 currentGroup.aids.add(aid); in ApduServiceInfo() 269 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo() 276 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local 279 aid = aid.concat("*"); in ApduServiceInfo() 280 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo() 281 currentGroup.aids.add(aid); in ApduServiceInfo() 283 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo() 290 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local [all …]
|
D | AidGroup.java | 69 for (String aid : aids) { in AidGroup() 70 if (!CardEmulation.isValidAid(aid)) { in AidGroup() 71 throw new IllegalArgumentException("AID " + aid + " is not a valid AID."); in AidGroup() 80 for (String aid : aids) { in AidGroup() 81 this.aids.add(aid.toUpperCase()); in AidGroup() 113 for (String aid : aids) { in toString() 114 out.append(aid); in toString() 169 String aid = parser.getAttributeValue(null, "value"); in createFromXml() local 170 if (aid != null) { in createFromXml() 171 aids.add(aid.toUpperCase()); in createFromXml() [all …]
|
D | CardEmulation.java | 237 public boolean isDefaultServiceForAid(ComponentName service, String aid) { in isDefaultServiceForAid() argument 239 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid() 248 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid() 850 public static boolean isValidAid(String aid) { in isValidAid() argument 851 if (aid == null) in isValidAid() 855 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid() 856 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid() 861 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid() 862 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid() 867 if (!AID_PATTERN.matcher(aid).matches()) { in isValidAid() [all …]
|
/frameworks/base/core/java/android/se/omapi/ |
D | Session.java | 199 public @Nullable Channel openBasicChannel(@Nullable byte[] aid, @Nullable byte p2) in openBasicChannel() argument 207 ISecureElementChannel channel = mSession.openBasicChannel(aid, p2, in openBasicChannel() 249 public @Nullable Channel openBasicChannel(@Nullable byte[] aid) throws IOException { in openBasicChannel() argument 250 return openBasicChannel(aid, (byte) 0x00); in openBasicChannel() 305 public @Nullable Channel openLogicalChannel(@Nullable byte[] aid, @Nullable byte p2) in openLogicalChannel() argument 313 aid, in openLogicalChannel() 358 public @Nullable Channel openLogicalChannel(@Nullable byte[] aid) throws IOException { in openLogicalChannel() argument 359 return openLogicalChannel(aid, (byte) 0x00); in openLogicalChannel()
|
D | ISecureElementSession.aidl | 63 ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2, in openBasicChannel() argument 71 ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2, in openLogicalChannel() argument
|
D | ISecureElementService.aidl | 47 boolean[] isNFCEventAllowed(String reader, in byte[] aid, in isNFCEventAllowed() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 305 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM() 307 if (aid.equals(ARAM)) { in testAID_OnlyARAM() 365 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD() 367 if (aid.equals(ARAD)) { in testAID_OnlyARAD() 425 String aid = (String) invocation.getArguments()[0]; in testAID_BothARAMandARAD() 429 if (aid.equals(ARAD)) { in testAID_BothARAMandARAD() 486 String aid = (String) invocation.getArguments()[0]; in testAID_NeitherARAMorARAD() 489 if (aid.equals(ARAM)) { in testAID_NeitherARAMorARAD() 491 } else if (aid.equals(ARAD)) { in testAID_NeitherARAMorARAD() 532 String aid = (String) invocation.getArguments()[0]; in testAID_RetransmitLogicalChannel() [all …]
|
D | UiccCardTest.java | 46 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument 48 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccRefreshResponse.java | 38 public String aid; /* null terminated string, e.g., field in IccRefreshResponse 49 return "{" + refreshResult + ", " + aid +", " + efId + "}"; in toString()
|
D | IsimFileHandler.java | 29 public IsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in IsimFileHandler() argument 30 super(app, aid, ci); in IsimFileHandler()
|
D | CsimFileHandler.java | 29 public CsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in CsimFileHandler() argument 30 super(app, aid, ci); in CsimFileHandler()
|
D | SIMFileHandler.java | 32 public SIMFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in SIMFileHandler() argument 33 super(app, aid, ci); in SIMFileHandler()
|
D | RuimFileHandler.java | 33 public RuimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in RuimFileHandler() argument 34 super(app, aid, ci); in RuimFileHandler()
|
D | UsimFileHandler.java | 29 public UsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in UsimFileHandler() argument 30 super(app, aid, ci); in UsimFileHandler()
|
D | UiccCard.java | 249 public boolean resetAppWithAid(String aid, boolean reset) { in resetAppWithAid() argument 252 return mUiccProfile.resetAppWithAid(aid, reset); in resetAppWithAid()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 128 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 322 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument 547 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument 551 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument 555 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument 559 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument 572 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 127 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 323 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument 548 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument 552 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument 556 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument 560 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument 573 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | OpenLogicalChannelInvocation.java | 47 protected void sendRequestMessage(String aid, Message msg) { in sendRequestMessage() argument 48 mCi.iccOpenLogicalChannel(aid, 0, msg); in sendRequestMessage()
|
D | ApduSender.java | 78 public ApduSender(CommandsInterface ci, String aid, boolean supportExtendedApdu) { in ApduSender() argument 79 mAid = aid; in ApduSender()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 365 String aid = "2345"; in testSupplyIccPinForApp() local 366 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp() 367 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp() 376 String aid = "2345"; in testSupplyIccPukForApp() local 377 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp() 379 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp() 387 String aid = "2345"; in testSupplyIccPin2ForApp() local 388 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp() 390 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp() 400 String aid = "2345"; in testSupplyIccPuk2ForApp() local [all …]
|
D | SimulatedCommandsVerifier.java | 599 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() argument 609 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() argument 619 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp() argument 629 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) { in supplyIccPuk2ForApp() argument 702 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 915 String data, String pin2, String aid, Message response) { in iccIOForApp() argument 1226 public void requestIccSimAuthentication(int authContext, String data, String aid, in requestIccSimAuthentication() argument 1270 public void iccOpenLogicalChannel(String aid, int p2, Message response) { in iccOpenLogicalChannel() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 729 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp() argument 764 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp() argument 804 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp() argument 844 void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result); in supplyIccPuk2ForApp() argument 936 void getIMSIForApp(String aid, Message result); in getIMSIForApp() argument 1328 String data, String pin2, String aid, Message response); in iccIOForApp() argument 1903 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
|
D | RIL.java | 787 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() argument 795 + " aid = " + aid); in supplyIccPinForApp() 801 convertNullToEmptyString(aid)); in supplyIccPinForApp() 814 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() argument 822 + " aid = " + aid); in supplyIccPukForApp() 829 convertNullToEmptyString(aid)); in supplyIccPukForApp() 842 public void supplyIccPin2ForApp(String pin, String aid, Message result) { in supplyIccPin2ForApp() argument 850 + " aid = " + aid); in supplyIccPin2ForApp() 856 convertNullToEmptyString(aid)); in supplyIccPin2ForApp() 869 public void supplyIccPuk2ForApp(String puk, String newPin2, String aid, Message result) { in supplyIccPuk2ForApp() argument [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | INfcCardEmulation.aidl | 30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 169 public void supplyIccPinForApp(String pin, String aid, Message result) { 177 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { 185 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { 193 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) { 653 public void getIMSIForApp(String aid, Message result) { 658 String data, String pin2, String aid, Message response) {
|