Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFReaderActivity.java58 static byte[] createEchoCommand(byte[] nfcid2, byte[] payload) { in createEchoCommand() argument
59 byte length = (byte) (2 + nfcid2.length + payload.length); in createEchoCommand()
64 System.arraycopy(nfcid2, 0, echo_cmd, 2, nfcid2.length); in createEchoCommand()
65 System.arraycopy(payload, 0, echo_cmd, 2 + nfcid2.length, payload.length); in createEchoCommand()
69 static byte[] createSuccessCommand(byte[] nfcid2) { in createSuccessCommand() argument
70 byte[] cmd = new byte[2 + nfcid2.length]; in createSuccessCommand()
71 cmd[0] = (byte) (2 + nfcid2.length); in createSuccessCommand()
73 System.arraycopy(nfcid2, 0, cmd, 2, nfcid2.length); in createSuccessCommand()