Home
last modified time | relevance | path

Searched refs:HciLayer (Results 1 – 25 of 36) sorted by relevance

12

/system/bt/gd/hci/
Dhci_layer.cc86 struct HciLayer::impl {
87 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl()
210 HciLayer& module_;
227 struct HciLayer::hal_callbacks : public hal::HciHalCallbacks {
228 hal_callbacks(HciLayer& module) : module_(module) {} in hal_callbacks()
246 HciLayer& module_;
249 HciLayer::HciLayer() : impl_(nullptr), hal_callbacks_(nullptr) {} in HciLayer() function in bluetooth::hci::HciLayer
251 HciLayer::~HciLayer() { in ~HciLayer()
254 common::BidiQueueEnd<AclPacketBuilder, AclPacketView>* HciLayer::GetAclQueueEnd() { in GetAclQueueEnd()
258 void HciLayer::EnqueueCommand(unique_ptr<CommandPacketBuilder> command, in EnqueueCommand()
[all …]
Dhci_layer.h41 class HciLayer : public Module, public CommandInterface<CommandPacketBuilder> {
44 HciLayer();
45 virtual ~HciLayer();
46 DISALLOW_COPY_AND_ASSIGN(HciLayer);
110 explicit CommandInterfaceImpl(HciLayer& hci) : hci_(hci) {} in CommandInterfaceImpl()
122 HciLayer& hci_;
Dle_scanning_manager.cc53 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller, in start()
234 hci::HciLayer* hci_layer_;
283 list->add<hci::HciLayer>(); in ListDependencies()
289 pimpl_->start(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::Controller>(), in Start()
Dacl_manager.cc55 hci_layer_ = acl_manager_.GetDependency<HciLayer>(); in Start()
111 HciLayer* hci_layer_ = nullptr;
239 list->add<HciLayer>(); in ListDependencies()
Dhci_layer_test.cc51 constexpr std::chrono::milliseconds kTimeout = HciLayer::kHciTimeoutMs / 2;
212 hci_ = GetDependency<HciLayer>(); in Start()
226 list->add<HciLayer>(); in ListDependencies()
232 HciLayer* hci_ = nullptr;
287 hci = static_cast<HciLayer*>(fake_registry_.GetModuleUnderTest(&HciLayer::Factory)); in SetUp()
289 ASSERT_TRUE(fake_registry_.IsStarted<HciLayer>()); in SetUp()
324 HciLayer* hci = nullptr;
Dacl_manager_test.cc116 class TestHciLayer : public HciLayer {
303 HciLayer::Disconnect(handle, reason); in do_disconnect()
312 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp()
314 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp()
466 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown()
519 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TEST_F()
521 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TEST_F()
567 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TEST_F()
569 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TEST_F()
616 fake_registry_.SynchronizeModuleHandler(&HciLayer::Factory, std::chrono::milliseconds(20)); in TearDown()
[all …]
Dle_advertising_manager.cc88 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller, in start()
456 hci::HciLayer* hci_layer_;
486 list->add<hci::HciLayer>(); in ListDependencies()
492 pimpl_->start(GetHandler(), GetDependency<hci::HciLayer>(), GetDependency<hci::Controller>(), in Start()
Dle_scanning_manager_test.cc69 class TestHciLayer : public HciLayer {
235 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp()
238 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp()
Dcontroller_test.cc57 class TestHciLayer : public HciLayer {
269 fake_registry_.InjectTestModule(&HciLayer::Factory, test_hci_layer_); in SetUp()
270 client_handler_ = fake_registry_.GetTestModuleHandler(&HciLayer::Factory); in SetUp()
/system/bt/gd/security/
Dsecurity_module.cc44 hci::HciLayer* hci_layer, in impl()
65 hci::HciLayer* hci_layer_;
83 list->add<hci::HciLayer>(); in ListDependencies()
93 GetDependency<hci::HciLayer>(), in Start()
/system/bt/gd/hci/fuzz/
Dacl_manager_fuzz_test.cc32 using bluetooth::hci::HciLayer;
42 FuzzHciLayer* fuzzHci = moduleRegistry.Inject<FuzzHciLayer>(&HciLayer::Factory); in LLVMFuzzerTestOneInput()
Dhci_layer_fuzz_client.h44 list->add<hci::HciLayer>(); in ListDependencies()
79 hci::HciLayer* hci_ = nullptr;
Dhci_layer_fuzz_client.cc29 hci_ = GetDependency<hci::HciLayer>(); in Start()
/system/bt/main/shim/
Dentry.h48 class HciLayer; variable
78 hci::HciLayer* GetHciLayer();
Dentry.cc76 hci::HciLayer* GetHciLayer() { in GetHciLayer()
77 return Stack::GetInstance()->GetStackManager()->GetInstance<hci::HciLayer>(); in GetHciLayer()
Dstack.cc70 modules.add<hci::HciLayer>(); in StartEverything()
/system/bt/gd/neighbor/
Ddiscoverability.cc53 hci::HciLayer* hci_layer_;
115 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
183 list->add<hci::HciLayer>(); in ListDependencies()
Dscan.cc54 hci::HciLayer* hci_layer_;
151 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
193 list->add<hci::HciLayer>(); in ListDependencies()
Dpage.cc55 hci::HciLayer* hci_layer_;
112 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
200 list->add<hci::HciLayer>(); in ListDependencies()
Dname.cc74 hci::HciLayer* hci_layer_;
140 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
235 list->add<hci::HciLayer>(); in ListDependencies()
Dinquiry.cc92 hci::HciLayer* hci_layer_;
338 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
491 list->add<hci::HciLayer>(); in ListDependencies()
/system/bt/gd/security/test/
Dfake_hci_layer.h32 using hci::HciLayer;
62 class FakeHciLayer : public HciLayer {
/system/bt/gd/hci/facade/
Dfacade.cc38 …HciLayerFacadeService(HciLayer* hci_layer, Controller* controller, ::bluetooth::os::Handler* facad… in HciLayerFacadeService()
219 HciLayer* hci_layer_;
232 list->add<HciLayer>(); in ListDependencies()
238 …service_ = new HciLayerFacadeService(GetDependency<HciLayer>(), GetDependency<Controller>(), GetHa… in Start()
/system/bt/gd/security/channel/
Dsecurity_manager_channel.h50 SecurityManagerChannel(os::Handler* handler, hci::HciLayer* hci_layer);
Dsecurity_manager_channel.cc30 SecurityManagerChannel::SecurityManagerChannel(os::Handler* handler, hci::HciLayer* hci_layer) in SecurityManagerChannel()

12