Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java120 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
121 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
124 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
125 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
130 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
131 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
136 public static String byteArrayToString(byte[] valueBuf) { in byteArrayToString() argument
138 for (int idx = 0; idx < valueBuf.length; idx++) { in byteArrayToString()
142 sb.append(String.format("%02x", valueBuf[idx])); in byteArrayToString()
153 public static String byteArrayToUtf8String(byte[] valueBuf) { in byteArrayToUtf8String() argument
[all …]