Home
last modified time | relevance | path

Searched refs:ScanRecord (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/system/chre/apps/wifi_offload/
H A Dscan_record.cc21 ScanRecord::ScanRecord() in ScanRecord() function in wifi_offload::ScanRecord
26 bool ScanRecord::operator==(const ScanRecord &other) const { in operator ==()
35 flatbuffers::Offset<ScanRecord::FbsType> ScanRecord::Serialize( in Serialize()
41 bool ScanRecord::Deserialize(const ScanRecord::FbsType &fbs_record) { in Deserialize()
H A Dscan_stats.cc69 !DeserializeVector<ScanRecord>(*scan_recs, &scan_records_)) { in Deserialize()
/aosp12/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dscan_record.h26 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);
H A Dscan_stats.h59 Vector<ScanRecord> scan_records_;
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
H A DScanRecordTest.java54 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(RECORD_URL)) in testMatchesAnyField_Eddystone_Parser()
81 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(RECORD_IBEACON)) in testMatchesAnyField_iBeacon_Parser()
111 ScanRecord data = ScanRecord.parseFromBytes(scanRecord); in testParser()
140 assertTrue(ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(record)) in assertMatchesAnyField()
145 assertFalse(ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(record)) in assertNotMatchesAnyField()
H A DScanFilterTest.java22 import android.bluetooth.le.ScanRecord;
55 mScanResult = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), in setUp()
H A DScanResultTest.java46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in testScanResultParceling()
/aosp12/frameworks/base/core/java/android/bluetooth/le/
H A DPeriodicAdvertisingReport.java50 private ScanRecord mData;
59 int dataStatus, ScanRecord data) { in PeriodicAdvertisingReport()
91 mData = ScanRecord.parseFromBytes(in.createByteArray()); in readFromParcel()
134 public ScanRecord getData() { in getData()
H A DScanResult.java82 private ScanRecord mScanRecord;
108 public ScanResult(BluetoothDevice device, ScanRecord scanRecord, int rssi, in ScanResult()
138 ScanRecord scanRecord, long timestampNanos) { in ScanResult()
184 mScanRecord = ScanRecord.parseFromBytes(in.createByteArray()); in readFromParcel()
217 public ScanRecord getScanRecord() { in getScanRecord()
H A DScanRecord.java39 public final class ScanRecord { class
195 private ScanRecord(List<ParcelUuid> serviceUuids, in ScanRecord() method in ScanRecord
223 public static ScanRecord parseFromBytes(byte[] scanRecord) { in parseFromBytes()
325 return new ScanRecord(serviceUuids, serviceSolicitationUuids, manufacturerData, in parseFromBytes()
331 return new ScanRecord(null, null, null, null, -1, Integer.MIN_VALUE, null, scanRecord); in parseFromBytes()
H A DScanFilter.java380 ScanRecord scanRecord = scanResult.getScanRecord(); in matches()
/aosp12/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
H A Dflatbuffers_types_generated.h33 struct ScanRecord;
523 struct ScanRecord FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
549 typedef ScanRecord Table;
553 fbb_.AddElement<uint32_t>(ScanRecord::VT_TIME_SPENT_SCANNING_MS, time_spent_scanning_ms, 0); in add_time_spent_scanning_ms()
556 fbb_.AddElement<uint32_t>(ScanRecord::VT_NUM_CHANNELS_SCANNED, num_channels_scanned, 0); in add_num_channels_scanned()
559 fbb_.AddElement<uint32_t>(ScanRecord::VT_NUM_ENTRIES_AGGREGATED, num_entries_aggregated, 0); in add_num_entries_aggregated()
566 flatbuffers::Offset<ScanRecord> Finish() { in Finish()
568 auto o = flatbuffers::Offset<ScanRecord>(end); in Finish()
573 inline flatbuffers::Offset<ScanRecord> CreateScanRecord(
671 …const flatbuffers::Vector<flatbuffers::Offset<wifi_offload::fbs::ScanRecord>> *scan_records() cons… in scan_records()
[all …]
H A Dflatbuffers_types.fbs84 table ScanRecord {
88 * may be combined together into a single ScanRecord by adding up values to
114 scan_records:[ScanRecord];
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DPeriodicScanManager.java21 import android.bluetooth.le.ScanRecord;
160 ScanRecord.parseFromBytes(data)); in onSyncReport()
H A DGattService.java46 import android.bluetooth.le.ScanRecord;
251 final ScanRecord scanRecord = scanResult.getScanRecord();
1136 ScanRecord record = result.getScanRecord(); in getSanitizedExposureNotification()
1140 record = ScanRecord.parseFromBytes( in getSanitizedExposureNotification()
1209 ScanRecord scanRecord = ScanRecord.parseFromBytes(scanRecordData); in onScanResultInternal()
2007 results.add(new ScanResult(device, ScanRecord.parseFromBytes(new byte[0]), rssi, in parseTruncatedResults()
2055 results.add(new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi, in parseFullResults()
2112 new ScanResult(device, ScanRecord.parseFromBytes(trackingInfo.getResult()), in onTrackAdvFoundLost()
/aosp12/system/chre/apps/wifi_offload/test/
H A Dutility.cc82 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen) { in init()
108 init<wifi_offload::ScanRecord>(stats.scan_records_, rand_gen); in init()
H A Doffloadtypes_test.cc73 wifi_offload::ScanConfig, wifi_offload::ScanRecord,
/aosp12/system/chre/apps/wifi_offload/test/include/
H A Dutility.h65 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen);
/aosp12/hardware/interfaces/wifi/offload/1.0/
H A Dtypes.hal117 struct ScanRecord {
197 vec<ScanRecord> scanRecord;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java24 import android.bluetooth.le.ScanRecord;
538 final ScanRecord scanRecord = result.getScanRecord(); in isDeviceDiscoverable()
/aosp12/frameworks/base/core/java/android/companion/
H A DBluetoothLeDeviceFilter.java30 import android.bluetooth.le.ScanRecord;
/aosp12/system/bt/service/test/
H A Dlow_energy_scanner_unittest.cc296 TEST_F(LowEnergyScannerPostRegisterTest, ScanRecord) { in TEST_F() argument
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java47 import android.bluetooth.le.ScanRecord;
3791 ScanRecord scanRecord = result.getScanRecord(); in startLeScan()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt12444 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_FLAGS:I
12446 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_LOCAL_NAME_SHORT:I
12457 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_TX_POWER_LEVEL:I
12458 Landroid/bluetooth/le/ScanRecord;->extractBytes([BII)[B
12459 Landroid/bluetooth/le/ScanRecord;->mAdvertiseFlags:I
12460 Landroid/bluetooth/le/ScanRecord;->mBytes:[B
12461 Landroid/bluetooth/le/ScanRecord;->mDeviceName:Ljava/lang/String;
12463 Landroid/bluetooth/le/ScanRecord;->mServiceData:Ljava/util/Map;
12464 Landroid/bluetooth/le/ScanRecord;->mServiceUuids:Ljava/util/List;
12465 Landroid/bluetooth/le/ScanRecord;->mTxPowerLevel:I
[all …]
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes1189 android.bluetooth.le.ScanRecord

12