Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DThroughputService.java13 HceUtils.buildSelectApdu("F0010203040607FF", true),
14 HceUtils.buildCommandApdu("80CA010100", true),
15 HceUtils.buildCommandApdu("80CA010200", true),
16 HceUtils.buildCommandApdu("80CA010300", true),
17 HceUtils.buildCommandApdu("80CA010400", true),
18 HceUtils.buildCommandApdu("80CA010500", true),
19 HceUtils.buildCommandApdu("80CA010600", true),
20 HceUtils.buildCommandApdu("80CA010700", true),
21 HceUtils.buildCommandApdu("80CA010800", true),
22 HceUtils.buildCommandApdu("80CA010900", true),
[all …]
DPrefixTransportService2.java13 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFFF", true),
14 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFAA", true),
15 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFAABBCCDDEEFF", true),
16 HceUtils.buildCommandApdu("80CA01FFBB", true)
DPrefixPaymentService2.java13 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true),
14 HceUtils.buildSelectApdu(HceUtils.MC_AID, true),
15 HceUtils.buildCommandApdu("80CA02F000", true),
16 HceUtils.buildSelectApdu("F0000000FFFFFFFFFFFFFFFFFFFFFFFF", true),
17 HceUtils.buildSelectApdu("F000000000", true)
DPrefixTransportService1.java13 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFFF", true),
14 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFAA", true),
15 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_PREFIX_AID + "FFAABBCCDDEEFF", true),
16 HceUtils.buildCommandApdu("80CA01FFAA", true)
DPrefixAccessService.java13 HceUtils.buildSelectApdu(HceUtils.ACCESS_PREFIX_AID + "FFFF", true),
14 HceUtils.buildSelectApdu(HceUtils.ACCESS_PREFIX_AID + "FFAA", true),
15 HceUtils.buildSelectApdu(HceUtils.ACCESS_PREFIX_AID + "FFAABBCCDDEEFF", true),
16 HceUtils.buildCommandApdu("80CA010000010203", true)
DPaymentServiceDynamicAids.java13 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true),
14 HceUtils.buildSelectApdu(HceUtils.VISA_AID, true),
15 HceUtils.buildCommandApdu("80CA01F000", true)
DPaymentService1.java13 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true),
14 HceUtils.buildSelectApdu(HceUtils.MC_AID, true),
15 HceUtils.buildCommandApdu("80CA01F000", true)
DPrefixPaymentService1.java13 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true),
14 HceUtils.buildSelectApdu(HceUtils.MC_AID, true),
15 HceUtils.buildCommandApdu("80CA01F000", true)
DHceService.java41 Intent completionIntent = new Intent(HceUtils.ACTION_APDU_SEQUENCE_COMPLETE); in onApduSequenceComplete()
42 completionIntent.putExtra(HceUtils.EXTRA_COMPONENT, getComponent()); in onApduSequenceComplete()
43 completionIntent.putExtra(HceUtils.EXTRA_DURATION, in onApduSequenceComplete()
49 Intent errorIntent = new Intent(HceUtils.ACTION_APDU_SEQUENCE_ERROR); in onApduSequenceError()
85 … if (!Arrays.equals(HceUtils.hexStringToBytes(mCommandApdus[mApduIndex].getApdu()), arg0)) { in processCommandApdu()
86 Log.d(TAG, "Unexpected command APDU: " + HceUtils.getHexBytes("", arg0)); in processCommandApdu()
91 byte[] responseApdu = HceUtils.hexStringToBytes(mResponseApdus[mApduIndex]); in processCommandApdu()
DOffHostService.java11 HceUtils.buildSelectApdu("A000000151000000", true),
12 HceUtils.buildCommandApdu("80CA9F7F00", true),
13 HceUtils.buildSelectApdu("A000000003000000", true),
14 HceUtils.buildCommandApdu("80CA9F7F00", true)
DPaymentService2.java11 HceUtils.buildSelectApdu(HceUtils.PPSE_AID, true),
12 HceUtils.buildSelectApdu(HceUtils.MC_AID, true)
DTransportService1.java11 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_AID, true),
12 HceUtils.buildCommandApdu("80CA01E000", true)
DTransportService2.java11 HceUtils.buildSelectApdu(HceUtils.TRANSPORT_AID, true),
12 HceUtils.buildCommandApdu("80CA01E100", true)
DAccessService.java11 HceUtils.buildSelectApdu(HceUtils.ACCESS_AID, true),
12 HceUtils.buildCommandApdu("80CA01F000", true)
DLargeNumAidsService.java15 … commands[i] = HceUtils.buildSelectApdu(HceUtils.LARGE_NUM_AIDS_PREFIX + String.format("%02X", i) + in getCommandSequence()
16 HceUtils.LARGE_NUM_AIDS_POSTFIX, true); in getCommandSequence()
DBaseEmulatorActivity.java58 IntentFilter filter = new IntentFilter(HceUtils.ACTION_APDU_SEQUENCE_COMPLETE); in onCreate()
123 if (HceUtils.ACTION_APDU_SEQUENCE_COMPLETE.equals(action)) {
125 ComponentName component = intent.getParcelableExtra(HceUtils.EXTRA_COMPONENT);
126 long duration = intent.getLongExtra(HceUtils.EXTRA_DURATION, 0);
130 } else if (HceUtils.ACTION_APDU_SEQUENCE_ERROR.equals(action)) {
159 HceUtils.enableComponent(getPackageManager(), component); in doInBackground()
162 HceUtils.disableComponent(getPackageManager(), component); in doInBackground()
DSimpleReaderActivity.java112 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered()
116 sb.append(HceUtils.getHexBytes(null, response)); in onTagDiscovered()
120 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in onTagDiscovered()
121 Log.d(TAG, HceUtils.getHexBytes("APDU response: ", response)); in onTagDiscovered()
123 Log.d(TAG, "Unexpected APDU response: " + HceUtils.getHexBytes("", response)); in onTagDiscovered()
DProtocolParamsReaderActivity.java50 sb.append("UID: " + HceUtils.getHexBytes(null, uid) + "\n\n"); in parseProtocolParameters()
67 sb.append("ATQA: " + HceUtils.getHexBytes(null, atqa) + "\n"); in parseProtocolParameters()
70 sb.append("ATS: " + HceUtils.getHexBytes(null, ats) + "\n"); in parseProtocolParameters()
171 HceUtils.getHexBytes(null, historical_bytes)); in parseProtocolParameters()
DLargeNumAidsEmulatorActivity.java36 …aids.add(HceUtils.LARGE_NUM_AIDS_PREFIX + String.format("%02X", i) + HceUtils.LARGE_NUM_AIDS_POSTF… in onServicesSetup()
DDynamicAidEmulatorActivity.java35 paymentAids.add(HceUtils.PPSE_AID); in onServicesSetup()
36 paymentAids.add(HceUtils.VISA_AID); in onServicesSetup()
DDualNonPaymentPrefixEmulatorActivity.java33 service1_aids.add(HceUtils.TRANSPORT_PREFIX_AID + "*"); in onServicesSetup()
35 service2_aids.add(HceUtils.ACCESS_PREFIX_AID + "*"); in onServicesSetup()
DDefaultRouteEmulatorActivity.java13 HceUtils.buildSelectApdu("A000000476416E64726F6964484345", true),
DConflictingNonPaymentPrefixEmulatorActivity.java33 service_aids.add(HceUtils.TRANSPORT_PREFIX_AID + "*"); in onServicesSetup()
DHceUtils.java6 public final class HceUtils { class
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DMyHostFelicaService.java24 import com.android.cts.verifier.nfc.hce.HceUtils;