Home
last modified time | relevance | path

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

/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) in ByteArrayToHexString() local
125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble in ByteArrayToHexString()
128 return new String(hexChars); in ByteArrayToHexString()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java121 char[] hexChars = new char[bytes.length * 2]; in ByteArrayToHexString() local
125 hexChars[j * 2] = hexArray[v >>> 4]; in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; in ByteArrayToHexString()
128 return new String(hexChars); in ByteArrayToHexString()