Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattCharacteristic.java549 return unsignedByteToInt(mValue[offset]); in getIntValue()
558 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()
759 private int unsignedByteToInt(byte b) { in unsignedByteToInt() method in BluetoothGattCharacteristic
767 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
774 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
775 + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24); in unsignedBytesToInt()
782 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
783 + ((unsignedByteToInt(b1) & 0x0F) << 8), 12); in bytesToFloat()
784 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat()
792 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/util/
DNumberUtils.java27 public static int unsignedByteToInt(byte b) { in unsignedByteToInt() method in NumberUtils
41 int value = unsignedByteToInt(bytes[i]); in littleEndianByteArrayToInt()
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DDataTypeConversionUtil.java72 v = unsignedByteToInt(response[startIndex + i]); in byteArrayToHexString()
82 public static int unsignedByteToInt(byte b) { in unsignedByteToInt() method in DataTypeConversionUtil
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt386 Landroid/bluetooth/BluetoothGattCharacteristic;->unsignedByteToInt(B)I