Searched defs:scanRecord (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
H A DScanResult.java47 * @param scanRecord Scan record including both advertising data and scan response data.
51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, argument
54 mScanRecord = scanRecord;
H A DScanRecord.java172 * @param scanRecord The scan record of Bluetooth LE advertisement and/or scan response.
175 public static ScanRecord parseFromBytes(byte[] scanRecord) { argument
176 if (scanRecord == null) {
190 while (currentPos < scanRecord.length) {
192 int length = scanRecord[currentPos++] & 0xFF;
199 int fieldType = scanRecord[currentPos++] & 0xFF;
202 advertiseFlag = scanRecord[currentPos] & 0xFF;
206 parseServiceUuid(scanRecord, currentPos,
211 parseServiceUuid(scanRecord, currentPos, dataLength,
216 parseServiceUuid(scanRecord, currentPo
277 parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength, int uuidLength, List<ParcelUuid> serviceUuids) argument
290 extractBytes(byte[] scanRecord, int start, int length) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java2219 * @param scanRecord The content of the advertisement record offered by
2222 public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); argument
2294 ScanRecord scanRecord = result.getScanRecord();
2295 if (scanRecord == null) {
2303 List<ParcelUuid> scanServiceUuids = scanRecord.getServiceUuids();
2310 scanRecord.getBytes());

Completed in 116 milliseconds