Home
last modified time | relevance | path

Searched refs:hci_layer_ (Results 1 – 18 of 18) sorted by relevance

/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc227 hci_layer_ = new FakeHciLayer(); in SetUp()
228 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp()
230 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp()
254 FakeHciLayer* hci_layer_ = nullptr; member in bluetooth::security::channel::__anon46832d850111::SecurityManagerChannelTest
264 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device_.GetAddress())); in TEST_F()
279 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
295 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
308hci_layer_->IncomingEvent(hci::IoCapabilityResponseBuilder::Create(device_.GetAddress(), io_capabi… in TEST_F()
315 hci_layer_->IncomingEvent(hci::PinCodeRequestBuilder::Create(device_.GetAddress())); in TEST_F()
328 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
[all …]
/system/bt/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc158 hci_layer_ = new FakeHciLayer(); in SetUp()
160 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp()
163 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp()
199 hci_layer_->IncomingEvent(hci::LinkKeyRequestBuilder::Create(device.GetAddress())); in ReceiveLinkKeyRequest()
204 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device.GetAddress())); in ReceiveIoCapabilityRequest()
210 hci_layer_->IncomingEvent( in ReceiveIoCapabilityResponse()
216 hci_layer_->IncomingEvent(hci::RemoteOobDataRequestBuilder::Create(device.GetAddress())); in ReceiveOobDataRequest()
221hci_layer_->IncomingEvent(hci::UserConfirmationRequestBuilder::Create(device.GetAddress(), numeric… in ReceiveUserConfirmationRequest()
226hci_layer_->IncomingEvent(hci::SimplePairingCompleteBuilder::Create(status, device.GetAddress())); in ReceiveSimplePairingComplete()
232hci_layer_->IncomingEvent(hci::LinkKeyNotificationBuilder::Create(device.GetAddress(), link_key, k… in ReceiveLinkKeyNotification()
[all …]
/system/bt/gd/neighbor/
Dpage.cc55 hci::HciLayer* hci_layer_; member
112 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
115 hci_layer_->EnqueueCommand( in Start()
118 hci_layer_->EnqueueCommand( in Start()
121 hci_layer_->EnqueueCommand( in Start()
131 hci_layer_->EnqueueCommand( in SetScanActivity()
135 hci_layer_->EnqueueCommand( in SetScanActivity()
150 hci_layer_->EnqueueCommand( in SetScanType()
153 hci_layer_->EnqueueCommand( in SetScanType()
159 hci_layer_->EnqueueCommand( in SetTimeout()
[all …]
Ddiscoverability.cc53 hci::HciLayer* hci_layer_; member
95 hci_layer_->EnqueueCommand( in StartDiscoverability()
97 hci_layer_->EnqueueCommand( in StartDiscoverability()
115 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
119 hci_layer_->EnqueueCommand( in Start()
122 hci_layer_->EnqueueCommand( in Start()
Dscan.cc54 hci::HciLayer* hci_layer_; member
99hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
104hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
151 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
155hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in Start()
Dinquiry.cc92 hci::HciLayer* hci_layer_; member
247 hci_layer_->RegisterEventHandler( in RegisterCallbacks()
249 hci_layer_->RegisterEventHandler( in RegisterCallbacks()
251 hci_layer_->RegisterEventHandler( in RegisterCallbacks()
253 hci_layer_->RegisterEventHandler( in RegisterCallbacks()
258 hci_layer_->UnregisterEventHandler(hci::EventCode::INQUIRY_COMPLETE); in UnregisterCallbacks()
259 hci_layer_->UnregisterEventHandler(hci::EventCode::EXTENDED_INQUIRY_RESULT); in UnregisterCallbacks()
260 hci_layer_->UnregisterEventHandler(hci::EventCode::INQUIRY_RESULT_WITH_RSSI); in UnregisterCallbacks()
261 hci_layer_->UnregisterEventHandler(hci::EventCode::INQUIRY_RESULT); in UnregisterCallbacks()
267hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandComplete… in EnqueueCommandComplete()
[all …]
Dname.cc74 hci::HciLayer* hci_layer_; member
83hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandComplete… in EnqueueCommandComplete()
87hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandStatus)); in EnqueueCommandStatus()
140 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
143 hci_layer_->RegisterEventHandler( in Start()
148 hci_layer_->UnregisterEventHandler(hci::EventCode::REMOTE_NAME_REQUEST_COMPLETE); in Stop()
/system/bt/gd/hci/facade/
Dfacade.cc39 : hci_layer_(hci_layer), controller_(controller), facade_handler_(facade_handler) {} in HciFacadeService()
43 hci_layer_->GetAclQueueEnd()->UnregisterDequeue(); in ~HciFacadeService()
46 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in ~HciFacadeService()
77hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciFacadeService:… in SendCommand()
79hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciFacadeService:… in SendCommand()
88 hci_layer_->RegisterEventHandler( in RequestEvent()
97 hci_layer_->RegisterLeEventHandler( in RequestLeSubevent()
148 hci_layer_->GetAclQueueEnd()->RegisterEnqueue( in SendAcl()
160 hci_layer_->GetAclQueueEnd()->RegisterDequeue( in StreamAcl()
169 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in handle_enqueue_acl()
[all …]
/system/bt/gd/iso/
Diso_module.cc35 : iso_handler_(iso_handler), hci_layer_(hci_layer), controller_(controller) {} in impl()
38 hci::HciLayer* hci_layer_; member
41 internal::IsoManagerImpl iso_manager_impl{iso_handler_, hci_layer_, controller_};
/system/bt/gd/hci/
Dvendor_specific_event_manager.cc35 hci_layer_ = hci_layer; in start()
37 hci_layer_->RegisterEventHandler( in start()
94 hci::HciLayer* hci_layer_; member
Dacl_manager.cc58 hci_layer_ = acl_manager_.GetDependency<HciLayer>(); in Start()
61 …round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_layer_->GetAclQueueEnd… in Start()
63 hci_queue_end_ = hci_layer_->GetAclQueueEnd(); in Start()
68 …new classic_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, crash_on_unknown_handl… in Start()
69 …le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, crash_on_unknown… in Start()
82 hci_layer_ = nullptr; in Stop()
119 HciLayer* hci_layer_ = nullptr; member
Dle_advertising_manager.cc100 hci_layer_ = hci_layer; in start()
106hci_layer_->GetLeAdvertisingInterface(module_handler_->BindOn(this, &LeAdvertisingManager::impl::h… in start()
119 hci_layer_->EnqueueCommand( in start()
909 hci::HciLayer* hci_layer_; member
Dle_scanning_manager.cc215 hci_layer_ = hci_layer; in start()
219 le_scanning_interface_ = hci_layer_->GetLeScanningInterface( in start()
250 hci_layer_->UnregisterLeEventHandler(subevent_code); in stop()
1216 hci::HciLayer* hci_layer_; member
/system/bt/gd/security/
Dsecurity_module.cc54 hci_layer_(hci_layer), in impl()
70 hci::HciLayer* hci_layer_; member
80 hci_layer_,
/system/bt/gd/iso/internal/
Diso_manager_impl.cc35 hci_layer_(hci_layer), in IsoManagerImpl()
38 hci_layer_->GetIsoQueueEnd()->RegisterDequeue( in IsoManagerImpl()
40 …iso_enqueue_buffer_ = std::make_unique<os::EnqueueBuffer<IsoBuilder>>(hci_layer_->GetIsoQueueEnd()… in IsoManagerImpl()
44 hci_layer_->GetIsoQueueEnd()->UnregisterDequeue(); in ~IsoManagerImpl()
265 std::unique_ptr<hci::IsoView> packet = hci_layer_->GetIsoQueueEnd()->TryDequeue(); in OnIncomingPacket()
Diso_manager_impl.h108 hci::HciLayer* hci_layer_; variable
/system/bt/gd/hci/acl_manager/
Dle_impl.h57 : hci_layer_(hci_layer), in le_impl()
61 hci_layer_ = hci_layer; in le_impl()
64 le_acl_connection_interface_ = hci_layer_->GetLeAclConnectionInterface( in le_impl()
78 hci_layer_->UnregisterLeEventHandler(subevent_code); in ~le_impl()
313 hci_layer_->EnqueueCommand( in enqueue_command()
686 HciLayer* hci_layer_ = nullptr; member
Dclassic_impl.h47 : hci_layer_(hci_layer), in classic_impl()
51 hci_layer_ = hci_layer; in classic_impl()
55 acl_connection_interface_ = hci_layer_->GetAclConnectionInterface( in classic_impl()
63 hci_layer_->UnregisterEventHandler(event_code); in ~classic_impl()
681 HciLayer* hci_layer_ = nullptr; member