Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc65 tBTM_BLE_TRACK_ADV_DATA adv_data; in btm_ble_batchscan_filter_track_adv_vse_cback() local
85 memset(&adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in btm_ble_batchscan_filter_track_adv_vse_cback()
87 adv_data.client_if = (uint8_t)ble_advtrack_cb.ref_value; in btm_ble_batchscan_filter_track_adv_vse_cback()
89 STREAM_TO_UINT8(adv_data.filt_index, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
90 STREAM_TO_UINT8(adv_data.advertiser_state, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
91 STREAM_TO_UINT8(adv_data.advertiser_info_present, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
92 STREAM_TO_BDADDR(adv_data.bd_addr, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
93 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
96 if (ADV_INFO_PRESENT == adv_data.advertiser_info_present) { in btm_ble_batchscan_filter_track_adv_vse_cback()
98 STREAM_TO_UINT8(adv_data.tx_power, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
[all …]
Dbtm_ble_gap.cc1004 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_set_adv_flag()
1401 tBTM_BLE_LOCAL_ADV_DATA* p_adv_data = &btm_cb.ble_ctr_cb.inq_var.adv_data; in btm_ble_update_adv_flag()
1436 std::vector<uint8_t> const& adv_data) { in btm_ble_is_discoverable() argument
1443 if (!adv_data.empty()) { in btm_ble_is_discoverable()
1447 adv_data, BTM_BLE_AD_TYPE_FLAG, &data_len); in btm_ble_is_discoverable()
1903 std::vector<uint8_t> const& adv_data = in btm_ble_process_adv_pkt_cont() local
1923 if (!AdvertiseDataParser::IsValid(adv_data)) { in btm_ble_process_adv_pkt_cont()
1925 << base::HexEncode(adv_data.data(), adv_data.size()); in btm_ble_process_adv_pkt_cont()
1966 periodic_adv_int, adv_data); in btm_ble_process_adv_pkt_cont()
1968 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.h114 tBTM_BLE_LOCAL_ADV_DATA adv_data; member
Dble_advertiser_hci_interface.cc675 uint8_t adv_data_length, uint8_t* adv_data, in SetPeriodicAdvertisingData() argument
686 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.cc380 std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
/system/bt/main/shim/
Dle_scanning_manager.cc287 auto adv_data = on_found_on_lost_info.adv_packet; in OnTrackAdvFoundLost() local
288 track_info.adv_packet_len = (uint8_t)adv_data.size(); in OnTrackAdvFoundLost()
289 track_info.adv_packet.reserve(adv_data.size()); in OnTrackAdvFoundLost()
291 adv_data.begin(), adv_data.end()); in OnTrackAdvFoundLost()
294 track_info.scan_response.reserve(adv_data.size()); in OnTrackAdvFoundLost()
/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/include/hardware/
Dble_scanner.h46 std::vector<uint8_t> adv_data);
86 std::vector<uint8_t> adv_data) = 0;
/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.cc286 AdvertiseData adv_data, scan_rsp; in TEST_F() local
301 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
310 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
323 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
339 le_advertiser_->StartAdvertising(settings, adv_data, scan_rsp, callback)); in TEST_F()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc184 const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) { in NotifyScanResultCallback() argument
186 observer.ScanResultCallback(this, bda, rssi, adv_data); in NotifyScanResultCallback()
Dfake_bluetooth_gatt_interface.h85 std::vector<uint8_t> adv_data);
Dbluetooth_gatt_interface.h57 std::vector<uint8_t> adv_data); // NOLINT(pass-by-value)
Dbluetooth_gatt_interface.cc100 std::vector<uint8_t> adv_data) { // NOLINT(pass-by-value) in ScanResultCallback() argument
108 ScanResultCallback(g_interface, *bda, rssi, adv_data)); in ScanResultCallback()
/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/gd/hci/
Dle_scanning_manager.cc442 …std::vector<uint8_t> const& adv_data = is_start ? advertising_cache_.Set(address_with_type, advert… in process_advertising_package_content() local
466 adv_data); in process_advertising_package_content()
1182 auto adv_data = info_view.GetAdvPacket(); in on_advertisement_tracking() local
1183 on_found_on_lost_info.adv_packet.reserve(adv_data.size()); in on_advertisement_tracking()
1184 …t_info.adv_packet.insert(on_found_on_lost_info.adv_packet.end(), adv_data.begin(), adv_data.end()); in on_advertisement_tracking()
/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()