/packages/apps/Nfc/testutils/src/com/android/nfc/reader/ |
D | NfcReaderDeviceSnippet.java | 28 import com.android.nfc.utils.HceUtils; 61 HceUtils.COMMAND_APDUS_BY_SERVICE.get(TransportService1.class.getName()), in startSingleNonPaymentReaderActivity() 62 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(TransportService1.class.getName())); in startSingleNonPaymentReaderActivity() 73 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentService1.class.getName()), in startSinglePaymentReaderActivity() 74 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentService1.class.getName())); in startSinglePaymentReaderActivity() 85 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentService1.class.getName()), in startDualPaymentReaderActivity() 86 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentService1.class.getName())); in startDualPaymentReaderActivity() 97 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentService2.class.getName()), in startForegroundPaymentReaderActivity() 98 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentService2.class.getName())); in startForegroundPaymentReaderActivity() 109 HceUtils.COMMAND_APDUS_BY_SERVICE.get( in startDynamicAidReaderActivity() [all …]
|
D | SimpleReaderActivity.java | 28 import com.android.nfc.utils.HceUtils; 102 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); in onTagDiscovered() 107 sb.append(HceUtils.getHexBytes(null, response)); in onTagDiscovered() 111 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in onTagDiscovered() 112 Log.d(TAG, HceUtils.getHexBytes("APDU response: ", response)); in onTagDiscovered() 114 Log.d(TAG, "Unexpected APDU response: " + HceUtils.getHexBytes("", response) in onTagDiscovered()
|
D | ProtocolParamsReaderActivity.java | 25 import com.android.nfc.utils.HceUtils; 50 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() 169 "\n(OK) Historical bytes: " + HceUtils.getHexBytes(null, historical_bytes)); in parseProtocolParameters()
|
/packages/apps/Nfc/testutils/src/com/android/nfc/service/ |
D | HceService.java | 24 import com.android.nfc.utils.HceUtils; 116 HceUtils.hexStringToBytes(mCommandApdus[mApduIndex].getApdu()), arg0)) { in processCommandApdu() 117 Log.d(TAG, "Unexpected command APDU: " + HceUtils.getHexBytes("", arg0)); in processCommandApdu() 121 byte[] responseApdu = HceUtils.hexStringToBytes(mResponseApdus[mApduIndex]); in processCommandApdu()
|
D | PrefixPaymentService1.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PrefixPaymentService1.class.getName()), in PrefixPaymentService1() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PrefixPaymentService1.class.getName())); in PrefixPaymentService1()
|
D | AccessService.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(AccessService.class.getName()), in AccessService() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(AccessService.class.getName())); in AccessService()
|
D | TransportService2.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(TransportService2.class.getName()), in TransportService2() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(TransportService2.class.getName())); in TransportService2()
|
D | ScreenOffPaymentService.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(ScreenOffPaymentService.class.getName()), in ScreenOffPaymentService() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(ScreenOffPaymentService.class.getName())); in ScreenOffPaymentService()
|
D | PaymentService2.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentService2.class.getName()), in PaymentService2() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentService2.class.getName())); in PaymentService2()
|
D | LargeNumAidsService.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(LargeNumAidsService.class.getName()), in LargeNumAidsService() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(LargeNumAidsService.class.getName())); in LargeNumAidsService()
|
D | OffHostService.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(OffHostService.class.getName()), in OffHostService() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(OffHostService.class.getName())); in OffHostService()
|
D | ThroughputService.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(ThroughputService.class.getName()), in ThroughputService() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(ThroughputService.class.getName())); in ThroughputService()
|
D | PrefixTransportService1.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PrefixTransportService1.class.getName()), in PrefixTransportService1() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PrefixTransportService1.class.getName())); in PrefixTransportService1()
|
D | PaymentService1.java | 19 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentService1.class.getName()), in PaymentService1() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentService1.class.getName())); in PaymentService1()
|
D | PaymentServiceDynamicAids.java | 18 import com.android.nfc.utils.HceUtils; 27 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PaymentServiceDynamicAids.class.getName()), in PaymentServiceDynamicAids() 28 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PaymentServiceDynamicAids.class.getName())); in PaymentServiceDynamicAids()
|
D | PrefixAccessService.java | 18 import com.android.nfc.utils.HceUtils; 28 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PrefixAccessService.class.getName()), in PrefixAccessService() 29 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PrefixAccessService.class.getName())); in PrefixAccessService()
|
D | PrefixTransportService2.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PrefixTransportService2.class.getName()), in PrefixTransportService2() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PrefixTransportService2.class.getName())); in PrefixTransportService2()
|
D | TransportService1.java | 19 import com.android.nfc.utils.HceUtils; 30 HceUtils.COMMAND_APDUS_BY_SERVICE.get(TransportService1.class.getName()), in TransportService1() 31 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(TransportService1.class.getName())); in TransportService1()
|
D | PrefixPaymentService2.java | 18 import com.android.nfc.utils.HceUtils; 29 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PrefixPaymentService2.class.getName()), in PrefixPaymentService2() 30 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PrefixPaymentService2.class.getName())); in PrefixPaymentService2()
|
D | PollingLoopService.java | 24 import com.android.nfc.utils.HceUtils; 43 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PollingLoopService.class.getName()), in PollingLoopService() 44 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PollingLoopService.class.getName())); in PollingLoopService()
|
D | PollingLoopService2.java | 24 import com.android.nfc.utils.HceUtils; 43 HceUtils.COMMAND_APDUS_BY_SERVICE.get(PollingLoopService.class.getName()), in PollingLoopService2() 44 HceUtils.RESPONSE_APDUS_BY_SERVICE.get(PollingLoopService.class.getName())); in PollingLoopService2()
|
/packages/apps/Nfc/testutils/src/com/android/nfc/emulator/ |
D | DynamicAidEmulatorActivity.java | 23 import com.android.nfc.utils.HceUtils; 43 paymentAids.add(HceUtils.PPSE_AID); in onServicesSetup() 44 paymentAids.add(HceUtils.VISA_AID); in onServicesSetup()
|
D | LargeNumAidsEmulatorActivity.java | 23 import com.android.nfc.utils.HceUtils; 52 HceUtils.LARGE_NUM_AIDS_PREFIX in onServicesSetup() 54 + HceUtils.LARGE_NUM_AIDS_POSTFIX); in onServicesSetup()
|
D | DualNonPaymentPrefixEmulatorActivity.java | 24 import com.android.nfc.utils.HceUtils; 57 service1_aids.add(HceUtils.TRANSPORT_PREFIX_AID + "*"); in onServicesSetup() 59 service2_aids.add(HceUtils.ACCESS_PREFIX_AID + "*"); in onServicesSetup()
|
D | BaseEmulatorActivity.java | 56 import com.android.nfc.utils.HceUtils; 141 HceUtils.disableComponent(getPackageManager(), component); in disableServices() 236 HceUtils.enableComponent(getPackageManager(), component); in setupServices() 239 HceUtils.disableComponent(getPackageManager(), component); in setupServices() 280 if (HceUtils.setDefaultWalletRoleHolder(this, PACKAGE_NAME)) { in setDefaultWalletRole()
|