Lines Matching defs:impl
199 struct LeScanningManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager
200 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() function
202 ~impl() { in ~impl()
208 void start( in start()
248 void stop() { in stop()
262 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
281 struct ExtendedEventTypeOptions {
291 void transform_to_extended_event_type(uint16_t* extended_event_type, ExtendedEventTypeOptions o) { in transform_to_extended_event_type()
299 void handle_advertising_report(LeAdvertisingReportView event_view) { in handle_advertising_report()
357 void handle_directed_advertising_report(LeDirectedAdvertisingReportView event_view) { in handle_directed_advertising_report()
372 void handle_extended_advertising_report(LeExtendedAdvertisingReportView event_view) { in handle_extended_advertising_report()
401 void process_advertising_package_content( in process_advertising_package_content()
471 void configure_scan() { in configure_scan()
509 void register_scanner(const Uuid app_uuid) { in register_scanner()
532 void unregister_scanner(ScannerId scanner_id) { in unregister_scanner()
546 void scan(bool start) { in scan()
559 void start_scan() { in start_scan()
587 void stop_scan() { in stop_scan()
606 void set_scan_parameters(LeScanType scan_type, uint16_t scan_interval, uint16_t scan_window) { in set_scan_parameters()
631 void scan_filter_enable(bool enable) { in scan_filter_enable()
643 void scan_filter_parameter_setup( in scan_filter_parameter_setup()
683 …scan_filter_add(uint8_t filter_index, std::vector<AdvertisingPacketContentFilterCommand> filters) { in scan_filter_add()
727 void update_address_filter( in update_address_filter()
740 void update_uuid_filter( in update_uuid_filter()
795 …void update_local_name_filter(ApcfAction action, uint8_t filter_index, std::vector<uint8_t> name) { in update_local_name_filter()
801 void update_manufacturer_data_filter( in update_manufacturer_data_filter()
836 void update_service_data_filter( in update_service_data_filter()
853 void batch_scan_set_storage_parameter( in batch_scan_set_storage_parameter()
880 void batch_scan_enable( in batch_scan_enable()
908 void batch_scan_disable() { in batch_scan_disable()
921 void batch_scan_set_scan_parameter( in batch_scan_set_scan_parameter()
967 …h_scan_read_results(ScannerId scanner_id, uint16_t total_num_of_records, BatchScanMode scan_mode) { in batch_scan_read_results()
992 void track_advertiser(ScannerId scanner_id) { in track_advertiser()
1004 void register_scanning_callback(ScanningCallback* scanning_callbacks) { in register_scanning_callback()
1008 void on_advertising_filter_complete(CommandCompleteView view) { in on_advertising_filter_complete()
1091 void on_batch_scan_complete(CommandCompleteView view) { in on_batch_scan_complete()
1104 void on_batch_scan_enable_complete(CommandCompleteView view) { in on_batch_scan_enable_complete()
1118 void on_batch_scan_disable_complete(CommandCompleteView view) { in on_batch_scan_disable_complete()
1128 void on_batch_scan_read_result_complete( in on_batch_scan_read_result_complete()
1153 void on_storage_threshold_breach(VendorSpecificEventView event) { in on_storage_threshold_breach()
1161 void on_advertisement_tracking(VendorSpecificEventView event) { in on_advertisement_tracking()
1193 void OnPause() override { in OnPause()
1200 void ack_pause() { in ack_pause()
1204 void OnResume() override { in OnResume()
1212 ScanApiType api_type_;
1214 Module* module_;
1215 os::Handler* module_handler_;
1216 hci::HciLayer* hci_layer_;
1217 hci::Controller* controller_;
1218 hci::VendorSpecificEventManager* vendor_specific_event_manager_;
1219 hci::LeScanningInterface* le_scanning_interface_;
1220 hci::LeAddressManager* le_address_manager_;
1221 bool address_manager_registered_ = false;
1222 NullScanningCallback null_scanning_callback_;
1223 ScanningCallback* scanning_callbacks_ = &null_scanning_callback_;
1224 std::vector<Scanner> scanners_;
1225 bool is_scanning_ = false;
1226 bool scan_on_resume_ = false;
1227 bool paused_ = false;
1228 AdvertisingCache advertising_cache_;
1229 bool is_filter_support_ = false;
1230 bool is_batch_scan_support_ = false;
1232 LeScanType le_scan_type_ = LeScanType::ACTIVE;
1233 uint32_t interval_ms_{1000};
1234 uint16_t window_ms_{1000};
1235 OwnAddressType own_address_type_{OwnAddressType::PUBLIC_DEVICE_ADDRESS};
1236 LeScanningFilterPolicy filter_policy_{LeScanningFilterPolicy::ACCEPT_ALL};
1237 BatchScanConfig batch_scan_config_;
1238 std::map<ScannerId, std::vector<uint8_t>> batch_scan_result_cache_;
1239 ScannerId tracker_id = kInvalidScannerId;
1241 static void check_status(CommandCompleteView view) { in check_status()