/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 223 hci_layer_ = new FakeHciLayer(); in SetUp() 224 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 226 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp() 250 FakeHciLayer* hci_layer_ = nullptr; member in bluetooth::security::channel::__anon855c6ade0111::SecurityManagerChannelTest 260 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device_.GetAddress())); in TEST_F() 275 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F() 291 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F() 304 …hci_layer_->IncomingEvent(hci::IoCapabilityResponseBuilder::Create(device_.GetAddress(), io_capabi… in TEST_F() 311 hci_layer_->IncomingEvent(hci::PinCodeRequestBuilder::Create(device_.GetAddress())); in TEST_F() 324 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F() [all …]
|
/system/bt/gd/neighbor/ |
D | page.cc | 55 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 …]
|
D | discoverability.cc | 53 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()
|
D | scan.cc | 54 hci::HciLayer* hci_layer_; member 99 …hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable() 104 …hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable() 151 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start() 155 …hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in Start()
|
D | inquiry.cc | 92 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() 267 …hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandComplete… in EnqueueCommandComplete() [all …]
|
D | name.cc | 74 hci::HciLayer* hci_layer_; member 83 …hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandComplete… in EnqueueCommandComplete() 87 …hci_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/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 130 hci_layer_ = new FakeHciLayer(); in SetUp() 131 fake_registry_.InjectTestModule(&FakeHciLayer::Factory, hci_layer_); in SetUp() 133 channel_ = new FakeSecurityManagerChannel(handler_, hci_layer_); in SetUp() 159 hci_layer_->IncomingEvent(hci::LinkKeyRequestBuilder::Create(device.GetAddress())); in ReceiveLinkKeyRequest() 164 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device.GetAddress())); in ReceiveIoCapabilityRequest() 170 hci_layer_->IncomingEvent( in ReceiveIoCapabilityResponse() 176 …hci_layer_->IncomingEvent(hci::UserConfirmationRequestBuilder::Create(device.GetAddress(), numeric… in ReceiveUserConfirmationRequest() 181 … hci_layer_->IncomingEvent(hci::SimplePairingCompleteBuilder::Create(status, device.GetAddress())); in ReceiveSimplePairingComplete() 187 …hci_layer_->IncomingEvent(hci::LinkKeyNotificationBuilder::Create(device.GetAddress(), link_key, k… in ReceiveLinkKeyNotification() 194 FakeHciLayer* hci_layer_ = nullptr; member in bluetooth::security::channel::__anoned5ad9ed0111::ClassicPairingHandlerTest [all …]
|
/system/bt/gd/hci/facade/ |
D | facade.cc | 39 : hci_layer_(hci_layer), controller_(controller), facade_handler_(facade_handler) {} in HciLayerFacadeService() 43 hci_layer_->GetAclQueueEnd()->UnregisterDequeue(); in ~HciLayerFacadeService() 46 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in ~HciLayerFacadeService() 74 hci_layer_->EnqueueCommand(std::move(packet), in EnqueueCommandWithComplete() 83 …hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciLayerFacadeSer… in EnqueueCommandWithStatus() 89 hci_layer_->RegisterEventHandler(static_cast<EventCode>(event->code()), in RegisterEventHandler() 97 hci_layer_->RegisterLeEventHandler(static_cast<SubeventCode>(event->code()), in RegisterLeEventHandler() 154 hci_layer_->GetAclQueueEnd()->RegisterEnqueue( in SendAclData() 164 hci_layer_->GetAclQueueEnd()->RegisterDequeue( in FetchAclPackets() 173 hci_layer_->GetAclQueueEnd()->UnregisterEnqueue(); in handle_enqueue_acl() [all …]
|
/system/bt/gd/hci/ |
D | acl_manager.cc | 55 hci_layer_ = acl_manager_.GetDependency<HciLayer>(); in Start() 58 …round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_layer_->GetAclQueueEnd… in Start() 60 hci_queue_end_ = hci_layer_->GetAclQueueEnd(); in Start() 63 classic_impl_ = new classic_impl(hci_layer_, controller_, handler_, round_robin_scheduler_); in Start() 64 … le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, classic_impl_); in Start() 77 hci_layer_ = nullptr; in Stop() 111 HciLayer* hci_layer_ = nullptr; member
|
D | le_scanning_manager.cc | 56 hci_layer_ = hci_layer; in start() 59 le_scanning_interface_ = hci_layer_->GetLeScanningInterface( in start() 234 hci::HciLayer* hci_layer_; member
|
D | le_advertising_manager.cc | 91 hci_layer_ = hci_layer; in start() 95 …hci_layer_->GetLeAdvertisingInterface(module_handler_->BindOn(this, &LeAdvertisingManager::impl::h… in start() 456 hci::HciLayer* hci_layer_; member
|
/system/bt/gd/security/ |
D | security_module.cc | 51 hci_layer_(hci_layer), in impl() 65 hci::HciLayer* hci_layer_; member 71 …security_handler_, l2cap_le_module_, security_manager_channel_, hci_layer_, acl_manager_, storage_…
|
/system/bt/gd/hci/acl_manager/ |
D | le_impl.h | 49 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler), in le_impl() 51 hci_layer_ = hci_layer; in le_impl() 54 le_acl_connection_interface_ = hci_layer_->GetLeAclConnectionInterface( in le_impl() 66 hci_layer_->UnregisterLeEventHandler(subevent_code); in ~le_impl() 239 hci_layer_->EnqueueCommand( in enqueue_command() 514 HciLayer* hci_layer_ = nullptr; member
|
D | classic_impl.h | 44 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler) { in classic_impl() 45 hci_layer_ = hci_layer; in classic_impl() 50 … hci_layer_->GetAclConnectionInterface(handler_->BindOn(this, &classic_impl::on_classic_event), in classic_impl() 56 hci_layer_->UnregisterEventHandler(event_code); in ~classic_impl() 532 HciLayer* hci_layer_ = nullptr; member
|