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
81 memset(&adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in btm_ble_batchscan_filter_track_adv_vse_cback()
83 adv_data.client_if = (uint8_t)ble_advtrack_cb.ref_value; in btm_ble_batchscan_filter_track_adv_vse_cback()
85 STREAM_TO_UINT8(adv_data.filt_index, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
86 STREAM_TO_UINT8(adv_data.advertiser_state, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
87 STREAM_TO_UINT8(adv_data.advertiser_info_present, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
88 STREAM_TO_BDADDR(adv_data.bd_addr, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
89 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
92 if (ADV_INFO_PRESENT == adv_data.advertiser_info_present) { in btm_ble_batchscan_filter_track_adv_vse_cback()
93 STREAM_TO_UINT8(adv_data.tx_power, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
[all …]
Dbtm_ble_gap.cc1026 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_set_adv_flag()
1427 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_update_adv_flag()
1462 std::vector<uint8_t> const& adv_data) { in btm_ble_is_discoverable() argument
1478 if (!adv_data.empty()) { in btm_ble_is_discoverable()
1480 adv_data, BTM_BLE_AD_TYPE_FLAG, &data_len); in btm_ble_is_discoverable()
1929 std::vector<uint8_t> const& adv_data = in btm_ble_process_adv_pkt_cont() local
1949 if (!AdvertiseDataParser::IsValid(adv_data)) { in btm_ble_process_adv_pkt_cont()
1951 << base::HexEncode(adv_data.data(), adv_data.size()); in btm_ble_process_adv_pkt_cont()
1988 periodic_adv_int, adv_data); in btm_ble_process_adv_pkt_cont()
1990 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.h148 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.cc140 std::vector<uint8_t> adv_data; in UpdateAdvertisement() local
141 for (size_t i = 0; i < constant_adv_data_.size(); i++) adv_data.push_back(constant_adv_data_[i]); in UpdateAdvertisement()
143 RandomizeAdvertisement(adv_data, 31 - adv_data.size()); in UpdateAdvertisement()
144 properties_.SetLeAdvertisement(adv_data); in UpdateAdvertisement()
146 adv_data.clear(); in UpdateAdvertisement()
147 RandomizeAdvertisement(adv_data, 31); in UpdateAdvertisement()
148 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.cc378 std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
/system/bt/stack/test/
Dble_advertiser_test.cc439 std::vector<uint8_t> adv_data; in TEST_F() local
471 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
514 std::vector<uint8_t> adv_data; in TEST_F() local
532 &params, adv_data, scan_resp, 0, base::Callback<void(uint8_t)>()); in TEST_F()
679 std::vector<uint8_t> adv_data; in TEST_F() local
721 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
793 std::vector<uint8_t> adv_data; in TEST_F() local
838 &params, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F()
953 std::vector<uint8_t> adv_data; in TEST_F() local
998 &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()