Searched refs:unsignedByteToInt (Results 1 – 2 of 2) sorted by relevance
530 return unsignedByteToInt(mValue[offset]); in getIntValue()539 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()716 private int unsignedByteToInt(byte b) { in unsignedByteToInt() method in BluetoothGattCharacteristic724 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()731 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()732 + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24); in unsignedBytesToInt()739 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()740 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()741 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()749 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()[all …]
10193 Landroid/bluetooth/BluetoothGattCharacteristic;->unsignedByteToInt(B)I