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

/frameworks/base/core/java/android/bluetooth/le/
H A DScanRecord.java174 * @param scanRecord The scan record of Bluetooth LE advertisement and/or scan response.
177 public static ScanRecord parseFromBytes(byte[] scanRecord) { argument
178 if (scanRecord == null) {
192 while (currentPos < scanRecord.length) {
194 int length = scanRecord[currentPos++] & 0xFF;
201 int fieldType = scanRecord[currentPos++] & 0xFF;
204 advertiseFlag = scanRecord[currentPos] & 0xFF;
208 parseServiceUuid(scanRecord, currentPos,
213 parseServiceUuid(scanRecord, currentPos, dataLength,
218 parseServiceUuid(scanRecord, currentPo
285 parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength, int uuidLength, List<ParcelUuid> serviceUuids) argument
298 extractBytes(byte[] scanRecord, int start, int length) argument
[all...]
H A DScanResult.java98 * @param scanRecord Scan record including both advertising data and scan response data.
103 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, argument
106 mScanRecord = scanRecord;
128 * @param scanRecord Scan record including both advertising data and scan response data.
133 ScanRecord scanRecord, long timestampNanos) {
142 mScanRecord = scanRecord;
323 return "ScanResult{" + "device=" + mDevice + ", scanRecord=" +
131 ScanResult(BluetoothDevice device, int eventType, int primaryPhy, int secondaryPhy, int advertisingSid, int txPower, int rssi, int periodicAdvertisingInterval, ScanRecord scanRecord, long timestampNanos) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java2361 * @param scanRecord The content of the advertisement record offered by
2364 public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); argument
2432 ScanRecord scanRecord = result.getScanRecord();
2433 if (scanRecord == null) {
2441 List<ParcelUuid> scanServiceUuids = scanRecord.getServiceUuids();
2448 scanRecord.getBytes());

Completed in 974 milliseconds