Searched refs:charToByte (Results 1 – 2 of 2) sorted by relevance
113 bytes[j] = (byte) (charToByte(bcd.charAt(i + 1)) << 4 | charToByte(bcd.charAt(i))); in bcdToBytes()148 data[offset] = (byte) (charToByte(plmn.charAt(1)) << 4 | charToByte(plmn.charAt(0))); in stringToBcdPlmn()149 data[offset + 1] = (byte) (charToByte(digit6) << 4 | charToByte(plmn.charAt(2))); in stringToBcdPlmn()150 data[offset + 2] = (byte) (charToByte(plmn.charAt(4)) << 4 | charToByte(plmn.charAt(3))); in stringToBcdPlmn()876 private static byte charToByte(char c) { in charToByte() method in IccUtils
230 output[j] = (byte) (charToByte(hex.charAt(i)) << 4 | charToByte(hex.charAt(i + 1))); in hexToBytes()239 private byte charToByte(char c) { in charToByte() method in ServiceProviderVerifierTest