HomeSort by relevance Sort by last modified time
    Searched refs:ScanRecord (Results 1 - 13 of 13) sorted by null

  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
TestUtils.java 19 import android.bluetooth.le.ScanRecord;
33 * Utility method to call hidden ScanRecord.parseFromBytes method.
35 static ScanRecord parseScanRecord(byte[] bytes) {
36 Class<?> scanRecordClass = ScanRecord.class;
39 return (ScanRecord)method.invoke(null, bytes);
ScanRecordTest.java 19 import android.bluetooth.le.ScanRecord;
25 * Unit test cases for {@link ScanRecord}.
34 byte[] scanRecord = new byte[] {
43 ScanRecord data = TestUtils.parseScanRecord(scanRecord);
BluetoothLeScanTest.java 24 import android.bluetooth.le.ScanRecord;
134 ScanRecord record = result.getScanRecord();
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
ScanRecordTest.java 19 import android.bluetooth.le.ScanRecord;
28 * Unit test cases for {@link ScanRecord}.
37 byte[] scanRecord = new byte[] {
46 ScanRecord data = ScanRecord.parseFromBytes(scanRecord);
ScanResultTest.java 41 byte[] scanRecord = new byte[] {
46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi,
ScanFilterTest.java 22 import android.bluetooth.le.ScanRecord;
43 byte[] scanRecord = new byte[] {
55 mScanResult = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord),
  /frameworks/base/core/java/android/bluetooth/le/
ScanResult.java 35 private ScanRecord mScanRecord;
47 * @param scanRecord Scan record including both advertising data and scan response data.
51 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi,
54 mScanRecord = scanRecord;
86 mScanRecord = ScanRecord.parseFromBytes(in.createByteArray());
108 public ScanRecord getScanRecord() {
ScanRecord.java 34 public final class ScanRecord {
36 private static final String TAG = "ScanRecord";
150 private ScanRecord(List<ParcelUuid> serviceUuids,
165 * Parse scan record bytes to {@link ScanRecord}.
172 * @param scanRecord The scan record of Bluetooth LE advertisement and/or scan response.
175 public static ScanRecord parseFromBytes(byte[] scanRecord) {
176 if (scanRecord == null) {
190 while (currentPos < scanRecord.length) {
192 int length = scanRecord[currentPos++] & 0xFF
    [all...]
ScanFilter.java 282 ScanRecord scanRecord = scanResult.getScanRecord();
285 if (scanRecord == null
292 if (mDeviceName != null && !mDeviceName.equals(scanRecord.getDeviceName())) {
298 scanRecord.getServiceUuids())) {
305 scanRecord.getServiceData(mServiceDataUuid))) {
313 scanRecord.getManufacturerSpecificData(mManufacturerId))) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleScannerService.java 27 import android.bluetooth.le.ScanRecord;
166 ScanRecord record = result.getScanRecord();
  /frameworks/base/core/java/android/bluetooth/
BluetoothAdapter.java 30 import android.bluetooth.le.ScanRecord;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
GattService.java 33 import android.bluetooth.le.ScanRecord;
607 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(adv_data),
    [all...]
  /prebuilts/sdk/21/
android.jar 

Completed in 121 milliseconds