Home
last modified time | relevance | path

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

/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java120 final char[] hexArray = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; 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()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java120 final char[] hexArray = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; in ByteArrayToHexString() local
125 hexChars[j * 2] = hexArray[v >>> 4]; in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; in ByteArrayToHexString()