Searched refs:charToByte (Results 1 – 2 of 2) sorted by relevance
122 bytes[j] = (byte) (charToByte(bcd.charAt(i + 1)) << 4 | charToByte(bcd.charAt(i))); in bcdToBytes()157 data[offset] = (byte) (charToByte(plmn.charAt(1)) << 4 | charToByte(plmn.charAt(0))); in stringToBcdPlmn()158 data[offset + 1] = (byte) (charToByte(digit6) << 4 | charToByte(plmn.charAt(2))); in stringToBcdPlmn()159 data[offset + 2] = (byte) (charToByte(plmn.charAt(4)) << 4 | charToByte(plmn.charAt(3))); in stringToBcdPlmn()895 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