Home
last modified time | relevance | path

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

123

/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.java241 public boolean isDefaultServiceForAid(ComponentName service, String aid) { in isDefaultServiceForAid() argument
243 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid()
252 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid); in isDefaultServiceForAid()
912 public static boolean isValidAid(String aid) { in isValidAid() argument
913 if (aid == null) in isValidAid()
917 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid()
918 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
923 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid()
924 Log.e(TAG, "AID " + aid + " is not a valid AID."); in isValidAid()
929 if (!AID_PATTERN.matcher(aid).matches()) { in isValidAid()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioSimProxy.java100 public void changeIccPin2ForApp(int serial, String oldPin2, String newPin2, String aid) in changeIccPin2ForApp() argument
104 mSimProxy.changeIccPin2ForApp(serial, oldPin2, newPin2, aid); in changeIccPin2ForApp()
106 mRadioProxy.changeIccPin2ForApp(serial, oldPin2, newPin2, aid); in changeIccPin2ForApp()
118 public void changeIccPinForApp(int serial, String oldPin, String newPin, String aid) in changeIccPinForApp() argument
122 mSimProxy.changeIccPinForApp(serial, oldPin, newPin, aid); in changeIccPinForApp()
124 mRadioProxy.changeIccPinForApp(serial, oldPin, newPin, aid); in changeIccPinForApp()
227 public void getImsiForApp(int serial, String aid) throws RemoteException { in getImsiForApp() argument
230 mSimProxy.getImsiForApp(serial, aid); in getImsiForApp()
232 mRadioProxy.getImsiForApp(serial, aid); in getImsiForApp()
294 int p3, String data, String pin2, String aid) throws RemoteException { in iccIoForApp() argument
[all …]
/frameworks/base/omapi/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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccLogicalChannelRequestTest.java51 assertThat(defaultRequest.aid).isNull(); in testDefaultConstructor_shouldReturnDefaultValues()
68 assertThat(request.aid).isEqualTo(AID); in testConstructor_withValidParmas_shouldReturnValidValues()
118 int portIndex, String callingPackage, String aid, int p2, int channel, IBinder binder) { in createIccLogicalChannelRequest() argument
124 request.aid = aid; in createIccLogicalChannelRequest()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java134 AdaptiveIconDrawable aid = (AdaptiveIconDrawable) icon; in getIconWithOverrides() local
135 if (aid.getMonochrome() == null) { in getIconWithOverrides()
136 icon = new AdaptiveIconDrawable(aid.getBackground(), in getIconWithOverrides()
137 aid.getForeground(), td.loadPaddedDrawable()); in getIconWithOverrides()
180 AdaptiveIconDrawable aid = (AdaptiveIconDrawable) drawable; in loadCalendarDrawable() local
181 if (aid.getMonochrome() != null) { in loadCalendarDrawable()
189 : new AdaptiveIconDrawable(aid.getBackground(), aid.getForeground(), in loadCalendarDrawable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java312 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAM()
314 if (aid.equals(ARAM)) { in testAID_OnlyARAM()
372 String aid = (String) invocation.getArguments()[0]; in testAID_OnlyARAD()
374 if (aid.equals(ARAD)) { in testAID_OnlyARAD()
432 String aid = (String) invocation.getArguments()[0]; in testAID_BothARAMandARAD()
436 if (aid.equals(ARAD)) { in testAID_BothARAMandARAD()
493 String aid = (String) invocation.getArguments()[0]; in testAID_ARFFailed()
496 if (aid.equals(ARAM)) { in testAID_ARFFailed()
498 } else if (aid.equals(ARAD)) { in testAID_ARFFailed()
550 String aid = (String) invocation.getArguments()[0]; in testAID_ARFSucceed()
[all …]
/frameworks/base/omapi/aidl/aidl_api/android.se.omapi/current/android/se/omapi/
DISecureElementSession.aidl46 …android.se.omapi.ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2, in android.se.o… in openBasicChannel() argument
47 …android.se.omapi.ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2, in android.se… in openLogicalChannel() argument
DISecureElementService.aidl44 …boolean[] isNfcEventAllowed(in String reader, in byte[] aid, in String[] packageNames, in int user… in isNfcEventAllowed() argument
/frameworks/base/omapi/aidl/aidl_api/android.se.omapi/1/android/se/omapi/
DISecureElementSession.aidl46 …android.se.omapi.ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2, in android.se.o… in openBasicChannel() argument
47 …android.se.omapi.ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2, in android.se… in openLogicalChannel() argument
DISecureElementService.aidl44 …boolean[] isNfcEventAllowed(in String reader, in byte[] aid, in String[] packageNames, in int user… in isNfcEventAllowed() argument
/frameworks/base/omapi/aidl/android/se/omapi/
DISecureElementSession.aidl65 ISecureElementChannel openBasicChannel(in byte[] aid, in byte p2, in openBasicChannel() argument
75 ISecureElementChannel openLogicalChannel(in byte[] aid, in byte p2, in openLogicalChannel() argument
DISecureElementService.aidl55 boolean[] isNfcEventAllowed(in String reader, in byte[] aid, in isNfcEventAllowed() argument
/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()
/frameworks/base/omapi/aidl/vts/functional/AccessControlApp/
DVtsHalOmapiSeAccessControlTestCases.cpp84 for (auto aid : authorizedAids) { in testSelectableAid() local
103 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testSelectableAid()
125 for (auto aid : unAuthorizedAids) { in testUnauthorisedAid() local
143 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testUnauthorisedAid()
158 std::vector<uint8_t> aid, in testTransmitAPDU() argument
179 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testTransmitAPDU()
203 std::vector<uint8_t> aid, in testUnauthorisedAPDU() argument
224 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testUnauthorisedAPDU()
/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java133 public void getIMSIForApp(String aid, Message result) { in getIMSIForApp() argument
328 int p3, String data, String pin2, String aid, Message result) { in iccIOForApp() argument
562 public void supplyIccPinForApp(String pin, String aid, Message response) { in supplyIccPinForApp() argument
566 public void supplyIccPukForApp(String puk, String newPin, String aid, Message response) { in supplyIccPukForApp() argument
570 public void supplyIccPin2ForApp(String pin2, String aid, Message response) { in supplyIccPin2ForApp() argument
574 public void supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) { in supplyIccPuk2ForApp() argument
587 …public void requestIccSimAuthentication(int authContext, String data, String aid, Message response… in requestIccSimAuthentication() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccLogicalChannelRequest.aidl42 @nullable String aid;
/frameworks/base/omapi/aidl/vts/functional/omapi/
DVtsHalOmapiSeServiceV1_TargetTest.cpp55 std::vector<uint8_t> aid, std::vector<uint8_t>& selectResponse) { in testSelectableAid() argument
71 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testSelectableAid()
88 std::vector<uint8_t> aid) { in testNonSelectableAid() argument
104 res = session->openLogicalChannel(aid, 0x00, seListener, &channel); in testNonSelectableAid()
367 std::vector<uint8_t> aid = {}; in TEST_P() local
383 status = session->openBasicChannel(aid, 0x00, seListener, &channel); in TEST_P()

123