/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 | 236 public boolean isDefaultServiceForAid(ComponentName service, String aid) { in isDefaultServiceForAid() argument 238 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid() 247 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid() 739 public static boolean isValidAid(String aid) { in isValidAid() argument 740 if (aid == null) in isValidAid() 744 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid() 745 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid() 750 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid() 751 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid() 756 if (!AID_PATTERN.matcher(aid).matches()) { in isValidAid() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 119 String aid = "B2C3D4"; in testSendEmptyCommands() local 120 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSendEmptyCommands() 132 verify(mMockCi).iccOpenLogicalChannel(eq(aid), anyInt(), any()); in testSendEmptyCommands() 138 String aid = "B2C3D4"; in testOpenChannelErrorStatus() local 139 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testOpenChannelErrorStatus() 151 verify(mMockCi).iccOpenLogicalChannel(eq(aid), anyInt(), any()); in testOpenChannelErrorStatus() 156 String aid = "B2C3D4"; in testSend() local 157 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSend() 174 String aid = "B2C3D4"; in testSendMultiApdus() local 175 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSendMultiApdus() [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/src/java/com/android/internal/telephony/uicc/ |
D | IccRefreshResponse.java | 38 public String aid; /* null terminated string, e.g., field in IccRefreshResponse 45 return "{" + refreshResult + ", " + aid +", " + efId + "}"; in toString()
|
D | IsimFileHandler.java | 30 public IsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in IsimFileHandler() argument 31 super(app, aid, ci); in IsimFileHandler()
|
D | CsimFileHandler.java | 30 public CsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in CsimFileHandler() argument 31 super(app, aid, ci); in CsimFileHandler()
|
D | SIMFileHandler.java | 33 public SIMFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in SIMFileHandler() argument 34 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 | 31 public UsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in UsimFileHandler() argument 32 super(app, aid, ci); in UsimFileHandler()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 315 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM() 317 if (aid.equals(ARAM)) { in testAID_OnlyARAM() 377 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD() 379 if (aid.equals(ARAD)) { in testAID_OnlyARAD() 440 String aid = (String) invocation.getArguments()[0]; in testAID_BothARAMandARAD() 444 if (aid.equals(ARAD)) { in testAID_BothARAMandARAD() 504 String aid = (String) invocation.getArguments()[0]; in testAID_NeitherARAMorARAD() 507 if (aid.equals(ARAM)) { in testAID_NeitherARAMorARAD() 509 } else if (aid.equals(ARAD)) { in testAID_NeitherARAMorARAD() 552 String aid = (String) invocation.getArguments()[0]; in testAID_RetransmitLogicalChannel() [all …]
|
D | UiccCardTest.java | 100 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument 102 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
|
D | UiccControllerTest.java | 85 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument 87 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 120 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 312 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument 538 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument 542 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument 546 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument 550 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument 563 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 121 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 311 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument 537 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument 541 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument 545 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument 549 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument 562 …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 | 71 public ApduSender(CommandsInterface ci, String aid, boolean supportExtendedApdu) { in ApduSender() argument 72 mAid = aid; in ApduSender()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 356 String aid = "2345"; in testSupplyIccPinForApp() local 357 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp() 358 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp() 367 String aid = "2345"; in testSupplyIccPukForApp() local 368 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp() 370 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp() 378 String aid = "2345"; in testSupplyIccPin2ForApp() local 379 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp() 381 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp() 391 String aid = "2345"; in testSupplyIccPuk2ForApp() local [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommandsVerifier.java | 595 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() argument 605 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() argument 615 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp() argument 625 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) { in supplyIccPuk2ForApp() argument 692 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument 900 String data, String pin2, String aid, Message response) { in iccIOForApp() argument 1215 public void requestIccSimAuthentication(int authContext, String data, String aid, in requestIccSimAuthentication() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 691 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp() argument 726 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp() argument 766 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp() argument 806 void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result); in supplyIccPuk2ForApp() argument 896 void getIMSIForApp(String aid, Message result); in getIMSIForApp() argument 1252 String data, String pin2, String aid, Message response); in iccIOForApp() argument 1824 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
|
/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) {
|