Lines Matching refs:Adapter
129 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00";
131 const char Adapter::kDefaultName[] = "not-initialized";
148 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged()
154 void Adapter::Observer::OnDeviceConnectionStateChanged( in OnDeviceConnectionStateChanged()
155 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged()
159 void Adapter::Observer::OnScanEnableChanged(Adapter* adapter, in OnScanEnableChanged()
164 void Adapter::Observer::OnSspRequest(Adapter* adapter, in OnSspRequest()
171 void Adapter::Observer::OnBondStateChanged(Adapter* adapter, int status, in OnBondStateChanged()
177 void Adapter::Observer::OnGetBondedDevices( in OnGetBondedDevices()
178 Adapter* adapter, int status, in OnGetBondedDevices()
183 void Adapter::Observer::OnGetRemoteDeviceProperties( in OnGetRemoteDeviceProperties()
184 Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties()
189 void Adapter::Observer::OnDeviceFound(Adapter* adapter, in OnDeviceFound()
195 class AdapterImpl : public Adapter, public hal::BluetoothInterface::Observer {
219 void AddObserver(Adapter::Observer* observer) override { in AddObserver()
224 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver()
764 base::ObserverList<Adapter::Observer> observers_;
801 std::unique_ptr<Adapter> Adapter::Create() { in Create()
802 return std::unique_ptr<Adapter>(new AdapterImpl()); in Create()