Home
last modified time | relevance | path

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

12

/system/bt/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc30 aclDevNull_ = new os::fuzz::DevNullQueue<AclPacketView>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
32 …aclInject_ = new os::fuzz::FuzzInjectQueue<AclPacketBuilder>(hci_->GetAclQueueEnd(), GetHandler()); in Start()
36 le_security_interface_ = hci_->GetLeSecurityInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start()
37 …acl_connection_interface_ = hci_->GetAclConnectionInterface(GetHandler()->Bind([](EventPacketView)… in Start()
38GetHandler()->Bind([](uint16_t, hci::ErrorCode) {})); in Start()
39 …le_acl_connection_interface_ = hci_->GetLeAclConnectionInterface(GetHandler()->Bind([](LeMetaEvent… in Start()
40GetHandler()->Bind([](uint16_t, hci::ErrorCode) {})); in Start()
41 …le_advertising_interface_ = hci_->GetLeAdvertisingInterface(GetHandler()->Bind([](LeMetaEventView)… in Start()
42 le_scanning_interface_ = hci_->GetLeScanningInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start()
Dhci_layer_fuzz_client.h72 GetHandler()->BindOnce([](CommandStatusView status) {})); in inject_command()
75 GetHandler()->BindOnce([](CommandCompleteView status) {})); in inject_command()
Dfuzz_hci_layer.cc61 …acl_dev_null_ = new os::fuzz::DevNullQueue<AclPacketBuilder>(acl_queue_.GetDownEnd(), GetHandler()… in Start()
63 acl_inject_ = new os::fuzz::FuzzInjectQueue<AclPacketView>(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.cc120 GetHandler()->Post(common::BindOnce( in ReadRemoteNameRequest()
138 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/main/shim/
Dstack.h51 os::Handler* GetHandler();
Dstack.cc146 os::Handler* Stack::GetHandler() { in GetHandler() function in bluetooth::shim::Stack
/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.cc61 test_module_no_dependency_handler = GetHandler(); in Start()
90 test_module_one_dependency_handler = GetHandler(); in Start()
178 test_module_one_dependency_handler = GetHandler(); in Start()
Dmodule.cc33 Handler* Module::GetHandler() const { in GetHandler() function in bluetooth::Module
124 return started_instance->second->GetHandler(); in GetModuleHandler()
/system/bt/gd/hci/
Dhci_layer_test.cc151GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandStatusView>)); in SendHciCommandExpectingStatus()
156GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendHciCommandExpectingComplete()
162 …hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventPacketView>… in SendSecurityCommandExpectingComplete()
165GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendSecurityCommandExpectingComplete()
171 …hci_->GetLeSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventVie… in SendLeSecurityCommandExpectingComplete()
174GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendLeSecurityCommandExpectingComplete()
180 …queue_end->RegisterEnqueue(GetHandler(), common::Bind(&DependsOnHci::handle_enqueue, common::Unret… in SendAclData()
214GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventPacketView>)); in Start()
216GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventView>)); in Start()
217 hci_->GetAclQueueEnd()->RegisterDequeue(GetHandler(), in Start()
Dle_scanning_manager.cc289 pimpl_->start(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::Controller>(), in Start()
302 GetHandler()->Post(common::Bind(&impl::start_scan, common::Unretained(pimpl_.get()), callbacks)); in StartScan()
306GetHandler()->Post(common::Bind(&impl::stop_scan, common::Unretained(pimpl_.get()), on_stopped, fa… in StopScan()
Dcontroller.cc35 Handler* handler = module_.GetHandler(); in Start()
196 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::read_local_extended_features_complete_ha… in read_local_extended_features_complete_handler()
372 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in set_event_mask()
380 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<WriteSimplePairingModeCompl… in write_simple_pairing_mode()
387 …module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<WriteLeHostSupportCompleteV… in write_le_host_support()
393 … module_.GetHandler()->BindOnceOn(this, &Controller::impl::check_status<ResetCompleteView>)); in reset()
397 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in set_event_filter()
409 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in write_local_name()
418 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in host_buffer_size()
424 hci_->EnqueueCommand(std::move(packet), module_.GetHandler()->BindOnceOn( in le_set_event_mask()
Dacl_manager.cc56 handler_ = acl_manager_.GetHandler(); in Start()
122 GetHandler()->Post(common::BindOnce(&classic_impl::handle_register_callbacks, in RegisterCallbacks()
Dle_advertising_manager.cc492 pimpl_->start(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::Controller>(), in Start()
527GetHandler()->Post(common::BindOnce(&impl::create_advertiser, common::Unretained(pimpl_.get()), id… in CreateAdvertiser()
563GetHandler()->Post(common::BindOnce(&impl::create_extended_advertiser, common::Unretained(pimpl_.g… in ExtendedCreateAdvertiser()
569GetHandler()->Post(common::BindOnce(&impl::remove_advertiser, common::Unretained(pimpl_.get()), id… in RemoveAdvertiser()
Dhci_layer.cc88 hci_timeout_alarm_ = new Alarm(module.GetHandler()); in impl()
239 module_.impl_->incoming_acl_buffer_.Enqueue(move(acl), module_.GetHandler()); in aclDataReceived()
361 Handler* handler = GetHandler(); in Start()
/system/bt/gd/shim/
Dl2cap.cc448 handler_(module_.GetHandler()), in impl()
623 GetHandler()->Post(common::BindOnce( in RegisterClassicService()
634 GetHandler()->Post(common::BindOnce( in UnregisterClassicService()
647 GetHandler()->Post(common::BindOnce( in CreateClassicConnection()
658GetHandler()->Post(common::Bind(&L2cap::impl::CloseConnection, common::Unretained(pimpl_.get()), c… in CloseClassicConnection()
663 GetHandler()->Post( in SetReadDataReadyCallback()
669 GetHandler()->Post(common::Bind( in SetConnectionClosedCallback()
676GetHandler()->Post(common::BindOnce(&L2cap::impl::Write, common::Unretained(pimpl_.get()), cid, st… in Write()
680GetHandler()->Post(common::BindOnce(&L2cap::impl::SendLoopbackResponse, common::Unretained(pimpl_.… in SendLoopbackResponse()
/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/l2cap/le/
Dl2cap_le_module.cc60 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()
/system/bt/gd/hci/facade/
Dcontroller_facade.cc83 service_ = new ControllerFacadeService(GetDependency<Controller>(), GetHandler()); in Start()
Dle_initiator_address_facade.cc111 service_ = new LeInitiatorAddressFacadeService(GetDependency<AclManager>(), GetHandler()); in Start()
/system/bt/gd/security/
Dsecurity_module.cc90 GetHandler(), in Start()
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc89 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()

12