Searched refs:hex (Results 1 – 2 of 2) sorted by relevance
73 final String hex = "00" + Integer.toHexString(b); in addReceivedByte() local74 mReceivingLine.append("\\x" + hex.substring(hex.length() - 2, hex.length())); in addReceivedByte()
162 String hex = Utility.byteToHex((byte) i); in testByteToHex() local163 assertEquals("val=" + i, 2, hex.length()); in testByteToHex()164 assertEquals("val=" + i, i, Integer.parseInt(hex, 16)); in testByteToHex()