Home
last modified time | relevance | path

Searched refs:hci_ (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc29 hci_ = GetDependency<hci::HciLayer>(); in Start()
30 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()
39 …le_acl_connection_interface_ = hci_->GetLeAclConnectionInterface(GetHandler()->Bind([](LeMetaEvent… in Start()
41 …le_advertising_interface_ = hci_->GetLeAdvertisingInterface(GetHandler()->Bind([](LeMetaEventView)… in Start()
42 le_scanning_interface_ = hci_->GetLeScanningInterface(GetHandler()->Bind([](LeMetaEventView) {})); in Start()
91 inject_command<CommandPacketView, CommandPacketBuilder>(data, hci_); in injectHciCommand()
Dhci_layer_fuzz_client.h79 hci::HciLayer* hci_ = nullptr; variable
/system/bt/gd/hci/
Dcontroller.cc34 hci_ = hci; in Start()
36 hci_->RegisterEventHandler(EventCode::NUMBER_OF_COMPLETED_PACKETS, in Start()
43 hci_->EnqueueCommand(ReadLocalNameBuilder::Create(), in Start()
45 hci_->EnqueueCommand(ReadLocalVersionInformationBuilder::Create(), in Start()
47 hci_->EnqueueCommand(ReadLocalSupportedCommandsBuilder::Create(), in Start()
49 hci_->EnqueueCommand(ReadLocalSupportedFeaturesBuilder::Create(), in Start()
55 hci_->EnqueueCommand(ReadLocalExtendedFeaturesBuilder::Create(0x00), in Start()
60 hci_->EnqueueCommand(ReadBufferSizeBuilder::Create(), in Start()
63 hci_->EnqueueCommand(LeReadBufferSizeV1Builder::Create(), in Start()
66 hci_->EnqueueCommand(LeReadLocalSupportedFeaturesBuilder::Create(), in Start()
[all …]
Dhci_layer.h110 explicit CommandInterfaceImpl(HciLayer& hci) : hci_(hci) {} in CommandInterfaceImpl()
115 hci_.EnqueueCommand(move(command), std::move(on_complete)); in EnqueueCommand()
120 hci_.EnqueueCommand(move(command), std::move(on_status)); in EnqueueCommand()
122 HciLayer& hci_; variable
Dhci_layer_test.cc150 hci_->EnqueueCommand(std::move(command), in SendHciCommandExpectingStatus()
155 hci_->EnqueueCommand(std::move(command), in SendHciCommandExpectingComplete()
162hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventPacketView>… in SendSecurityCommandExpectingComplete()
164 hci_->EnqueueCommand(std::move(command), in SendSecurityCommandExpectingComplete()
171hci_->GetLeSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<LeMetaEventVie… in SendLeSecurityCommandExpectingComplete()
173 hci_->EnqueueCommand(std::move(command), in SendLeSecurityCommandExpectingComplete()
179 auto queue_end = hci_->GetAclQueueEnd(); in SendAclData()
212 hci_ = GetDependency<HciLayer>(); in Start()
213 hci_->RegisterEventHandler(EventCode::CONNECTION_COMPLETE, in Start()
215 hci_->RegisterLeEventHandler(SubeventCode::CONNECTION_COMPLETE, in Start()
[all …]