Lines Matching refs:Btm

85 bool Btm::ReadRemoteName::Start(RawAddress raw_address) {  in Start()
95 void Btm::ReadRemoteName::Stop() { in Stop()
101 bool Btm::ReadRemoteName::IsInProgress() const { return in_progress_; } in IsInProgress()
102 std::string Btm::ReadRemoteName::AddressString() const { in AddressString()
106 void Btm::ScanningCallbacks::OnScannerRegistered( in OnScannerRegistered()
110 void Btm::ScanningCallbacks::OnScanResult( in OnScanResult()
133 void Btm::ScanningCallbacks::OnTrackAdvFoundLost( in OnTrackAdvFoundLost()
135 void Btm::ScanningCallbacks::OnBatchScanReports(int client_if, int status, in OnBatchScanReports()
140 void Btm::ScanningCallbacks::OnBatchScanThresholdCrossed(int client_if){}; in OnBatchScanThresholdCrossed()
141 void Btm::ScanningCallbacks::OnTimeout(){}; in OnTimeout()
142 void Btm::ScanningCallbacks::OnFilterEnable(bluetooth::hci::Enable enable, in OnFilterEnable()
144 void Btm::ScanningCallbacks::OnFilterParamSetup( in OnFilterParamSetup()
147 void Btm::ScanningCallbacks::OnFilterConfigCallback( in OnFilterConfigCallback()
151 Btm::Btm(os::Handler* handler, neighbor::InquiryModule* inquiry) in Btm() function in bluetooth::shim::Btm
156 .result = std::bind(&Btm::OnInquiryResult, this, std::placeholders::_1), in Btm()
158 std::bind(&Btm::OnInquiryResultWithRssi, this, std::placeholders::_1), in Btm()
160 std::bind(&Btm::OnExtendedInquiryResult, this, std::placeholders::_1), in Btm()
162 std::bind(&Btm::OnInquiryComplete, this, std::placeholders::_1)}; in Btm()
166 void Btm::OnInquiryResult(bluetooth::hci::InquiryResultView view) { in OnInquiryResult()
175 void Btm::OnInquiryResultWithRssi( in OnInquiryResultWithRssi()
186 void Btm::OnExtendedInquiryResult( in OnExtendedInquiryResult()
213 void Btm::OnInquiryComplete(bluetooth::hci::ErrorCode status) { in OnInquiryComplete()
224 void Btm::SetStandardInquiryResultMode() { in SetStandardInquiryResultMode()
228 void Btm::SetInquiryWithRssiResultMode() { in SetInquiryWithRssiResultMode()
232 void Btm::SetExtendedInquiryResultMode() { in SetExtendedInquiryResultMode()
236 void Btm::SetInterlacedInquiryScan() { GetInquiry()->SetInterlacedScan(); } in SetInterlacedInquiryScan()
238 void Btm::SetStandardInquiryScan() { GetInquiry()->SetStandardScan(); } in SetStandardInquiryScan()
240 bool Btm::IsInterlacedScanSupported() const { in IsInterlacedScanSupported()
247 bool Btm::StartInquiry( in StartInquiry()
289 void Btm::CancelInquiry() { in CancelInquiry()
298 bool Btm::IsInquiryActive() const { in IsInquiryActive()
302 bool Btm::IsGeneralInquiryActive() const { return general_inquiry_active_; } in IsGeneralInquiryActive()
304 bool Btm::IsLimitedInquiryActive() const { return limited_inquiry_active_; } in IsLimitedInquiryActive()
309 bool Btm::StartPeriodicInquiry(uint8_t mode, uint8_t duration, in StartPeriodicInquiry()
342 bool Btm::IsGeneralPeriodicInquiryActive() const { in IsGeneralPeriodicInquiryActive()
346 bool Btm::IsLimitedPeriodicInquiryActive() const { in IsLimitedPeriodicInquiryActive()
359 void Btm::SetClassicGeneralDiscoverability(uint16_t window, uint16_t interval) { in SetClassicGeneralDiscoverability()
367 void Btm::SetClassicLimitedDiscoverability(uint16_t window, uint16_t interval) { in SetClassicLimitedDiscoverability()
374 void Btm::SetClassicDiscoverabilityOff() { in SetClassicDiscoverabilityOff()
378 DiscoverabilityState Btm::GetClassicDiscoverabilityState() const { in GetClassicDiscoverabilityState()
391 void Btm::SetLeGeneralDiscoverability() { in SetLeGeneralDiscoverability()
395 void Btm::SetLeLimitedDiscoverability() { in SetLeLimitedDiscoverability()
399 void Btm::SetLeDiscoverabilityOff() { LOG_WARN("UNIMPLEMENTED %s", __func__); } in SetLeDiscoverabilityOff()
401 DiscoverabilityState Btm::GetLeDiscoverabilityState() const { in GetLeDiscoverabilityState()
414 void Btm::SetClassicConnectibleOn() { in SetClassicConnectibleOn()
418 void Btm::SetClassicConnectibleOff() { in SetClassicConnectibleOff()
422 ConnectabilityState Btm::GetClassicConnectabilityState() const { in GetClassicConnectabilityState()
434 void Btm::SetInterlacedPageScan() { GetPage()->SetInterlacedScan(); } in SetInterlacedPageScan()
436 void Btm::SetStandardPageScan() { GetPage()->SetStandardScan(); } in SetStandardPageScan()
438 void Btm::SetLeConnectibleOn() { LOG_WARN("UNIMPLEMENTED %s", __func__); } in SetLeConnectibleOn()
440 void Btm::SetLeConnectibleOff() { LOG_WARN("UNIMPLEMENTED %s", __func__); } in SetLeConnectibleOff()
442 ConnectabilityState Btm::GetLeConnectabilityState() const { in GetLeConnectabilityState()
452 bool Btm::UseLeLink(const RawAddress& raw_address) const { in UseLeLink()
464 BtmStatus Btm::ReadClassicRemoteDeviceName(const RawAddress& raw_address, in ReadClassicRemoteDeviceName()
507 BtmStatus Btm::ReadLeRemoteDeviceName(const RawAddress& raw_address, in ReadLeRemoteDeviceName()
521 BtmStatus Btm::CancelAllReadRemoteDeviceName() { in CancelAllReadRemoteDeviceName()
548 void Btm::StartAdvertising() { in StartAdvertising()
568 void Btm::StopAdvertising() { in StopAdvertising()
578 void Btm::StartConnectability() { StartAdvertising(); } in StartConnectability()
580 void Btm::StopConnectability() { StopAdvertising(); } in StopConnectability()
582 void Btm::StartActiveScanning() { StartScanning(kActiveScanning); } in StartActiveScanning()
584 void Btm::StopActiveScanning() { GetScanning()->Scan(false); } in StopActiveScanning()
586 void Btm::SetScanningTimer(uint64_t duration_ms, in SetScanningTimer()
592 void Btm::CancelScanningTimer() { scanning_timer_.Cancel(); } in CancelScanningTimer()
594 void Btm::StartObserving() { StartScanning(kPassiveScanning); } in StartObserving()
596 void Btm::StopObserving() { StopActiveScanning(); } in StopObserving()
598 void Btm::SetObservingTimer(uint64_t duration_ms, in SetObservingTimer()
604 void Btm::CancelObservingTimer() { observing_timer_.Cancel(); } in CancelObservingTimer()
606 void Btm::StartScanning(bool use_active_scanning) { in StartScanning()
611 size_t Btm::GetNumberOfAdvertisingInstances() const { in GetNumberOfAdvertisingInstances()
615 tBTM_STATUS Btm::CreateBond(const RawAddress& bd_addr, tBLE_ADDR_TYPE addr_type, in CreateBond()
640 bool Btm::CancelBond(const RawAddress& bd_addr) { in CancelBond()
646 bool Btm::RemoveBond(const RawAddress& bd_addr) { in RemoveBond()
653 uint16_t Btm::GetAclHandle(const RawAddress& remote_bda, in GetAclHandle()
663 hci::AddressWithType Btm::GetAddressAndType(const RawAddress& bd_addr) { in GetAddressAndType()
678 void Btm::Register_HACK_SetScoDisconnectCallback( in Register_HACK_SetScoDisconnectCallback()