Lines Matching refs:observer
64 for (auto& observer : *GetA2dpSourceObservers()) { in SourceConnectionStateCallback()
65 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SourceConnectionStateCallback()
73 for (auto& observer : *GetA2dpSourceObservers()) { in SourceAudioStateCallback()
74 observer.AudioStateCallback(g_interface, bd_addr, state); in SourceAudioStateCallback()
84 for (auto& observer : *GetA2dpSourceObservers()) { in SourceAudioConfigCallback()
85 observer.AudioConfigCallback(g_interface, bd_addr, codec_config, in SourceAudioConfigCallback()
95 for (auto& observer : *GetA2dpSourceObservers()) { in SourceMandatoryCodecPreferredCallback()
96 if (!observer.MandatoryCodecPreferredCallback(g_interface, bd_addr)) in SourceMandatoryCodecPreferredCallback()
106 for (auto& observer : *GetA2dpSinkObservers()) { in SinkConnectionStateCallback()
107 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback()
115 for (auto& observer : *GetA2dpSinkObservers()) { in SinkAudioStateCallback()
116 observer.AudioStateCallback(g_interface, bd_addr, state); in SinkAudioStateCallback()
124 for (auto& observer : *GetA2dpSinkObservers()) { in SinkAudioConfigCallback()
125 observer.AudioConfigCallback(g_interface, bd_addr, sample_rate, in SinkAudioConfigCallback()
202 void AddA2dpSourceObserver(A2dpSourceObserver* observer) override { in AddA2dpSourceObserver() argument
203 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
206 void RemoveA2dpSourceObserver(A2dpSourceObserver* observer) override { in RemoveA2dpSourceObserver() argument
207 a2dp_source_observers_.RemoveObserver(observer); in RemoveA2dpSourceObserver()
210 void AddA2dpSinkObserver(A2dpSinkObserver* observer) override { in AddA2dpSinkObserver() argument
211 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
214 void RemoveA2dpSinkObserver(A2dpSinkObserver* observer) override { in RemoveA2dpSinkObserver() argument
215 a2dp_sink_observers_.RemoveObserver(observer); in RemoveA2dpSinkObserver()