Lines Matching defs:BluetoothHost

48 struct BluetoothHost::impl {
100 class BluetoothHost::impl::BluetoothHostObserverImp : public BluetoothHostObserverStub {
102 explicit BluetoothHostObserverImp(BluetoothHost::impl &host) : host_(host){};
222 BluetoothHost::impl &host_;
229 class BluetoothHost::impl::BluetoothRemoteDeviceObserverImp : public BluetoothRemoteDeviceObserverstub {
231 explicit BluetoothRemoteDeviceObserverImp(BluetoothHost::impl &host) : host_(host){};
333 BluetoothHost::impl &host_;
337 class BluetoothHost::impl::BluetoothBlePeripheralCallbackImp : public BluetoothBlePeripheralObserverStub {
339 explicit BluetoothBlePeripheralCallbackImp(BluetoothHost::impl &host) : host_(host){};
376 BluetoothHost::impl &host_;
380 class BluetoothHost::impl::BluetoothResourceManagerObserverImp : public BluetoothResourceManagerObserverStub {
382 explicit BluetoothResourceManagerObserverImp(BluetoothHost::impl &host) : host_(host){};
418 BluetoothHost::impl &host_;
422 class BluetoothHost::impl::BluetoothSwitchAction : public IBluetoothSwitchAction {
429 CHECK_AND_RETURN_LOG_RET(!BluetoothHost::GetDefaultHost().IsBtProhibitedByEdm(),
431 CHECK_AND_RETURN_LOG_RET(BluetoothHost::GetDefaultHost().pimpl->LoadBluetoothHostService(),
448 CHECK_AND_RETURN_LOG_RET(!BluetoothHost::GetDefaultHost().IsBtProhibitedByEdm(),
450 CHECK_AND_RETURN_LOG_RET(BluetoothHost::GetDefaultHost().pimpl->LoadBluetoothHostService(),
459 BluetoothHost::impl::impl()
482 BluetoothHost::impl::~impl()
495 bool BluetoothHost::impl::LoadBluetoothHostService()
538 void BluetoothHost::impl::LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject)
545 void BluetoothHost::impl::LoadSystemAbilityFail()
552 void BluetoothHost::impl::SyncRandomAddrToService(void)
569 BluetoothHost::BluetoothHost()
577 BluetoothHost::~BluetoothHost() {}
579 BluetoothHost &BluetoothHost::GetDefaultHost()
582 static BluetoothNoDestructor<BluetoothHost> instance;
586 static BluetoothHost hostAdapter;
591 void BluetoothHost::RegisterObserver(std::shared_ptr<BluetoothHostObserver> observer)
598 void BluetoothHost::DeregisterObserver(std::shared_ptr<BluetoothHostObserver> observer)
605 int BluetoothHost::EnableBt()
615 int BluetoothHost::DisableBt()
640 int BluetoothHost::RestrictBluetooth()
654 void BluetoothHost::UpdateVirtualDevice(int32_t action, const std::string &address)
663 int BluetoothHost::SatelliteControl(int type, int state)
680 int BluetoothHost::GetBtState() const
696 int BluetoothHost::GetBtState(int &state) const
710 int BluetoothHost::impl::EnableBluetoothAfterFactoryReset(void)
718 int BluetoothHost::BluetoothFactoryReset()
735 bool BluetoothHost::IsValidBluetoothAddr(const std::string &addr)
770 BluetoothRemoteDevice BluetoothHost::GetRemoteDevice(const std::string &addr, int transport) const
776 int BluetoothHost::EnableBle()
784 int BluetoothHost::DisableBle()
793 int BluetoothHost::EnableBluetoothToRestrictMode(void)
801 bool BluetoothHost::IsBrEnabled() const
812 bool BluetoothHost::IsBleEnabled() const
823 int BluetoothHost::GetLocalAddress(std::string &addr) const
831 std::vector<uint32_t> BluetoothHost::GetProfileList() const
842 int BluetoothHost::GetMaxNumConnectedAudioDevices() const
851 int BluetoothHost::GetBtConnectionState() const
865 int BluetoothHost::GetBtConnectionState(int &state) const
879 int BluetoothHost::GetBtProfileConnState(uint32_t profileId, int &state) const
891 void BluetoothHost::GetLocalSupportedUuids(std::vector<ParcelUuid> &uuids)
905 bool BluetoothHost::Start()
911 void BluetoothHost::Stop()
916 BluetoothDeviceClass BluetoothHost::GetLocalDeviceClass() const
926 bool BluetoothHost::SetLocalDeviceClass(const BluetoothDeviceClass &deviceClass)
936 std::string BluetoothHost::GetLocalName() const
947 int BluetoothHost::GetLocalName(std::string &name) const
956 int BluetoothHost::SetLocalName(const std::string &name)
967 int BluetoothHost::GetBtScanMode(int32_t &scanMode) const
978 int BluetoothHost::SetBtScanMode(int mode, int duration)
989 int BluetoothHost::GetBondableMode(int transport) const
998 bool BluetoothHost::SetBondableMode(int transport, int mode)
1007 int BluetoothHost::StartBtDiscovery()
1018 int BluetoothHost::CancelBtDiscovery()
1029 int32_t BluetoothHost::IsBtDiscovering(bool &isDiscovering, int transport) const
1040 long BluetoothHost::GetBtDiscoveryEndMillis() const
1051 int32_t BluetoothHost::GetPairedDevices(int transport, std::vector<BluetoothRemoteDevice> &pairedDevices) const
1069 int32_t BluetoothHost::RemovePair(const BluetoothRemoteDevice &device)
1081 bool BluetoothHost::RemoveAllPairs()
1090 void BluetoothHost::RegisterRemoteDeviceObserver(std::shared_ptr<BluetoothRemoteDeviceObserver> observer)
1098 void BluetoothHost::DeregisterRemoteDeviceObserver(std::shared_ptr<BluetoothRemoteDeviceObserver> observer)
1106 int BluetoothHost::GetBleMaxAdvertisingDataLength() const
1114 void BluetoothHost::LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject)
1121 void BluetoothHost::LoadSystemAbilityFail()
1128 int32_t BluetoothHost::GetLocalProfileUuids(std::vector<std::string> &uuids)
1138 int BluetoothHost::SetFastScan(bool isEnable)
1149 int BluetoothHost::GetRandomAddress(const std::string &realAddr, std::string &randomAddr) const
1155 int BluetoothHost::ConnectAllowedProfiles(const std::string &remoteAddr) const
1166 int BluetoothHost::DisconnectAllowedProfiles(const std::string &remoteAddr) const
1177 void BluetoothHost::RegisterBtResourceManagerObserver(std::shared_ptr<BluetoothResourceManagerObserver> observer)
1184 void BluetoothHost::DeregisterBtResourceManagerObserver(std::shared_ptr<BluetoothResourceManagerObserver> observer)
1191 int BluetoothHost::SetFastScanLevel(int level)
1199 bool BluetoothHost::IsBtProhibitedByEdm(void)
1227 void BluetoothHost::OnRemoveBluetoothSystemAbility()
1249 void BluetoothHost::Close(void)