Lines Matching refs:Adapter
130 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00";
132 const char Adapter::kDefaultName[] = "not-initialized";
149 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged()
155 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged()
156 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged()
160 void Adapter::Observer::OnScanEnableChanged(Adapter* adapter, in OnScanEnableChanged()
165 void Adapter::Observer::OnSspRequest(Adapter* adapter, in OnSspRequest()
172 void Adapter::Observer::OnBondStateChanged(Adapter* adapter, int status, in OnBondStateChanged()
178 void Adapter::Observer::OnGetBondedDevices( in OnGetBondedDevices()
179 Adapter* adapter, int status, in OnGetBondedDevices()
184 void Adapter::Observer::OnGetRemoteDeviceProperties( in OnGetRemoteDeviceProperties()
185 Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties()
190 void Adapter::Observer::OnDeviceFound(Adapter* adapter, in OnDeviceFound()
196 class AdapterImpl : public Adapter, public hal::BluetoothInterface::Observer {
220 void AddObserver(Adapter::Observer* observer) override { in AddObserver()
225 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver()
768 btbase::AbstractObserverList<Adapter::Observer> observers_;
805 std::unique_ptr<Adapter> Adapter::Create() { in Create()
806 return std::unique_ptr<Adapter>(new AdapterImpl()); in Create()