Home
last modified time | relevance | path

Searched refs:GetHandler (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc32 aclDevNull_ = new os::fuzz::DevNullQueue<AclView>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
34 aclInject_ = new os::fuzz::FuzzInjectQueue<AclBuilder>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
38 le_security_interface_ = hci_->GetLeSecurityInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start()
40 GetHandler()->Bind([](EventView) {}), in Start()
41 GetHandler()->Bind([](uint16_t, hci::ErrorCode) {}), in Start()
42 GetHandler()->Bind([](Address, ClassOfDevice) {}), in Start()
43 GetHandler()->Bind([](hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t) {})); in Start()
45 GetHandler()->Bind([](LeMetaEventView) {}), in Start()
46 GetHandler()->Bind([](uint16_t, hci::ErrorCode) {}), in Start()
47 GetHandler()->Bind([](hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t) {})); in Start()
[all …]
Dhci_layer_fuzz_client.h75 GetHandler()->BindOnce([](CommandStatusView /* status */) {})); in inject_command()
79 GetHandler()->BindOnce([](CommandCompleteView /* status */) {})); in inject_command()
Dfuzz_hci_layer.cc88 acl_dev_null_ = new os::fuzz::DevNullQueue<AclBuilder>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
90 acl_inject_ = new os::fuzz::FuzzInjectQueue<AclView>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler.cc214 GetHandler()->Call( in EnqueueOutgoingAclConnection()
219GetHandler()->Call(&impl::RegisterPendingIncomingConnection, common::Unretained(pimpl_.get()), add… in RegisterPendingIncomingConnection()
227 GetHandler()->Call( in ReportAclConnectionCompletion()
237 GetHandler()->Call(&impl::ReportOutgoingAclConnectionFailure, common::Unretained(pimpl_.get())); in ReportOutgoingAclConnectionFailure()
244 GetHandler()->Call( in CancelAclConnection()
256 GetHandler()->Call( in EnqueueRemoteNameRequest()
265GetHandler()->Call(&impl::ReportRemoteNameRequestCompletion, common::Unretained(pimpl_.get()), add… in ReportRemoteNameRequestCompletion()
269 GetHandler()->Call( in CancelRemoteNameRequest()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_test.cc74 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandStatusView>)… in SendHciCommandExpectingStatus()
79 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendHciCommandExpectingComplete()
85 … hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in SendSecurityCommandExpectingComplete()
88 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendSecurityCommandExpectingComplete()
94 …hci_->GetLeSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventVie… in SendLeSecurityCommandExpectingComplete()
97 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendLeSecurityCommandExpectingComplete()
103 …queue_end->RegisterEnqueue(GetHandler(), common::Bind(&DependsOnHci::handle_enqueue, common::Unret… in SendAclData()
109 …queue_end->RegisterEnqueue(GetHandler(), common::Bind(&DependsOnHci::handle_enqueue_iso, common::U… in SendIsoData()
144 …EventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)… in Start()
146 …SubeventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEv… in Start()
[all …]
Dcontroller.cc56 Handler* handler = module_.GetHandler(); in Start()
350 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::read_local_extended_features_complete_ha… in read_local_extended_features_complete_handler()
464 module_.GetHandler()->BindOnceOn( in read_default_erroneous_data_reporting_handler()
671 module_.GetHandler()->BindOnceOn( in le_get_vendor_capabilities_handler()
686 module_.GetHandler()->BindOnceOn( in le_get_vendor_capabilities_handler()
743 module_.GetHandler()->BindOnceOn( in set_controller_dab_audio_buffer_time()
751 module_.GetHandler()->BindOnce(check_complete<SetEventMaskCompleteView>)); in set_event_mask()
762 module_.GetHandler()->BindOnce(check_complete<WriteLeHostSupportCompleteView>)); in write_le_host_support()
769 module_.GetHandler()->BindOnce(check_complete<WriteSimplePairingModeCompleteView>)); in write_simple_pairing_mode()
775 std::move(packet), module_.GetHandler()->BindOnce(check_complete<ResetCompleteView>)); in reset()
[all …]
Dhci_layer.cc114 hci_timeout_alarm_ = new Alarm(module.GetHandler()); in impl()
280 …enqueue_command(ControllerDebugInfoBuilder::Create(), module_.GetHandler()->BindOnce([](CommandCom… in on_hci_timeout()
288 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in on_hci_timeout()
388 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in handle_root_inflammation()
546 module_.impl_->incoming_acl_buffer_.Enqueue(std::move(acl), module_.GetHandler()); in aclDataReceived()
553 module_.impl_->incoming_sco_buffer_.Enqueue(std::move(sco), module_.GetHandler()); in scoDataReceived()
560 module_.impl_->incoming_iso_buffer_.Enqueue(std::move(iso), module_.GetHandler()); in isoDataReceived()
817 Handler* handler = GetHandler(); in Start()
Dhci_layer_fake.cc197 os::Handler* hci_handler = GetHandler(); in IncomingAclData()
246 GetHandler()->Post( in Disconnect()
258 os::Handler* handler = GetHandler(); in Start()
Dacl_manager.cc69 handler_ = acl_manager_.GetHandler(); in Start()
211 GetHandler()->Post(common::BindOnce( in RegisterCallbacks()
/packages/modules/Bluetooth/system/gd/
Dmodule.h107 ::bluetooth::os::Handler* GetHandler() const;
118 GetHandler()->Call(std::forward<Functor>(functor), std::forward<Args>(args)...); in Call()
123 GetHandler()->CallOn(obj, std::forward<Functor>(functor), std::forward<Args>(args)...); in CallOn()
Dmodule_unittest.cc65 test_module_no_dependency_handler = GetHandler(); in Start()
98 test_module_one_dependency_handler = GetHandler(); in Start()
197 test_module_one_dependency_handler = GetHandler(); in Start()
Dmodule.cc34 Handler* Module::GetHandler() const { in GetHandler() function in bluetooth::Module
138 return started_instance->second->GetHandler(); in GetModuleHandler()
/packages/modules/Bluetooth/system/gd/neighbor/
Dname_db.cc135 GetHandler()->Post(common::BindOnce( in ReadRemoteNameRequest()
153 handler_ = module_.GetHandler(); in Start()
Dscan.cc158 handler_ = module_.GetHandler(); in Start()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_stack.cc47 os::Handler* Stack::GetHandler() { return stack_handler_; } in GetHandler() function in bluetooth::shim::Stack
/packages/modules/Bluetooth/system/main/shim/
Dstack.h60 os::Handler* GetHandler();
Dentry.cc40 os::Handler* GetGdShimHandler() { return Stack::GetInstance()->GetHandler(); } in GetGdShimHandler()
/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module.cc62 pimpl_ = std::make_unique<impl>(GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/metrics/
Dcounter_metrics.cc36 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dl2cap_le_module.cc80 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc106 GetHandler(), in Start()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_initiator_address_facade.cc115 service_ = new LeInitiatorAddressFacadeService(GetDependency<AclManager>(), GetHandler()); in Start()
Dcontroller_facade.cc177 service_ = new ControllerFacadeService(GetDependency<Controller>(), GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dl2cap_classic_module.cc96 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_stack_dumpsys_test.cc122 bluetooth::shim::Stack::GetInstance()->GetHandler()->Call( in Start()
236 GetHandler()->CallOn(impl_.get(), &impl::is_stack_running, in IsStackRunning()

12