Searched refs:observers_ (Results 1 – 9 of 9) sorted by relevance
/external/libweave/third_party/chromium/base/ |
D | observer_list.h | 110 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/ |
D | observer_list.h | 114 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/ |
D | notifier.h | 47 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/ |
D | call_stats.cc | 103 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()
|
D | call_stats.h | 76 std::list<CallStatsObserver*> observers_; variable
|
D | end_to_end_tests.cc | 1327 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/ |
D | command_instance.cc | 64 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()
|
D | command_instance.h | 122 base::ObserverList<Observer> observers_; variable
|
/external/libchrome/base/power_monitor/ |
D | power_monitor.h | 47 scoped_refptr<ObserverListThreadSafe<PowerObserver> > observers_; variable
|