Home
last modified time | relevance | path

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

12

/system/bt/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc30 aclDevNull_ = new os::fuzz::DevNullQueue<AclView>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
32 aclInject_ = new os::fuzz::FuzzInjectQueue<AclBuilder>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
36 le_security_interface_ = hci_->GetLeSecurityInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start()
38 GetHandler()->Bind([](EventView) {}), in Start()
39 GetHandler()->Bind([](uint16_t, hci::ErrorCode) {}), in Start()
40 GetHandler()->Bind([](hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t) {})); in Start()
42 GetHandler()->Bind([](LeMetaEventView) {}), in Start()
43 GetHandler()->Bind([](uint16_t, hci::ErrorCode) {}), in Start()
44 GetHandler()->Bind([](hci::ErrorCode, uint16_t, uint8_t, uint16_t, uint16_t) {})); in Start()
45 …le_advertising_interface_ = hci_->GetLeAdvertisingInterface(GetHandler()->Bind([](LeMetaEventView)… in Start()
[all …]
Dhci_layer_fuzz_client.h72 GetHandler()->BindOnce([](CommandStatusView status) {})); in inject_command()
75 GetHandler()->BindOnce([](CommandCompleteView status) {})); in inject_command()
Dfuzz_hci_layer.cc70 acl_dev_null_ = new os::fuzz::DevNullQueue<AclBuilder>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
72 acl_inject_ = new os::fuzz::FuzzInjectQueue<AclView>(acl_queue_.GetDownEnd(), GetHandler()); in Start()
/system/bt/gd/neighbor/
Dinquiry.cc339 handler_ = module_.GetHandler(); in Start()
404 GetHandler()->Post(common::BindOnce( in StartGeneralInquiry()
413 GetHandler()->Post(common::BindOnce( in StartLimitedInquiry()
422 GetHandler()->Post( in StopInquiry()
428 GetHandler()->Post(common::BindOnce( in StartGeneralPeriodicInquiry()
440 GetHandler()->Post(common::BindOnce( in StartLimitedPeriodicInquiry()
451 GetHandler()->Post( in StopPeriodicInquiry()
456 GetHandler()->Post( in SetScanActivity()
461 GetHandler()->Post(common::BindOnce( in SetInterlacedScan()
466 GetHandler()->Post(common::BindOnce( in SetStandardScan()
[all …]
Dname_db.cc124 GetHandler()->Post(common::BindOnce( in ReadRemoteNameRequest()
142 handler_ = module_.GetHandler(); in Start()
Dname.cc141 handler_ = module_.GetHandler(); in Start()
208 GetHandler()->Post(common::BindOnce( in ReadRemoteNameRequest()
223 GetHandler()->Post(common::BindOnce( in CancelRemoteNameRequest()
/system/bt/gd/
Dmodule.h97 ::bluetooth::os::Handler* GetHandler() const;
108 GetHandler()->Call(std::forward<Functor>(functor), std::forward<Args>(args)...); in Call()
113 GetHandler()->CallOn(obj, std::forward<Functor>(functor), std::forward<Args>(args)...); in CallOn()
Dmodule_unittest.cc62 test_module_no_dependency_handler = GetHandler(); in Start()
95 test_module_one_dependency_handler = GetHandler(); in Start()
195 test_module_one_dependency_handler = GetHandler(); in Start()
Dmodule.cc34 Handler* Module::GetHandler() const { in GetHandler() function in bluetooth::Module
132 return started_instance->second->GetHandler(); in GetModuleHandler()
/system/bt/gd/hci/
Dhci_layer_test.cc191 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandStatusView>)… in SendHciCommandExpectingStatus()
196 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendHciCommandExpectingComplete()
202 … hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in SendSecurityCommandExpectingComplete()
205 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendSecurityCommandExpectingComplete()
211 …hci_->GetLeSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventVie… in SendLeSecurityCommandExpectingComplete()
214 …std::move(command), GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView… in SendLeSecurityCommandExpectingComplete()
220 …queue_end->RegisterEnqueue(GetHandler(), common::Bind(&DependsOnHci::handle_enqueue, common::Unret… in SendAclData()
226 …queue_end->RegisterEnqueue(GetHandler(), common::Bind(&DependsOnHci::handle_enqueue_iso, common::U… in SendIsoData()
279 …EventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)… in Start()
281 …SubeventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEv… in Start()
[all …]
Dhci_layer.cc96 hci_timeout_alarm_ = new Alarm(module.GetHandler()); in impl()
195 …ControllerDebugInfoBuilder::Create(), module_.GetHandler()->BindOnce(&fail_if_reset_complete_not_s… in on_hci_timeout()
203 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in on_hci_timeout()
293 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in handle_root_inflammation()
370 module_.impl_->incoming_acl_buffer_.Enqueue(move(acl), module_.GetHandler()); in aclDataReceived()
380 module_.impl_->incoming_iso_buffer_.Enqueue(move(iso), module_.GetHandler()); in isoDataReceived()
540 Handler* handler = GetHandler(); in Start()
Dcontroller.cc37 Handler* handler = module_.GetHandler(); in Start()
245 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::read_local_extended_features_complete_ha… in read_local_extended_features_complete_handler()
454 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in set_event_mask()
464 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<WriteLeHostSupportCompleteV… in write_le_host_support()
471 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<WriteSimplePairingModeCompl… in write_simple_pairing_mode()
477 … module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<ResetCompleteView>)); in reset()
481 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in set_event_filter()
493 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in write_local_name()
502 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in host_buffer_size()
508 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in le_set_event_mask()
Dvendor_specific_event_manager.cc110 pimpl_->start(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::Controller>()); in Start()
Dacl_manager.cc59 handler_ = acl_manager_.GetHandler(); in Start()
130 GetHandler()->Post(common::BindOnce(&classic_impl::handle_register_callbacks, in RegisterCallbacks()
/system/bt/gd/iso/
Diso_module.cc50 …pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::C… in Start()
/system/bt/main/shim/
Dstack.h60 os::Handler* GetHandler();
Dentry.cc41 os::Handler* GetGdShimHandler() { return Stack::GetInstance()->GetHandler(); } in GetGdShimHandler()
/system/bt/gd/shim/facade/
Dfacade.cc65 service_ = new ShimFacadeService(GetDependency<Dumpsys>(), GetHandler()); in Start()
/system/bt/gd/att/
Datt_module.cc77GetHandler(), GetDependency<l2cap::le::L2capLeModule>(), GetDependency<l2cap::classic::L2capClassi… in Start()
/system/bt/gd/hci/facade/
Dcontroller_facade.cc74 service_ = new ControllerFacadeService(GetDependency<Controller>(), GetHandler()); in Start()
Dle_scanning_manager_facade.cc112 …service_ = new LeScanningManagerFacadeService(GetDependency<hci::LeScanningManager>(), GetHandler(… in Start()
Dle_initiator_address_facade.cc111 service_ = new LeInitiatorAddressFacadeService(GetDependency<AclManager>(), GetHandler()); in Start()
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc77 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()
/system/bt/gd/security/
Dsecurity_module.cc105 GetHandler(), in Start()
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc97 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()

12