Home
last modified time | relevance | path

Searched refs:extractBytes (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanRecord.java551 byte[] advertisingData = extractBytes(scanRecord, currentPos, dataLength); in parseFromBytes()
610 localName = new String(extractBytes(scanRecord, currentPos, dataLength)); in parseFromBytes()
626 extractBytes(scanRecord, currentPos, serviceUuidLength); in parseFromBytes()
630 extractBytes( in parseFromBytes()
643 extractBytes(scanRecord, currentPos + 2, dataLength - 2); in parseFromBytes()
659 extractBytes(scanRecord, currentPos - 1, dataLength + 1); in parseFromBytes()
732 byte[] uuidBytes = extractBytes(scanRecord, currentPos, uuidLength); in parseServiceUuid()
748 byte[] uuidBytes = extractBytes(scanRecord, currentPos, uuidLength); in parseServiceSolicitationUuid()
757 private static byte[] extractBytes(byte[] scanRecord, int start, int length) { in extractBytes() method in ScanRecord
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanController.java22 import static android.bluetooth.BluetoothUtils.extractBytes;
854 extractBytes(batchRecord, i * TRUNCATED_RESULT_SIZE, TRUNCATED_RESULT_SIZE); in parseTruncatedResults()
855 byte[] address = extractBytes(record, 0, 6); in parseTruncatedResults()
859 long timestampNanos = now - parseTimestampNanos(extractBytes(record, 9, 2)); in parseTruncatedResults()
880 byte[] address = extractBytes(batchRecord, position, 6); in parseFullResults()
890 long timestampNanos = now - parseTimestampNanos(extractBytes(batchRecord, position, 2)); in parseFullResults()
895 byte[] advertiseBytes = extractBytes(batchRecord, position, advertisePacketLen); in parseFullResults()
898 byte[] scanResponseBytes = extractBytes(batchRecord, position, scanResponsePacketLen); in parseFullResults()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothUtils.java69 public static byte[] extractBytes(byte[] rawBytes, int start, int length) { in extractBytes() method in BluetoothUtils
138 byte[] value = extractBytes(rawBytes, currentPos, dataLength); in parseLengthTypeValueBytes()