Searched refs:unsignedByteToInt (Results 1 – 4 of 4) sorted by relevance
488 return unsignedByteToInt(mValue[offset]); in getIntValue()497 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()696 private int unsignedByteToInt(byte b) { in unsignedByteToInt() method in BluetoothGattCharacteristic702 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()707 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()708 + (unsignedByteToInt(b2) << 16) in unsignedBytesToInt()709 + (unsignedByteToInt(b3) << 24); in unsignedBytesToInt()715 unsignedToSigned(unsignedByteToInt(b0) + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()716 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()724 unsignedByteToInt(b0) in bytesToFloat()[all …]
23 public static int unsignedByteToInt(byte b) { in unsignedByteToInt() method in NumberUtils35 int value = unsignedByteToInt(bytes[i]); in littleEndianByteArrayToInt()
75 v = unsignedByteToInt(response[startIndex + i]); in byteArrayToHexString()85 public static int unsignedByteToInt(byte b) { in unsignedByteToInt() method in DataTypeConversionUtil
386 Landroid/bluetooth/BluetoothGattCharacteristic;->unsignedByteToInt(B)I