Home
last modified time | relevance | path

Searched refs:adv_data (Results 1 – 21 of 21) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc62 tBTM_BLE_TRACK_ADV_DATA adv_data; in btm_ble_batchscan_filter_track_adv_vse_cback() local
82 memset(&adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in btm_ble_batchscan_filter_track_adv_vse_cback()
84 adv_data.client_if = (uint8_t)ble_advtrack_cb.ref_value; in btm_ble_batchscan_filter_track_adv_vse_cback()
86 STREAM_TO_UINT8(adv_data.filt_index, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
87 STREAM_TO_UINT8(adv_data.advertiser_state, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
88 STREAM_TO_UINT8(adv_data.advertiser_info_present, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
89 STREAM_TO_BDADDR(adv_data.bd_addr, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
90 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
93 if (ADV_INFO_PRESENT == adv_data.advertiser_info_present) { in btm_ble_batchscan_filter_track_adv_vse_cback()
95 STREAM_TO_UINT8(adv_data.tx_power, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
[all …]
Dbtm_ble_gap.cc938 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_set_adv_flag()
1341 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_update_adv_flag()
1376 std::vector<uint8_t> const& adv_data) { in btm_ble_is_discoverable() argument
1392 if (!adv_data.empty()) { in btm_ble_is_discoverable()
1394 adv_data, BTM_BLE_AD_TYPE_FLAG, &data_len); in btm_ble_is_discoverable()
1858 std::vector<uint8_t> const& adv_data = in btm_ble_process_adv_pkt_cont() local
1878 if (!AdvertiseDataParser::IsValid(adv_data)) { in btm_ble_process_adv_pkt_cont()
1880 << base::HexEncode(adv_data.data(), adv_data.size()); in btm_ble_process_adv_pkt_cont()
1920 periodic_adv_int, adv_data); in btm_ble_process_adv_pkt_cont()
1922 uint8_t result = btm_ble_is_discoverable(bda, adv_data); in btm_ble_process_adv_pkt_cont()
[all …]
Dble_advertiser_hci_interface.h101 uint8_t* adv_data,
Dbtm_ble_int_types.h145 tBTM_BLE_LOCAL_ADV_DATA adv_data; member
Dble_advertiser_hci_interface.cc674 uint8_t adv_data_length, uint8_t* adv_data, in SetPeriodicAdvertisingData() argument
685 ARRAY_TO_STREAM(pp, adv_data, adv_data_length); in SetPeriodicAdvertisingData()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dbroken_adv.cc122 std::vector<uint8_t> adv_data; in UpdateAdvertisement() local
123 for (size_t i = 0; i < constant_adv_data_.size(); i++) adv_data.push_back(constant_adv_data_[i]); in UpdateAdvertisement()
125 RandomizeAdvertisement(adv_data, 31 - adv_data.size()); in UpdateAdvertisement()
126 properties_.SetLeAdvertisement(adv_data); in UpdateAdvertisement()
128 adv_data.clear(); in UpdateAdvertisement()
129 RandomizeAdvertisement(adv_data, 31); in UpdateAdvertisement()
130 properties_.SetLeScanResponse(adv_data); in UpdateAdvertisement()
/system/bt/service/
Dlow_energy_scanner.cc143 std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
152 size_t record_len = GetScanRecordLength(adv_data); in ScanResultCallback()
153 std::vector<uint8_t> scan_record(adv_data.begin(), in ScanResultCallback()
154 adv_data.begin() + record_len); in ScanResultCallback()
Dlow_energy_scanner.h89 std::vector<uint8_t> adv_data) override;
Dgatt_server_old.cc379 std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
/system/bt/stack/test/
Dble_advertiser_test.cc441 std::vector<uint8_t> adv_data; in TEST_F() local
473 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
516 std::vector<uint8_t> adv_data; in TEST_F() local
534 &params, adv_data, scan_resp, 0, base::Callback<void(uint8_t)>()); in TEST_F()
681 std::vector<uint8_t> adv_data; in TEST_F() local
723 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
795 std::vector<uint8_t> adv_data; in TEST_F() local
840 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
955 std::vector<uint8_t> adv_data; in TEST_F() local
1000 &params, adv_data, scan_resp, &periodic_params, periodic_data, duration, in TEST_F()
[all …]
/system/bt/test/suite/gatt/
Dgatt_test.h65 std::vector<uint8_t> adv_data) override;
Dgatt_test.cc102 int rssi, std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc284 AdvertiseData adv_data, scan_rsp; in TEST_F() local
299 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
308 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
321 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
337 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc180 const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) { in NotifyScanResultCallback() argument
182 observer.ScanResultCallback(this, bda, rssi, adv_data); in NotifyScanResultCallback()
Dfake_bluetooth_gatt_interface.h82 std::vector<uint8_t> adv_data);
Dbluetooth_gatt_interface.h57 std::vector<uint8_t> adv_data); // NOLINT(pass-by-value)
Dbluetooth_gatt_interface.cc99 std::vector<uint8_t> adv_data) { // NOLINT(pass-by-value) in ScanResultCallback() argument
107 ScanResultCallback(g_interface, *bda, rssi, adv_data)); in ScanResultCallback()
/system/bt/include/hardware/
Dble_scanner.h44 std::vector<uint8_t> adv_data);
/system/tools/hidl/c2hal/test/
Dtest.h274 typedef void (*scan_result_callback)(FooFooBarFoo* bda, int rssi, vector<uint8_t> adv_data);
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc73 bluetooth::AdvertiseData adv_data(data); in OnAdvertiserRegistered() local
79 ble->StartMultiAdvertising(advertiser_id, adv_data, scan_rsp, settings, in OnAdvertiserRegistered()
/system/bt/service/client/
Dmain.cc732 bluetooth::AdvertiseData adv_data(data); in HandleStartAdv() local
747 ble_advertiser_id.load(), adv_data, scan_rsp, settings, &status); in HandleStartAdv()