Home
last modified time | relevance | path

Searched refs:aid (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java65 for (String aid : aids) { in AidGroup()
66 if (!CardEmulation.isValidAid(aid)) { in AidGroup()
67 throw new IllegalArgumentException("AID " + aid + " is not a valid AID."); in AidGroup()
76 for (String aid : aids) { in AidGroup()
77 this.aids.add(aid.toUpperCase()); in AidGroup()
106 for (String aid : aids) { in toString()
107 out.append(aid); in toString()
160 String aid = parser.getAttributeValue(null, "value"); in createFromXml() local
161 if (aid != null) { in createFromXml()
162 aids.add(aid.toUpperCase()); in createFromXml()
[all …]
DApduServiceInfo.java234 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
236 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo()
237 currentGroup.aids.add(aid); in ApduServiceInfo()
239 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo()
246 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
249 aid = aid.concat("*"); in ApduServiceInfo()
250 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo()
251 currentGroup.aids.add(aid); in ApduServiceInfo()
253 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo()
260 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
[all …]
DCardEmulation.java233 public boolean isDefaultServiceForAid(ComponentName service, String aid) { in isDefaultServiceForAid() argument
235 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid()
244 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid()
615 public static boolean isValidAid(String aid) { in isValidAid() argument
616 if (aid == null) in isValidAid()
620 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid()
621 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
626 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid()
627 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
632 if (!aid.matches("[0-9A-Fa-f]{10,32}\\*?\\#?")) { in isValidAid()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java106 String aid = "B2C3D4"; in testSendEmptyCommands() local
107 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSendEmptyCommands()
119 verify(mMockCi).iccOpenLogicalChannel(eq(aid), anyInt(), any()); in testSendEmptyCommands()
125 String aid = "B2C3D4"; in testOpenChannelErrorStatus() local
126 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testOpenChannelErrorStatus()
138 verify(mMockCi).iccOpenLogicalChannel(eq(aid), anyInt(), any()); in testOpenChannelErrorStatus()
143 String aid = "B2C3D4"; in testSend() local
144 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSend()
161 String aid = "B2C3D4"; in testSendMultiApdus() local
162 ApduSender sender = new ApduSender(mMockCi, aid, false /* supportExtendedApdu */); in testSendMultiApdus()
[all …]
/frameworks/base/core/java/android/se/omapi/
DSession.java199 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()
DISecureElementSession.aidl63 ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2, in openBasicChannel() argument
71 ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2, in openLogicalChannel() argument
DISecureElementService.aidl47 boolean[] isNFCEventAllowed(String reader, in byte[] aid, in isNFCEventAllowed() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRefreshResponse.java33 public String aid; /* null terminated string, e.g., field in IccRefreshResponse
40 return "{" + refreshResult + ", " + aid +", " + efId + "}"; in toString()
DIsimFileHandler.java30 public IsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in IsimFileHandler() argument
31 super(app, aid, ci); in IsimFileHandler()
DCsimFileHandler.java30 public CsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in CsimFileHandler() argument
31 super(app, aid, ci); in CsimFileHandler()
DSIMFileHandler.java33 public SIMFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in SIMFileHandler() argument
34 super(app, aid, ci); in SIMFileHandler()
DRuimFileHandler.java33 public RuimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in RuimFileHandler() argument
34 super(app, aid, ci); in RuimFileHandler()
DUsimFileHandler.java31 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/
DUiccCarrierPrivilegeRulesTest.java315 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 …]
DUiccCardTest.java100 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument
102 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
DUiccControllerTest.java69 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument
71 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java121 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/sip/
DSipCommandInterface.java120 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/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java298 String aid = "2345"; in testSupplyIccPinForApp() local
299 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp()
300 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp()
309 String aid = "2345"; in testSupplyIccPukForApp() local
310 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp()
312 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp()
320 String aid = "2345"; in testSupplyIccPin2ForApp() local
321 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp()
323 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp()
333 String aid = "2345"; in testSupplyIccPuk2ForApp() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DOpenLogicalChannelInvocation.java47 protected void sendRequestMessage(String aid, Message msg) { in sendRequestMessage() argument
48 mCi.iccOpenLogicalChannel(aid, 0, msg); in sendRequestMessage()
DApduSender.java70 public ApduSender(CommandsInterface ci, String aid, boolean supportExtendedApdu) { in ApduSender() argument
71 mAid = aid; in ApduSender()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java666 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp() argument
701 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp() argument
741 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp() argument
781 void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result); in supplyIccPuk2ForApp() argument
865 void getIMSIForApp(String aid, Message result); in getIMSIForApp() argument
1203 String data, String pin2, String aid, Message response); in iccIOForApp() argument
1754 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java596 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() argument
606 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() argument
616 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp() argument
626 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/support/samples/SupportLeanbackJank/
DREADME.txt4 This app's initial purpose is to aid in the testing of hardware performance for Android TV. It is
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid() argument

12