Home
last modified time | relevance | path

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

/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;