/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 65 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 …]
|
D | btm_ble_gap.cc | 1004 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 …]
|
D | ble_advertiser_hci_interface.h | 101 uint8_t* adv_data,
|
D | btm_ble_int_types.h | 114 tBTM_BLE_LOCAL_ADV_DATA adv_data; member
|
D | ble_advertiser_hci_interface.cc | 675 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/ |
D | broken_adv.cc | 122 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/ |
D | low_energy_scanner.cc | 143 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()
|
D | low_energy_scanner.h | 89 std::vector<uint8_t> adv_data) override;
|
D | gatt_server_old.cc | 380 std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
|
/system/bt/main/shim/ |
D | le_scanning_manager.cc | 287 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/ |
D | ble_advertiser_test.cc | 439 std::vector<uint8_t> adv_data; in TEST_F() local 471 ¶ms, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F() 514 std::vector<uint8_t> adv_data; in TEST_F() local 532 ¶ms, 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 ¶ms, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F() 793 std::vector<uint8_t> adv_data; in TEST_F() local 838 ¶ms, adv_data, scan_resp, &periodic_params, periodic_data, in TEST_F() 953 std::vector<uint8_t> adv_data; in TEST_F() local 998 ¶ms, adv_data, scan_resp, &periodic_params, periodic_data, duration, in TEST_F() [all …]
|
/system/bt/include/hardware/ |
D | ble_scanner.h | 46 std::vector<uint8_t> adv_data); 86 std::vector<uint8_t> adv_data) = 0;
|
/system/bt/test/suite/gatt/ |
D | gatt_test.h | 65 std::vector<uint8_t> adv_data) override;
|
D | gatt_test.cc | 102 int rssi, std::vector<uint8_t> adv_data) { in ScanResultCallback() argument
|
/system/bt/service/test/ |
D | low_energy_advertiser_unittest.cc | 286 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/ |
D | fake_bluetooth_gatt_interface.cc | 184 const RawAddress& bda, int rssi, std::vector<uint8_t> adv_data) { in NotifyScanResultCallback() argument 186 observer.ScanResultCallback(this, bda, rssi, adv_data); in NotifyScanResultCallback()
|
D | fake_bluetooth_gatt_interface.h | 85 std::vector<uint8_t> adv_data);
|
D | bluetooth_gatt_interface.h | 57 std::vector<uint8_t> adv_data); // NOLINT(pass-by-value)
|
D | bluetooth_gatt_interface.cc | 100 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/ |
D | test.h | 274 typedef void (*scan_result_callback)(FooFooBarFoo* bda, int rssi, vector<uint8_t> adv_data);
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 73 bluetooth::AdvertiseData adv_data(data); in OnAdvertiserRegistered() local 79 ble->StartMultiAdvertising(advertiser_id, adv_data, scan_rsp, settings, in OnAdvertiserRegistered()
|
/system/bt/gd/hci/ |
D | le_scanning_manager.cc | 442 …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/ |
D | main.cc | 732 bluetooth::AdvertiseData adv_data(data); in HandleStartAdv() local 747 ble_advertiser_id.load(), adv_data, scan_rsp, settings, &status); in HandleStartAdv()
|