Home
last modified time | relevance | path

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

/cts/tests/tests/secure_element/access_control/AccessControlApp1/src/android/omapi/accesscontrol1/cts/
DAccessControlTest.java222 for (byte[] aid : AUTHORIZED_AID) { in testAuthorizedAID()
223 testSelectableAid(aid); in testAuthorizedAID()
229 for (byte[] aid : UNAUTHORIZED_AID) { in testUnauthorizedAID()
230 testUnauthorisedAid(aid); in testUnauthorizedAID()
262 private void testSelectableAid(byte[] aid) { in testSelectableAid() argument
273 channel = session.openLogicalChannel(aid, (byte) 0x00); in testSelectableAid()
290 private void testUnauthorisedAid(byte[] aid) { in testUnauthorisedAid() argument
302 channel = session.openLogicalChannel(aid, (byte) 0x00); in testUnauthorisedAid()
317 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument
328 channel = session.openLogicalChannel(aid, (byte) 0x00); in testTransmitAPDU()
[all …]
/cts/tests/tests/secure_element/access_control/AccessControlApp3/src/android/omapi/accesscontrol3/cts/
DAccessControlTest.java231 for (byte[] aid : AUTHORIZED_AID) { in testAuthorizedAID()
232 testSelectableAid(aid); in testAuthorizedAID()
238 for (byte[] aid : UNAUTHORIZED_AID) { in testUnauthorizedAID()
239 testUnauthorisedAid(aid); in testUnauthorizedAID()
264 private void testSelectableAid(byte[] aid) { in testSelectableAid() argument
275 channel = session.openLogicalChannel(aid, (byte) 0x00); in testSelectableAid()
292 private void testUnauthorisedAid(byte[] aid) { in testUnauthorisedAid() argument
304 channel = session.openLogicalChannel(aid, (byte) 0x00); in testUnauthorisedAid()
319 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument
330 channel = session.openLogicalChannel(aid, (byte) 0x00); in testTransmitAPDU()
[all …]
/cts/tests/tests/secure_element/access_control/AccessControlApp2/src/android/omapi/accesscontrol2/cts/
DAccessControlTest.java221 for (byte[] aid : AUTHORIZED_AID) { in testAuthorizedAID()
222 testSelectableAid(aid); in testAuthorizedAID()
228 for (byte[] aid : UNAUTHORIZED_AID) { in testUnauthorizedAID()
229 testUnauthorisedAid(aid); in testUnauthorizedAID()
261 private void testSelectableAid(byte[] aid) { in testSelectableAid() argument
272 channel = session.openLogicalChannel(aid, (byte) 0x00); in testSelectableAid()
289 private void testUnauthorisedAid(byte[] aid) { in testUnauthorisedAid() argument
301 channel = session.openLogicalChannel(aid, (byte) 0x00); in testUnauthorisedAid()
316 private void testTransmitAPDU(byte[] aid, byte[] apdu) { in testTransmitAPDU() argument
327 channel = session.openLogicalChannel(aid, (byte) 0x00); in testTransmitAPDU()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java39 public static final CommandApdu buildSelectApdu(String aid, boolean reachable) { in buildSelectApdu() argument
42 sb.append(String.format("%02X", aid.length() / 2)); in buildSelectApdu()
43 sb.append(aid); in buildSelectApdu()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockSimService.java145 private void initSimAppData(int simappid, String aid, String path, boolean status) { in initSimAppData() argument
147 mAid = aid; in initSimAppData()
154 public SimAppData(int simappid, String aid, String path) { in SimAppData() argument
155 initSimAppData(simappid, aid, path, false); in SimAppData()
158 public SimAppData(int simappid, String aid, String path, boolean status) { in SimAppData() argument
159 initSimAppData(simappid, aid, path, status); in SimAppData()
524 private int getSimAppDataIndexByAid(String aid) { in getSimAppDataIndexByAid() argument
527 if (aid.equals(mSimAppList.get(idx).getAid())) { in getSimAppDataIndexByAid()
560 String aid, String name, String id, String command, String[] value) { in storeEfData() argument
579 .get(getSimAppDataIndexByAid(aid)) in storeEfData()
[all …]
DIRadioSimImpl.java146 simRefreshResult.aid = simInfoChangeResult.mAid; in handleMessage()
192 public void changeIccPin2ForApp(int serial, String oldPin2, String newPin2, String aid) { in changeIccPin2ForApp() argument
207 public void changeIccPinForApp(int serial, String oldPin, String newPin, String aid) { in changeIccPinForApp() argument
369 public void getImsiForApp(int serial, String aid) { in getImsiForApp() argument
381 if (aid.equals(mSimAppList.get(simAppIdx).getAid())) { in getImsiForApp()
389 Log.e(mTag, "Not support sim application aid = " + aid); in getImsiForApp()
478 String aid) { in getIccIoResult() argument
490 if (aid.equals(mSimAppList.get(simAppIdx).getAid())) { in getIccIoResult()
497 Log.e(mTag, "Not support sim application aid = " + aid); in getIccIoResult()
592 iccIo.aid); in iccIoForApp()
[all …]
DMockModemConfigBase.java351 public SimInfoChangedResult(int type, int efid, String aid) { in SimInfoChangedResult() argument
354 mAid = aid; in SimInfoChangedResult()
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcPreferredPaymentTest.java94 for (String aid :aids) { in testAidsForPreferredPaymentService()
95 Log.i(mTag, "AidsForPreferredPaymentService: " + aid); in testAidsForPreferredPaymentService()
197 for (String aid :aids) { in testAidsForPreferredPaymentService_walletRoleEnabled()
198 Log.i(mTag, "AidsForPreferredPaymentService: " + aid); in testAidsForPreferredPaymentService_walletRoleEnabled()
DCardEmulationTest.java149 String aid = "00000000000000"; in testIsDefaultServiceForAid() local
152 boolean result = instance.isDefaultServiceForAid(mService, aid); in testIsDefaultServiceForAid()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java729 AnimatedImageDrawable aid = (AnimatedImageDrawable) drawable; in testRepeatCountFromXml() local
730 assertEquals(17, aid.getRepeatCount()); in testRepeatCountFromXml()
740 AnimatedImageDrawable aid = (AnimatedImageDrawable) drawable; in testInfiniteRepeatCountFromXml() local
741 assertEquals(1, aid.getRepeatCount()); in testInfiniteRepeatCountFromXml()
749 aid = (AnimatedImageDrawable) drawable; in testInfiniteRepeatCountFromXml()
750 assertEquals(AnimatedImageDrawable.REPEAT_INFINITE, aid.getRepeatCount()); in testInfiniteRepeatCountFromXml()
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/
DOmapiTest.java425 private byte[] testSelectableAid(Reader reader, byte[] aid) throws IOException { in testSelectableAid() argument
433 channel = session.openLogicalChannel(aid, (byte) 0x00); in testSelectableAid()
462 private void testNonSelectableAid(Reader reader, byte[] aid) throws IOException { in testNonSelectableAid() argument
469 channel = session.openLogicalChannel(aid, (byte) 0x00); in testNonSelectableAid()