Searched refs:scanRecord (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanRecord.java | 199 public static ScanRecord parseFromBytes(byte[] scanRecord) { in parseFromBytes() argument 200 if (scanRecord == null) { in parseFromBytes() 215 while (currentPos < scanRecord.length) { in parseFromBytes() 217 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 224 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 227 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes() 231 parseServiceUuid(scanRecord, currentPos, in parseFromBytes() 236 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 241 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 245 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes() [all …]
|
D | ScanResult.java | 105 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() argument 108 mScanRecord = scanRecord; in ScanResult() 135 ScanRecord scanRecord, long timestampNanos) { in ScanResult() argument 144 mScanRecord = scanRecord; in ScanResult()
|
D | ScanFilter.java | 330 ScanRecord scanRecord = scanResult.getScanRecord(); in matches() local 333 if (scanRecord == null in matches() 340 if (mDeviceName != null && !mDeviceName.equals(scanRecord.getDeviceName())) { in matches() 346 scanRecord.getServiceUuids())) { in matches() 353 scanRecord.getServiceSolicitationUuids())) { in matches() 360 scanRecord.getServiceData(mServiceDataUuid))) { in matches() 368 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 | 37 byte[] scanRecord = new byte[] { in testParser() 46 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 | 534 final ScanRecord scanRecord = result.getScanRecord(); in isDeviceDiscoverable() local 535 final int flags = scanRecord.getAdvertiseFlags(); in isDeviceDiscoverable()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3118 void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); in onLeScan() argument 3194 ScanRecord scanRecord = result.getScanRecord(); in startLeScan() 3195 if (scanRecord == null) { in startLeScan() 3203 List<ParcelUuid> scanServiceUuids = scanRecord.getServiceUuids(); in startLeScan() 3212 scanRecord.getBytes()); in startLeScan()
|