/cts/apps/CtsVerifier/res/xml/ |
access_prefix_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 3 </host-apdu-service>
|
empty_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 3 </host-apdu-service>
|
transport_prefix_aid_list_1.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 3 </host-apdu-service>
|
transport_prefix_aid_list_2.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 3 </host-apdu-service>
|
access_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 6 </host-apdu-service>
|
throughput_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 6 </host-apdu-service>
|
transport_aid_list_1.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 6 </host-apdu-service>
|
transport_aid_list_2.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 6 </host-apdu-service>
|
offhost_aid_list.xml | 1 <offhost-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 9 </offhost-apdu-service>
|
payment_aid_list_1.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 10 </host-apdu-service>
|
payment_aid_list_2.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 9 </host-apdu-service>
|
payment_empty_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 9 </host-apdu-service>
|
payment_prefix_aid_list.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 11 </host-apdu-service>
|
payment_prefix_aid_list_2.xml | 1 <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 19 </host-apdu-service>
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
CommandApdu.java | 10 public CommandApdu(String apdu, boolean reachable) { 11 mApdu = apdu; 32 String apdu = source.readString(); 34 return new CommandApdu(apdu, reachable);
|
SimpleReaderActivity.java | 107 for (CommandApdu apdu: mApdus) { 108 sb.append("Request APDU:\n"); 109 sb.append(apdu.getApdu() + "\n\n"); 111 byte[] response = isoDep.transceive(HceUtils.hexStringToBytes(apdu.getApdu())); 113 sb.append("Response APDU (in " + Long.toString(apduEndTime - apduStartTime) + 120 Log.d(TAG, HceUtils.getHexBytes("APDU response: ", response)); 122 Log.d(TAG, "Unexpected APDU response: " + HceUtils.getHexBytes("", response)); 129 sb.insert(0, "Total APDU exchange time: " + 139 sb.insert(0, "FAIL. Total APDU exchange time: " + 147 builder.setMessage("An unexpected response APDU was received, or no APDUs were received at all.") [all...] |
ThroughputEmulatorActivity.java | 55 "( " + Long.toString(timePerApdu) + " ms per APDU roundtrip)."); 59 "(" + Long.toString(timePerApdu) + " ms per APDU roundtrip)." + 60 " Require <= 60ms per APDU roundtrip.");
|
HceService.java | 80 Log.d(TAG, "Ignoring command APDU; protocol complete."); 86 Log.d(TAG, "Unexpected command APDU: " + HceUtils.getHexBytes("", arg0)); 90 // Send corresponding response APDU
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
gnubby-u2f.js | 21 // APDU.P1 flags 50 var apdu = new Uint8Array( 56 var u8 = new Uint8Array(apdu.length + challenge.length + 58 for (var i = 0; i < apdu.length; ++i) u8[i] = apdu[i]; 59 for (var i = 0; i < challenge.length; ++i) u8[i + apdu.length] = 62 u8[i + apdu.length + challenge.length] = appIdHash[i]; 92 var apdu = new Uint8Array( 104 apdu[2] |= Gnubby.P1_TUP_TESTONLY; 106 var u8 = new Uint8Array(apdu.length + apduDataLen + 2) [all...] |
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 26 * This is a sample APDU Service which demonstrates how to interface with the card emulation support 50 // "UNKNOWN" status word sent in response to invalid APDU command (0x0000) 65 * This method will be called when a command APDU has been received from a remote device. A 66 * response APDU can be provided directly by returning a byte-array in this method. In general 75 * cannot return a response APDU immediately, return null and use the {@link 78 * @param commandApdu The APDU that received from the remote device 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 86 Log.i(TAG, "Received APDU: " + ByteArrayToHexString(commandApdu)); 87 // If the APDU matches the SELECT AID command for this service [all...] |
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 26 * This is a sample APDU Service which demonstrates how to interface with the card emulation support 50 // "UNKNOWN" status word sent in response to invalid APDU command (0x0000) 65 * This method will be called when a command APDU has been received from a remote device. A 66 * response APDU can be provided directly by returning a byte-array in this method. In general 75 * cannot return a response APDU immediately, return null and use the {@link 78 * @param commandApdu The APDU that received from the remote device 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 86 Log.i(TAG, "Received APDU: " + ByteArrayToHexString(commandApdu)); 87 // If the APDU matches the SELECT AID command for this service [all...] |
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
CardService.java | 26 * This is a sample APDU Service which demonstrates how to interface with the card emulation support 50 // "UNKNOWN" status word sent in response to invalid APDU command (0x0000) 65 * This method will be called when a command APDU has been received from a remote device. A 66 * response APDU can be provided directly by returning a byte-array in this method. In general 75 * cannot return a response APDU immediately, return null and use the {@link 78 * @param commandApdu The APDU that received from the remote device 80 * @return a byte-array containing the response APDU, or null if no response APDU can be sent 86 Log.i(TAG, "Received APDU: " + ByteArrayToHexString(commandApdu)); 87 // If the APDU matches the SELECT AID command for this service [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
HostApduService.java | 37 * "SELECT AID" APDU as defined in the ISO/IEC 7816-4 specification. 93 * <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" 99 * </host-apdu-service> 102 * <p>The {@link android.R.styleable#HostApduService <host-apdu-service>} is required 110 * <p>The {@link android.R.styleable#HostApduService <host-apdu-service>} must 129 * <p>Once the platform has resolved a "SELECT AID" command APDU to a specific 130 * service component, the "SELECT AID" command APDU and all subsequent 135 * <li>A "SELECT AID" APDU is received which resolves to another service</li> 183 * a 7816-4 command APDU has been received. 191 * a response APDU back to the remote device [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephony.aidl | 542 * Transmit an APDU to the ICC card over a logical channel. 548 * @param cla Class of the APDU command. 549 * @param instruction Instruction of the APDU command. 550 * @param p1 P1 value of the APDU command. 551 * @param p2 P2 value of the APDU command. 552 * @param p3 P3 value of the APDU command. If p3 is negative a 4 byte APDU 554 * @param data Data to be sent with the APDU. 555 * @return The APDU response from the ICC card with the status appended at 562 * Transmit an APDU to the ICC card over the basic channel [all...] |
/frameworks/base/docs/html/guide/topics/connectivity/nfc/ |
hce.jd | 200 public byte[] processCommandApdu(byte[] apdu, Bundle extras) { 215 Protocol Data Unit (APDU) to your service. APDUs are defined in the ISO/IEC 218 protocol is half-duplex: the NFC reader will send you a command APDU, and it 219 will wait for you to send a response APDU in return.</p> 223 where you can have multiple parallel APDU exchanges on separate logical channels. Android?s 229 reader wants to talk to. Typically, the first APDU an NFC reader sends to your 230 device is a "SELECT AID" APDU; this APDU contains the AID that the reader wants 231 to talk to. Android extracts that AID from the APDU, resolves it to an HCE service, 232 then forwards that APDU to the resolved service.</p [all...] |