Home
last modified time | relevance | path

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

/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java49 private static final byte[] SELECT_OK_SW = HexStringToByteArray("9000");
51 private static final byte[] UNKNOWN_CMD_SW = HexStringToByteArray("0000");
109 return HexStringToByteArray(SELECT_APDU_HEADER + String.format("%02X", in BuildSelectApdu()
140 public static byte[] HexStringToByteArray(String s) throws IllegalArgumentException { in HexStringToByteArray() method in CardService
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java110 … return HexStringToByteArray(SELECT_APDU_HEADER + String.format("%02X", aid.length() / 2) + aid); in BuildSelectApdu()
139 public static byte[] HexStringToByteArray(String s) { in HexStringToByteArray() method in LoyaltyCardReader