Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java532 return unsignedByteToInt(mValue[offset]); in getIntValue()
541 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()
718 private int unsignedByteToInt(byte b) { in unsignedByteToInt() method in BluetoothGattCharacteristic
726 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
733 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
734 + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24); in unsignedBytesToInt()
741 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
742 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()
743 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()
751 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10202 Landroid/bluetooth/BluetoothGattCharacteristic;->unsignedByteToInt(B)I