HomeSort by relevance Sort by last modified time
    Searched refs:apdu (Results 1 - 7 of 7) sorted by null

  /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);
HceUtils.java 68 public static final CommandApdu buildCommandApdu(String apdu, boolean reachable) {
69 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...]
  /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...]
gnubby.js 729 /** Send a raw APDU command
733 Gnubby.prototype.apdu = function(data, cb) {
761 /** APDU command with reply
770 this.apdu(request, function(rc, data) {
  /frameworks/base/core/java/android/nfc/cardemulation/
HostApduService.java 37 * "SELECT AID" APDU as defined in the ISO/IEC 7816-4 specification.
93 * &lt;host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android"
99 * &lt;/host-apdu-service&gt;
102 * <p>The {@link android.R.styleable#HostApduService &lt;host-apdu-service&gt;} is required
110 * <p>The {@link android.R.styleable#HostApduService &lt;host-apdu-service&gt;} 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...]
  /hardware/ril/libril/
ril.cpp 944 RIL_SIM_APDU apdu; local
946 memset (&apdu, 0, sizeof(RIL_SIM_APDU));
951 apdu.sessionid = (int)t;
954 apdu.cla = (int)t;
957 apdu.instruction = (int)t;
960 apdu.p1 = (int)t;
963 apdu.p2 = (int)t;
966 apdu.p3 = (int)t;
968 apdu.data = strdupReadString(p);
972 printBuf, apdu.sessionid, apdu.cla, apdu.instruction, apdu.p1, apdu.p2
    [all...]

Completed in 178 milliseconds