Home
last modified time | relevance | path

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

/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBleCentralManager.java172 ScanRecord scanRecord = result.getScanRecord(); in shouldAttemptConnection() local
173 if (scanRecord == null) { in shouldAttemptConnection()
178 List<ParcelUuid> serviceUuids = scanRecord.getServiceUuids(); in shouldAttemptConnection()
186 if (containsUuidsInOverflow(scanRecord.getBytes(), mParsedBgServiceBitMask)) { in shouldAttemptConnection()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1697 byte[] scanRecord = new byte[advertisePacketLen + scanResponsePacketLen]; in parseFullResults()
1698 System.arraycopy(advertiseBytes, 0, scanRecord, 0, advertisePacketLen); in parseFullResults()
1699 System.arraycopy(scanResponseBytes, 0, scanRecord, advertisePacketLen, in parseFullResults()
1702 Log.d(TAG, "ScanRecord : " + Arrays.toString(scanRecord)); in parseFullResults()
1704 results.add(new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in parseFullResults()
1721 private static byte[] extractBytes(byte[] scanRecord, int start, int length) { in extractBytes() argument
1723 System.arraycopy(scanRecord, start, bytes, 0, length); in extractBytes()