Home
last modified time | relevance | path

Searched refs:observers_ (Results 1 – 9 of 9) sorted by relevance

/external/libweave/third_party/chromium/base/
Dobserver_list.h110 size_t size() const { return observers_.size(); } in size()
117 ListType observers_; variable
132 : list->observers_.size()) { in Iterator()
146 ListType& observers = list_->observers_; in GetNext()
157 auto it = std::find(observers_.begin(), observers_.end(), obs); in AddObserver()
158 if (it != observers_.end()) { in AddObserver()
162 observers_.push_back(obs); in AddObserver()
169 std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
170 if (it != observers_.end()) { in RemoveObserver()
174 observers_.erase(it); in RemoveObserver()
[all …]
/external/libchrome/base/
Dobserver_list.h114 size_t size() const { return observers_.size(); } in size()
123 ListType observers_; variable
138 : list->observers_.size()) { in Iterator()
152 ListType& observers = list_->observers_; in GetNext()
163 if (ContainsValue(observers_, obs)) { in AddObserver()
167 observers_.push_back(obs); in AddObserver()
174 std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
175 if (it != observers_.end()) { in RemoveObserver()
179 observers_.erase(it); in RemoveObserver()
187 for (size_t i = 0; i < observers_.size(); ++i) { in HasObserver()
[all …]
/external/webrtc/talk/app/webrtc/
Dnotifier.h47 observers_.push_back(observer); in RegisterObserver()
51 for (std::list<ObserverInterface*>::iterator it = observers_.begin(); in UnregisterObserver()
52 it != observers_.end(); it++) { in UnregisterObserver()
54 observers_.erase(it); in UnregisterObserver()
64 std::list<ObserverInterface*> observers = observers_; in FireOnChanged()
72 std::list<ObserverInterface*> observers_;
/external/webrtc/webrtc/video/
Dcall_stats.cc103 assert(observers_.empty()); in ~CallStats()
125 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in Process()
126 it != observers_.end(); ++it) { in Process()
144 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in RegisterStatsObserver()
145 it != observers_.end(); ++it) { in RegisterStatsObserver()
149 observers_.push_back(observer); in RegisterStatsObserver()
154 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in DeregisterStatsObserver()
155 it != observers_.end(); ++it) { in DeregisterStatsObserver()
157 observers_.erase(it); in DeregisterStatsObserver()
Dcall_stats.h76 std::list<CallStatsObserver*> observers_; variable
Dend_to_end_tests.cc1327 for (const auto& observer : observers_) { in TEST_F()
1338 observers_[stream_index].reset(new VideoOutputObserver( in TEST_F()
1346 receive_config->renderer = observers_[stream_index].get(); in TEST_F()
1350 rtc::scoped_ptr<VideoOutputObserver> observers_[kNumStreams]; in TEST_F() member in webrtc::TEST_F::Tester
/external/libweave/src/commands/
Dcommand_instance.cc64 FOR_EACH_OBSERVER(Observer, observers_, OnCommandDestroyed()); in ~CommandInstance()
112 FOR_EACH_OBSERVER(Observer, observers_, OnProgressChanged()); in SetProgress()
123 FOR_EACH_OBSERVER(Observer, observers_, OnResultsChanged()); in Complete()
134 FOR_EACH_OBSERVER(Observer, observers_, OnErrorChanged()); in SetError()
236 observers_.AddObserver(observer); in AddObserver()
240 observers_.RemoveObserver(observer); in RemoveObserver()
249 FOR_EACH_OBSERVER(Observer, observers_, OnErrorChanged()); in Abort()
281 FOR_EACH_OBSERVER(Observer, observers_, OnStateChanged()); in SetStatus()
Dcommand_instance.h122 base::ObserverList<Observer> observers_; variable
/external/libchrome/base/power_monitor/
Dpower_monitor.h47 scoped_refptr<ObserverListThreadSafe<PowerObserver> > observers_; variable