Home
last modified time | relevance | path

Searched refs:IsWatching (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dscoped_vector_unittest.cc102 bool IsWatching(LifeCycleObject* object) const { in IsWatching() function in webrtc::__anonf7148d500111::LifeCycleWatcher
128 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
140 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
152 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
168 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0])); in TEST()
169 EXPECT_FALSE(second_watcher.IsWatching(scoped_vector[0])); in TEST()
174 EXPECT_FALSE(first_watcher.IsWatching(scoped_vector[1])); in TEST()
175 EXPECT_TRUE(second_watcher.IsWatching(scoped_vector[1])); in TEST()
182 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0])); in TEST()
191 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Dsimple_watcher_unittest.cc63 EXPECT_TRUE(b_watcher.IsWatching()); in TEST_F()
130 EXPECT_FALSE(b_watcher.IsWatching()); in TEST_F()
143 EXPECT_TRUE(b_watcher.IsWatching()); in TEST_F()
145 EXPECT_FALSE(b_watcher.IsWatching()); in TEST_F()
169 EXPECT_TRUE(b_watcher.IsWatching()); in TEST_F()
176 EXPECT_FALSE(b_watcher.IsWatching()); in TEST_F()
189 EXPECT_TRUE(b_watcher.IsWatching()); in TEST_F()
211 EXPECT_TRUE(b_watcher.IsWatching()); in TEST_F()
218 EXPECT_FALSE(b_watcher.IsWatching()); in TEST_F()
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.cc139 if (IsWatching()) in ~SimpleWatcher()
143 bool SimpleWatcher::IsWatching() const { in IsWatching() function in mojo::SimpleWatcher
153 DCHECK(!IsWatching()); in Watch()
233 if (!IsWatching()) in ArmOrNotify()
282 if (arming_policy_ == ArmingPolicy::AUTOMATIC && IsWatching()) in OnHandleReady()
Dsimple_watcher.h96 bool IsWatching() const;