Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java70 for (String aid : aids) { in AidGroup()
71 if (!CardEmulation.isValidAid(aid)) { in AidGroup()
72 throw new IllegalArgumentException("AID " + aid + " is not a valid AID."); in AidGroup()
81 for (String aid : aids) { in AidGroup()
82 this.aids.add(aid.toUpperCase()); in AidGroup()
114 for (String aid : aids) { in toString()
115 out.append(aid); in toString()
131 for (String aid : aids) { in dump()
132 proto.write(AidGroupProto.AIDS, aid); in dump()
185 String aid = parser.getAttributeValue(null, "value"); in createFromXml() local
[all …]
DApduServiceInfo.java292 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
294 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo()
295 currentGroup.aids.add(aid); in ApduServiceInfo()
297 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo()
304 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
307 aid = aid.concat("*"); in ApduServiceInfo()
308 if (CardEmulation.isValidAid(aid) && !currentGroup.aids.contains(aid)) { in ApduServiceInfo()
309 currentGroup.aids.add(aid); in ApduServiceInfo()
311 Log.e(TAG, "Ignoring invalid or duplicate aid: " + aid); in ApduServiceInfo()
318 String aid = a.getString(com.android.internal.R.styleable.AidFilter_name). in ApduServiceInfo() local
[all …]
DCardEmulation.java237 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()
864 public static boolean isValidAid(String aid) { in isValidAid() argument
865 if (aid == null) in isValidAid()
869 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid()
870 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
875 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid()
876 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
881 if (!AID_PATTERN.matcher(aid).matches()) { in isValidAid()
[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/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java311 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
313 if (aid.equals(ARAM)) { in testAID_OnlyARAM()
371 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
373 if (aid.equals(ARAD)) { in testAID_OnlyARAD()
431 String aid = (String) invocation.getArguments()[0]; in testAID_BothARAMandARAD()
435 if (aid.equals(ARAD)) { in testAID_BothARAMandARAD()
492 String aid = (String) invocation.getArguments()[0]; in testAID_ARFFailed()
495 if (aid.equals(ARAM)) { in testAID_ARFFailed()
497 } else if (aid.equals(ARAD)) { in testAID_ARFFailed()
549 String aid = (String) invocation.getArguments()[0]; in testAID_ARFSucceed()
[all …]
DUiccCardTest.java46 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus() argument
48 mIccCardAppStatus.aid = aid; in composeUiccApplicationStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRefreshResponse.java39 public String aid; /* null terminated string, e.g., field in IccRefreshResponse
49 return "{" + refreshResult + ", " + aid +", " + efId + "}"; in toString()
DIsimFileHandler.java29 public IsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in IsimFileHandler() argument
30 super(app, aid, ci); in IsimFileHandler()
DCsimFileHandler.java29 public CsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in CsimFileHandler() argument
30 super(app, aid, ci); in CsimFileHandler()
DSIMFileHandler.java32 public SIMFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in SIMFileHandler() argument
33 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.java29 public UsimFileHandler(UiccCardApplication app, String aid, CommandsInterface ci) { in UsimFileHandler() argument
30 super(app, aid, ci); in UsimFileHandler()
DUiccProfile.java1549 public boolean resetAppWithAid(String aid, boolean reset) { in resetAppWithAid() argument
1555 && (TextUtils.isEmpty(aid) || aid.equals(mUiccApplications[i].getAid()))) { in resetAppWithAid()
1559 if (!TextUtils.isEmpty(aid) in resetAppWithAid()
1570 if (reset && TextUtils.isEmpty(aid)) { in resetAppWithAid()
1591 public void iccOpenLogicalChannel(String aid, int p2, Message response) { in iccOpenLogicalChannel() argument
1592 logWithLocalLog("iccOpenLogicalChannel: " + aid + " , " + p2 + " by pid:" in iccOpenLogicalChannel()
1594 mCi.iccOpenLogicalChannel(aid, p2, in iccOpenLogicalChannel()
/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.java78 public ApduSender(CommandsInterface ci, String aid, boolean supportExtendedApdu) { in ApduSender() argument
79 mAid = aid; in ApduSender()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java130 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument
327 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument
561 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument
565 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument
569 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument
573 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument
586 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java131 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument
326 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument
560 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument
564 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument
568 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument
572 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument
585 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommandsVerifier.java612 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() argument
622 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() argument
632 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp() argument
642 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) { in supplyIccPuk2ForApp() argument
715 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument
928 String data, String pin2, String aid, Message response) { in iccIOForApp() argument
1251 public void requestIccSimAuthentication(int authContext, String data, String aid, in requestIccSimAuthentication() argument
1295 public void iccOpenLogicalChannel(String aid, int p2, Message response) { in iccOpenLogicalChannel() argument
DRILTest.java375 String aid = "2345"; in testSupplyIccPinForApp() local
376 mRILUnderTest.supplyIccPinForApp(pin, aid, obtainMessage()); in testSupplyIccPinForApp()
377 verify(mRadioProxy).supplyIccPinForApp(mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPinForApp()
386 String aid = "2345"; in testSupplyIccPukForApp() local
387 mRILUnderTest.supplyIccPukForApp(puk, newPin, aid, obtainMessage()); in testSupplyIccPukForApp()
389 .supplyIccPukForApp(mSerialNumberCaptor.capture(), eq(puk), eq(newPin), eq(aid)); in testSupplyIccPukForApp()
397 String aid = "2345"; in testSupplyIccPin2ForApp() local
398 mRILUnderTest.supplyIccPin2ForApp(pin, aid, obtainMessage()); in testSupplyIccPin2ForApp()
400 mSerialNumberCaptor.capture(), eq(pin), eq(aid)); in testSupplyIccPin2ForApp()
410 String aid = "2345"; in testSupplyIccPuk2ForApp() local
[all …]
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DThemedIconDrawable.java230 AdaptiveIconDrawable aid = (AdaptiveIconDrawable) original; in wrapDrawable() local
237 : new ThemedAdaptiveIcon(aid, new ThemeData(mResources, id)); in wrapDrawable()
242 return new ThemedAdaptiveIcon(aid, this); in wrapDrawable()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java739 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp() argument
774 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp() argument
814 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp() argument
854 void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result); in supplyIccPuk2ForApp() argument
946 void getIMSIForApp(String aid, Message result); in getIMSIForApp() argument
1338 String data, String pin2, String aid, Message response); in iccIOForApp() argument
1969 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken169 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) {

12