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

1 2

  /system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
scan_record.h 26 class ScanRecord {
30 using FbsType = fbs::ScanRecord;
32 ScanRecord();
33 ~ScanRecord() = default;
35 bool operator==(const ScanRecord &other) const;
37 flatbuffers::Offset<ScanRecord::FbsType> Serialize(
40 bool Deserialize(const ScanRecord::FbsType &fbs_record);
45 * may be combined together into a single ScanRecord by adding up values to
flatbuffers_types.fbs 84 table ScanRecord {
88 * may be combined together into a single ScanRecord by adding up values to
114 scan_records:[ScanRecord];
scan_stats.h 59 Vector<ScanRecord> scan_records_;
flatbuffers_types_generated.h 41 struct ScanRecord;
502 struct ScanRecord FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
530 fbb_.AddElement<uint32_t>(ScanRecord::VT_TIME_SPENT_SCANNING_MS,
534 fbb_.AddElement<uint32_t>(ScanRecord::VT_NUM_CHANNELS_SCANNED,
538 fbb_.AddElement<uint32_t>(ScanRecord::VT_NUM_ENTRIES_AGGREGATED,
545 flatbuffers::Offset<ScanRecord> Finish() {
547 auto o = flatbuffers::Offset<ScanRecord>(end);
552 inline flatbuffers::Offset<ScanRecord> CreateScanRecord(
640 const flatbuffers::Vector<flatbuffers::Offset<ScanRecord>> *scan_records()
643 const flatbuffers::Vector<flatbuffers::Offset<ScanRecord>> *>(
    [all...]
  /system/chre/apps/wifi_offload/
scan_record.cc 21 ScanRecord::ScanRecord()
26 bool ScanRecord::operator==(const ScanRecord &other) const {
35 flatbuffers::Offset<ScanRecord::FbsType> ScanRecord::Serialize(
41 bool ScanRecord::Deserialize(const ScanRecord::FbsType &fbs_record) {
scan_stats.cc 69 !DeserializeVector<ScanRecord>(*scan_recs, &scan_records_)) {
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
TestUtils.java 19 import android.bluetooth.le.ScanRecord;
35 * Utility method to call hidden ScanRecord.parseFromBytes method.
37 static ScanRecord parseScanRecord(byte[] bytes) {
38 Class<?> scanRecordClass = ScanRecord.class;
41 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 25 import android.bluetooth.le.ScanRecord;
167 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/
PeriodicAdvertisingReport.java 50 private ScanRecord mData;
59 int dataStatus, ScanRecord data) {
91 mData = ScanRecord.parseFromBytes(in.createByteArray());
134 public ScanRecord getData() {
ScanRecord.java 34 public final class ScanRecord {
36 private static final String TAG = "ScanRecord";
152 private ScanRecord(List<ParcelUuid> serviceUuids,
167 * Parse scan record bytes to {@link ScanRecord}.
174 * @param scanRecord The scan record of Bluetooth LE advertisement and/or scan response.
177 public static ScanRecord parseFromBytes(byte[] scanRecord) {
178 if (scanRecord == null) {
192 while (currentPos < scanRecord.length) {
194 int length = scanRecord[currentPos++] & 0xFF
    [all...]
ScanResult.java 79 private ScanRecord mScanRecord;
98 * @param scanRecord Scan record including both advertising data and scan response data.
102 * ScanRecord, long)}
105 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi,
108 mScanRecord = scanRecord;
130 * @param scanRecord Scan record including both advertising data and scan response data.
135 ScanRecord scanRecord, long timestampNanos) {
144 mScanRecord = scanRecord;
    [all...]
  /system/connectivity/wificond/tests/
offload_test_utils.cpp 24 using android::hardware::wifi::offload::V1_0::ScanRecord;
52 std::vector<ScanRecord> scan_records;
60 ScanRecord scan_record;
68 scan_stats.scanRecord = scan_records;
offload_scan_utils_test.cpp 30 using android::hardware::wifi::offload::V1_0::ScanRecord;
  /hardware/interfaces/wifi/offload/1.0/
types.hal 117 struct ScanRecord {
197 vec<ScanRecord> scanRecord;
  /system/chre/apps/wifi_offload/test/include/
utility.h 65 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen);
  /system/chre/apps/wifi_offload/test/
offloadtypes_test.cc 73 wifi_offload::ScanConfig, wifi_offload::ScanRecord,
utility.cc 82 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen) {
108 init<wifi_offload::ScanRecord>(stats.scan_records_, rand_gen);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleScannerService.java 26 import android.bluetooth.le.ScanRecord;
166 ScanRecord record = result.getScanRecord();
  /device/google/wahoo/wifi_offload/test/
offload_hal_test_utils.cpp 50 wifi_offload::ScanRecord scanRecord1;
55 wifi_offload::ScanRecord scanRecord2;
166 if (hidlScanStats.scanRecord.size() != chreScanStats.scan_records_.size())
169 for (const auto& scanRecord : hidlScanStats.scanRecord) {
170 if (scanRecord.durationMs != chreScanStats.scan_records_[i].time_spent_scanning_ms_)
172 if (scanRecord.numChannelsScanned != chreScanStats.scan_records_[i].num_channels_scanned_)
174 if (scanRecord.numEntriesAggregated !=
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
PeriodicScanManager.java 21 import android.bluetooth.le.ScanRecord;
160 ScanRecord.parseFromBytes(data));
  /device/google/wahoo/wifi_offload/
offload_utils.cpp 160 std::vector<ScanRecord> hidlScanRecords;
162 ScanRecord hidlScanRecord;
168 hidlScanStats->scanRecord = hidlScanRecords;

Completed in 162 milliseconds

1 2