Lines Matching refs:observer
220 void AddObserver(Adapter::Observer* observer) override { in AddObserver() argument
222 observers_.AddObserver(observer); in AddObserver()
225 void RemoveObserver(Adapter::Observer* observer) override { in RemoveObserver() argument
227 observers_.RemoveObserver(observer); in RemoveObserver()
535 for (auto& observer : observers_) { in AdapterPropertiesCallback() local
536 observer.OnGetBondedDevices(this, status, {}); in AdapterPropertiesCallback()
593 for (auto& observer : observers_) { in AdapterPropertiesCallback() local
594 observer.OnGetBondedDevices(this, status, str_addrs); in AdapterPropertiesCallback()
615 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback() local
616 observer.OnGetRemoteDeviceProperties(this, status, device_address, in RemoteDevicePropertiesCallback()
629 for (auto& observer : observers_) { in RemoteDevicePropertiesCallback() local
630 observer.OnGetRemoteDeviceProperties(this, status, device_address, props); in RemoteDevicePropertiesCallback()
640 for (auto& observer : observers_) { in DeviceFoundCallback() local
641 observer.OnDeviceFound(this, props); in DeviceFoundCallback()
658 for (auto& observer : observers_) { in DiscoveryStateChangedCallback() local
659 observer.OnScanEnableChanged(this, enabled); in DiscoveryStateChangedCallback()
670 for (auto& observer : observers_) { in SSPRequestCallback() local
671 observer.OnSspRequest(this, device_address, name, cod, pairing_variant, in SSPRequestCallback()
681 for (auto& observer : observers_) { in BondStateChangedCallback() local
682 observer.OnBondStateChanged(this, status, device_address, state); in BondStateChangedCallback()
712 for (auto& observer : observers_) { in AclStateChangedCallback() local
713 observer.OnDeviceConnectionStateChanged(this, device_address, connected); in AclStateChangedCallback()
744 for (auto& observer : observers_) { in NotifyAdapterStateChanged() local
745 observer.OnAdapterStateChanged(this, prev_state, new_state); in NotifyAdapterStateChanged()