/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 227 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() 308 …hci_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/ |
D | classic_pairing_handler_unittest.cc | 158 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() 221 …hci_layer_->IncomingEvent(hci::UserConfirmationRequestBuilder::Create(device.GetAddress(), numeric… in ReceiveUserConfirmationRequest() 226 … hci_layer_->IncomingEvent(hci::SimplePairingCompleteBuilder::Create(status, device.GetAddress())); in ReceiveSimplePairingComplete() 232 …hci_layer_->IncomingEvent(hci::LinkKeyNotificationBuilder::Create(device.GetAddress(), link_key, k… in ReceiveLinkKeyNotification() [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/hci/facade/ |
D | facade.cc | 39 : 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() 77 …hci_layer_->EnqueueCommand(std::move(packet), facade_handler_->BindOnceOn(this, &HciFacadeService:… in SendCommand() 79 …hci_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/ |
D | iso_module.cc | 35 : 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/ |
D | vendor_specific_event_manager.cc | 35 hci_layer_ = hci_layer; in start() 37 hci_layer_->RegisterEventHandler( in start() 94 hci::HciLayer* hci_layer_; member
|
D | acl_manager.cc | 58 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
|
D | le_advertising_manager.cc | 100 hci_layer_ = hci_layer; in start() 106 …hci_layer_->GetLeAdvertisingInterface(module_handler_->BindOn(this, &LeAdvertisingManager::impl::h… in start() 119 hci_layer_->EnqueueCommand( in start() 909 hci::HciLayer* hci_layer_; member
|
D | le_scanning_manager.cc | 215 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/ |
D | security_module.cc | 54 hci_layer_(hci_layer), in impl() 70 hci::HciLayer* hci_layer_; member 80 hci_layer_,
|
/system/bt/gd/iso/internal/ |
D | iso_manager_impl.cc | 35 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()
|
D | iso_manager_impl.h | 108 hci::HciLayer* hci_layer_; variable
|
/system/bt/gd/hci/acl_manager/ |
D | le_impl.h | 57 : 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
|
D | classic_impl.h | 47 : 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
|