• Home
  • Raw
  • Download

Lines Matching refs:observer

65   for (auto& observer : *GetA2dpSourceObservers()) {  in SourceConnectionStateCallback()
66 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SourceConnectionStateCallback()
74 for (auto& observer : *GetA2dpSourceObservers()) { in SourceAudioStateCallback()
75 observer.AudioStateCallback(g_interface, bd_addr, state); in SourceAudioStateCallback()
85 for (auto& observer : *GetA2dpSourceObservers()) { in SourceAudioConfigCallback()
86 observer.AudioConfigCallback(g_interface, bd_addr, codec_config, in SourceAudioConfigCallback()
96 for (auto& observer : *GetA2dpSourceObservers()) { in SourceMandatoryCodecPreferredCallback()
97 if (!observer.MandatoryCodecPreferredCallback(g_interface, bd_addr)) in SourceMandatoryCodecPreferredCallback()
107 for (auto& observer : *GetA2dpSinkObservers()) { in SinkConnectionStateCallback()
108 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback()
116 for (auto& observer : *GetA2dpSinkObservers()) { in SinkAudioStateCallback()
117 observer.AudioStateCallback(g_interface, bd_addr, state); in SinkAudioStateCallback()
125 for (auto& observer : *GetA2dpSinkObservers()) { in SinkAudioConfigCallback()
126 observer.AudioConfigCallback(g_interface, bd_addr, sample_rate, in SinkAudioConfigCallback()
208 void AddA2dpSourceObserver(A2dpSourceObserver* observer) override { in AddA2dpSourceObserver() argument
209 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
212 void RemoveA2dpSourceObserver(A2dpSourceObserver* observer) override { in RemoveA2dpSourceObserver() argument
213 a2dp_source_observers_.RemoveObserver(observer); in RemoveA2dpSourceObserver()
216 void AddA2dpSinkObserver(A2dpSinkObserver* observer) override { in AddA2dpSinkObserver() argument
217 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
220 void RemoveA2dpSinkObserver(A2dpSinkObserver* observer) override { in RemoveA2dpSinkObserver() argument
221 a2dp_sink_observers_.RemoveObserver(observer); in RemoveA2dpSinkObserver()