Searched refs:scanRecord (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanRecord.java | 223 public static ScanRecord parseFromBytes(byte[] scanRecord) { in parseFromBytes() argument 224 if (scanRecord == null) { in parseFromBytes() 239 while (currentPos < scanRecord.length) { in parseFromBytes() 241 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 248 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 251 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes() 255 parseServiceUuid(scanRecord, currentPos, in parseFromBytes() 260 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 265 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 269 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes() [all …]
|
D | ScanResult.java | 108 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() argument 111 mScanRecord = scanRecord; in ScanResult() 138 ScanRecord scanRecord, long timestampNanos) { in ScanResult() argument 147 mScanRecord = scanRecord; in ScanResult()
|
D | ScanFilter.java | 380 ScanRecord scanRecord = scanResult.getScanRecord(); in matches() local 383 if (scanRecord == null in matches() 390 if (mDeviceName != null && !mDeviceName.equals(scanRecord.getDeviceName())) { in matches() 396 scanRecord.getServiceUuids())) { in matches() 403 scanRecord.getServiceSolicitationUuids())) { in matches() 410 scanRecord.getServiceData(mServiceDataUuid))) { in matches() 418 scanRecord.getManufacturerSpecificData(mManufacturerId))) { in matches()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanResultTest.java | 41 byte[] scanRecord = new byte[] { in testScanResultParceling() 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in testScanResultParceling()
|
D | ScanRecordTest.java | 102 byte[] scanRecord = new byte[] { in testParser() 111 ScanRecord data = ScanRecord.parseFromBytes(scanRecord); in testParser()
|
D | ScanFilterTest.java | 43 byte[] scanRecord = new byte[] { in setUp() 55 mScanResult = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 538 final ScanRecord scanRecord = result.getScanRecord(); in isDeviceDiscoverable() local 539 final int flags = scanRecord.getAdvertiseFlags(); in isDeviceDiscoverable()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3653 void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); in onLeScan() argument 3791 ScanRecord scanRecord = result.getScanRecord(); in startLeScan() 3792 if (scanRecord == null) { in startLeScan() 3800 List<ParcelUuid> scanServiceUuids = scanRecord.getServiceUuids(); in startLeScan() 3809 scanRecord.getBytes()); in startLeScan()
|