Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hci/
Dle_address_manager_test.cc79 hci_layer_ = new HciLayerFake(); in SetUp()
97 delete hci_layer_; in TearDown()
111 hci_layer_->EnqueueCommand( in enqueue_command()
119 HciLayerFake* hci_layer_ = nullptr; member in bluetooth::hci::__anon4857542e0111::LeAddressManagerTest
148 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
149 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
170 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in TEST_F()
171 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in TEST_F()
208 hci_layer_ = new HciLayerFake(); in SetUp()
232 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in SetUp()
[all …]
Dremote_name_request.cc35 hci_layer_ = module_.GetDependency<HciLayer>(); in Start()
39 hci_layer_->RegisterEventHandler( in Start()
43 hci_layer_->RegisterEventHandler( in Start()
50 hci_layer_->UnregisterEventHandler(EventCode::REMOTE_HOST_SUPPORTED_FEATURES_NOTIFICATION); in Stop()
51 hci_layer_->UnregisterEventHandler(EventCode::REMOTE_NAME_REQUEST_COMPLETE); in Stop()
124 hci_layer_->EnqueueCommand( in actually_start_remote_name_request()
159 hci_layer_->EnqueueCommand( in actually_cancel_remote_name_request()
226 HciLayer* hci_layer_; member
Dmsft.cc52 hci_layer_ = hci_layer; in start()
69 hci_layer_->EnqueueCommand( in start()
154 hci_layer_->EnqueueCommand( in msft_adv_monitor_add()
186 hci_layer_->EnqueueCommand( in msft_adv_monitor_add()
204 hci_layer_->EnqueueCommand( in msft_adv_monitor_remove()
217 hci_layer_->EnqueueCommand( in msft_adv_monitor_enable()
263 hci_layer_->RegisterVendorSpecificEventHandler( in on_msft_read_supported_features_complete()
316 hci::HciLayer* hci_layer_; member
Dacl_manager.cc68 hci_layer_ = acl_manager_.GetDependency<HciLayer>(); in Start()
71 …round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_layer_->GetAclQueueEnd… in Start()
80 hci_layer_, in Start()
87 …le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, crash_on_unknown… in Start()
90 hci_queue_end_ = hci_layer_->GetAclQueueEnd(); in Start()
115 hci_layer_ = nullptr; in Stop()
194 HciLayer* hci_layer_ = nullptr; member
Ddistance_measurement_manager.cc209 hci_layer_ = hci_layer; in start()
211 hci_layer_->RegisterLeEventHandler( in start()
218 distance_measurement_interface_ = hci_layer_->GetDistanceMeasurementInterface( in start()
229 hci_layer_->UnregisterLeEventHandler(hci::SubeventCode::TRANSMIT_POWER_REPORTING); in stop()
262 hci_layer_->EnqueueCommand( in start_distance_measurement()
339 hci_layer_->EnqueueCommand( in stop_distance_measurement()
443 hci_layer_->EnqueueCommand( in send_read_rssi()
481 hci_layer_->EnqueueCommand( in send_le_cs_read_remote_supported_capabilities()
487 hci_layer_->EnqueueCommand( in send_le_cs_security_enable()
494 hci_layer_->EnqueueCommand( in send_le_cs_set_default_settings()
[all …]
Dle_scanning_manager.cc199 hci_layer_ = hci_layer; in start()
204 le_scanning_interface_ = hci_layer_->GetLeScanningInterface( in start()
230 hci_layer_->RegisterVendorSpecificEventHandler( in start()
233 hci_layer_->RegisterVendorSpecificEventHandler( in start()
249 hci_layer_->UnregisterLeEventHandler(subevent_code); in stop()
1701 HciLayer* hci_layer_; member
Dle_advertising_manager.cc152 hci_layer_ = hci_layer; in start()
160hci_layer_->GetLeAdvertisingInterface(module_handler_->BindOn(this, &LeAdvertisingManager::impl::h… in start()
161 hci_layer_->RegisterVendorSpecificEventHandler( in start()
181 hci_layer_->EnqueueCommand( in start()
1572 hci::HciLayer* hci_layer_; member
/packages/modules/Bluetooth/system/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::__anonef73f6740111::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 …]
/packages/modules/Bluetooth/system/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc159 hci_layer_ = new FakeHciLayer(); in SetUp()
161 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp()
164 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp()
200 hci_layer_->IncomingEvent(hci::LinkKeyRequestBuilder::Create(device.GetAddress())); in ReceiveLinkKeyRequest()
205 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device.GetAddress())); in ReceiveIoCapabilityRequest()
211 hci_layer_->IncomingEvent( in ReceiveIoCapabilityResponse()
217 hci_layer_->IncomingEvent(hci::RemoteOobDataRequestBuilder::Create(device.GetAddress())); in ReceiveOobDataRequest()
222hci_layer_->IncomingEvent(hci::UserConfirmationRequestBuilder::Create(device.GetAddress(), numeric… in ReceiveUserConfirmationRequest()
227hci_layer_->IncomingEvent(hci::SimplePairingCompleteBuilder::Create(status, device.GetAddress())); in ReceiveSimplePairingComplete()
233hci_layer_->IncomingEvent(hci::LinkKeyNotificationBuilder::Create(device.GetAddress(), link_key, k… in ReceiveLinkKeyNotification()
[all …]
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc285 hci_layer_ = new HciLayerFake(); in SetUp()
290 …le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, kCrashOnUnknownH… in SetUp()
318 hci_layer_->GetCommand(OpCode::LE_SET_RANDOM_ADDRESS); in set_random_device_address_policy()
319 hci_layer_->IncomingEvent(LeSetRandomAddressCompleteBuilder::Create(0x01, ErrorCode::SUCCESS)); in set_random_device_address_policy()
336 delete hci_layer_; in TearDown()
394 HciLayerFake* hci_layer_{nullptr}; member in bluetooth::hci::acl_manager::LeImplTest
508 hci_layer_->GetCommand(OpCode::LE_ADD_DEVICE_TO_FILTER_ACCEPT_LIST); in TEST_F()
509 hci_layer_->IncomingEvent( in TEST_F()
511 hci_layer_->GetCommand(OpCode::LE_CREATE_CONNECTION); in TEST_F()
512 hci_layer_->IncomingEvent(LeCreateConnectionStatusBuilder::Create(ErrorCode::SUCCESS, 0x01)); in TEST_F()
[all …]
Dclassic_impl_test.cc158 hci_layer_ = new HciLayerFake(); in SetUp()
174 hci_layer_, in SetUp()
197 delete hci_layer_; in TearDown()
243 HciLayerFake* hci_layer_{nullptr}; member in bluetooth::hci::acl_manager::ClassicImplTest
Dclassic_impl.h62 : hci_layer_(hci_layer), in classic_impl()
67 hci_layer_ = hci_layer; in classic_impl()
72 acl_connection_interface_ = hci_layer_->GetAclConnectionInterface( in classic_impl()
80 hci_layer_->PutAclConnectionInterface(); in ~classic_impl()
748 HciLayer* hci_layer_ = nullptr; member
Dle_impl.h130 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler) { in le_impl()
131 hci_layer_ = hci_layer; in le_impl()
135 le_acl_connection_interface_ = hci_layer_->GetLeAclConnectionInterface( in le_impl()
152 hci_layer_->PutLeAclConnectionInterface(); in ~le_impl()
302 hci_layer_->EnqueueCommand( in enqueue_command()
1227 HciLayer* hci_layer_ = nullptr; member
/packages/modules/Bluetooth/system/gd/hci/facade/
Dfacade.cc43 : hci_layer_(hci_layer), controller_(controller), facade_handler_(facade_handler) {} in HciFacadeService()
47 hci_layer_->GetAclQueueEnd()->UnregisterDequeue(); in ~HciFacadeService()
50 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in ~HciFacadeService()
81hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciFacadeService:… in SendCommand()
83hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciFacadeService:… in SendCommand()
92 hci_layer_->RegisterEventHandler( in RequestEvent()
101 hci_layer_->RegisterLeEventHandler( in RequestLeSubevent()
152 hci_layer_->GetAclQueueEnd()->RegisterEnqueue( in SendAcl()
165 hci_layer_->GetAclQueueEnd()->RegisterDequeue( in StreamAcl()
174 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in handle_enqueue_acl()
[all …]
/packages/modules/Bluetooth/system/gd/neighbor/
Dscan.cc56 hci::HciLayer* hci_layer_; member
105hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
110hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
157 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
161hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in Start()
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc55 hci_layer_(hci_layer), in impl()
71 hci::HciLayer* hci_layer_; member
81 hci_layer_,