Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java530 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 BluetoothGattCharacteristic
724 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 …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt10193 Landroid/bluetooth/BluetoothGattCharacteristic;->unsignedByteToInt(B)I