Home
last modified time | relevance | path

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

/external/webrtc/webrtc/system_wrappers/source/
Dscoped_vector_unittest.cc102 bool IsWatching(LifeCycleObject* object) const { in IsWatching() function in webrtc::__anon21fd7dcc0111::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/base/memory/
Dscoped_vector_unittest.cc109 bool IsWatching(LifeCycleObject* object) const { in IsWatching() function in __anone347c20f0111::LifeCycleWatcher
135 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
147 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
159 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
175 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0])); in TEST()
176 EXPECT_FALSE(second_watcher.IsWatching(scoped_vector[0])); in TEST()
181 EXPECT_FALSE(first_watcher.IsWatching(scoped_vector[1])); in TEST()
182 EXPECT_TRUE(second_watcher.IsWatching(scoped_vector[1])); in TEST()
189 EXPECT_TRUE(first_watcher.IsWatching(scoped_vector[0])); in TEST()
198 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
[all …]