Searched refs:scanRecord (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanRecord.java | 175 public static ScanRecord parseFromBytes(byte[] scanRecord) { in parseFromBytes() argument 176 if (scanRecord == null) { in parseFromBytes() 190 while (currentPos < scanRecord.length) { in parseFromBytes() 192 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 199 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 202 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes() 206 parseServiceUuid(scanRecord, currentPos, in parseFromBytes() 211 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 216 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 222 extractBytes(scanRecord, currentPos, dataLength)); in parseFromBytes() [all …]
|
D | ScanFilter.java | 282 ScanRecord scanRecord = scanResult.getScanRecord(); in matches() local 285 if (scanRecord == null in matches() 292 if (mDeviceName != null && !mDeviceName.equals(scanRecord.getDeviceName())) { in matches() 298 scanRecord.getServiceUuids())) { in matches() 305 scanRecord.getServiceData(mServiceDataUuid))) { in matches() 313 scanRecord.getManufacturerSpecificData(mManufacturerId))) { in matches()
|
D | ScanResult.java | 51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult() argument 54 mScanRecord = scanRecord; in ScanResult()
|
/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/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 2237 public void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord); in onLeScan() argument 2309 ScanRecord scanRecord = result.getScanRecord(); in startLeScan() 2310 if (scanRecord == null) { in startLeScan() 2318 List<ParcelUuid> scanServiceUuids = scanRecord.getServiceUuids(); in startLeScan() 2325 scanRecord.getBytes()); in startLeScan()
|
/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/docs/html/guide/topics/connectivity/ |
D | bluetooth-le.jd | 307 byte[] scanRecord) {
|