Lines Matching refs:hci

37   void StartDiscoverability(std::vector<hci::Lap>& laps);
49 std::vector<hci::Lap> laps_;
51 void OnCommandComplete(hci::CommandCompleteView status);
53 hci::HciLayer* hci_layer_;
66 void neighbor::DiscoverabilityModule::impl::OnCommandComplete(hci::CommandCompleteView status) { in OnCommandComplete()
68 case hci::OpCode::READ_CURRENT_IAC_LAP: { in OnCommandComplete()
69 auto packet = hci::ReadCurrentIacLapCompleteView::Create(status); in OnCommandComplete()
71 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
75 case hci::OpCode::WRITE_CURRENT_IAC_LAP: { in OnCommandComplete()
76 auto packet = hci::WriteCurrentIacLapCompleteView::Create(status); in OnCommandComplete()
78 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
81 case hci::OpCode::READ_NUMBER_OF_SUPPORTED_IAC: { in OnCommandComplete()
82 auto packet = hci::ReadNumberOfSupportedIacCompleteView::Create(status); in OnCommandComplete()
84 ASSERT(packet.GetStatus() == hci::ErrorCode::SUCCESS); in OnCommandComplete()
88 LOG_WARN("Unhandled command:%s", hci::OpCodeText(status.GetCommandOpCode()).c_str()); in OnCommandComplete()
93 void neighbor::DiscoverabilityModule::impl::StartDiscoverability(std::vector<hci::Lap>& laps) { in StartDiscoverability()
96hci::WriteCurrentIacLapBuilder::Create(laps), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in StartDiscoverability()
98hci::ReadCurrentIacLapBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in StartDiscoverability()
115 hci_layer_ = module_.GetDependency<hci::HciLayer>(); in Start()
120hci::ReadCurrentIacLapBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
123hci::ReadNumberOfSupportedIacBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplet… in Start()
142 std::vector<hci::Lap> laps; in StartGeneralDiscoverability()
144 hci::Lap lap; in StartGeneralDiscoverability()
152 std::vector<hci::Lap> laps; in StartLimitedDiscoverability()
154 hci::Lap lap; in StartLimitedDiscoverability()
160 hci::Lap lap; in StartLimitedDiscoverability()
183 list->add<hci::HciLayer>(); in ListDependencies()