Home
last modified time | relevance | path

Searched refs:RunOnce (Results 1 – 20 of 20) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dmock_message_loop.h54 ON_CALL(*this, RunOnce(::testing::_)) in MockMessageLoop()
56 &FakeMessageLoop::RunOnce)); in MockMessageLoop()
73 MOCK_METHOD1(RunOnce, bool(bool may_block));
Dmessage_loop_utils.cc22 loop->RunOnce(true); in MessageLoopRunUntil()
30 for (result = 0; result < iterations && loop->RunOnce(false); result++) {} in MessageLoopRunMaxIterations()
Dfake_message_loop_unittest.cc67 EXPECT_FALSE(loop_->RunOnce(false)); in TEST_F()
73 EXPECT_TRUE(loop_->RunOnce(true)); in TEST_F()
79 EXPECT_TRUE(loop_->RunOnce(false)); in TEST_F()
Dmessage_loop.cc55 while (!should_exit_ && RunOnce(true)) {} in Run()
Dglib_message_loop.h37 bool RunOnce(bool may_block) override;
Dmessage_loop.h112 virtual bool RunOnce(bool may_block) = 0;
Dfake_message_loop.h50 bool RunOnce(bool may_block) override;
Dbase_message_loop.h47 bool RunOnce(bool may_block) override;
Dfake_message_loop.cc58 bool FakeMessageLoop::RunOnce(bool may_block) { in RunOnce() function in brillo::FakeMessageLoop
Dglib_message_loop.cc140 bool GlibMessageLoop::RunOnce(bool may_block) { in RunOnce() function in brillo::GlibMessageLoop
Dbase_message_loop.cc185 bool BaseMessageLoop::RunOnce(bool may_block) { in RunOnce() function in brillo::BaseMessageLoop
/external/libweave/src/commands/
Dcommand_queue_unittest.cc142 task_runner_.RunOnce(); in TEST_F()
160 task_runner_.RunOnce(); // Executes "remove_task(id2) @ T+10s". in TEST_F()
164 task_runner_.RunOnce(); // Should remove task "id1" from queue. in TEST_F()
168 task_runner_.RunOnce(); // Should remove task "id2" from queue. in TEST_F()
Dcloud_command_proxy_unittest.cc164 task_runner_.RunOnce(); in TEST_F()
196 task_runner_.RunOnce(); in TEST_F()
370 task_runner_.RunOnce(); in TEST_F()
/external/libweave/src/test/
Dfake_task_runner.cc25 bool FakeTaskRunner::RunOnce() { in RunOnce() function in weave::provider::test::FakeTaskRunner
37 for (size_t i = 0; i < number_of_iterations && !break_ && RunOnce(); ++i) { in Run()
/external/libweave/include/weave/provider/test/
Dfake_task_runner.h30 bool RunOnce();
/external/libbrillo/brillo/daemons/
Ddaemon.cc38 while (brillo_message_loop_.RunOnce(false /* may_block */)) {} in Run()
/external/libweave/src/notification/
Dxmpp_channel_unittest.cc146 task_runner_.RunOnce(); in RunUntil()
/external/llvm/unittests/IR/
DLegacyPassManagerTest.cpp290 TEST(PassManager, RunOnce) { in TEST() argument
/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc27 EXPECT_CALL(mock_loop_, RunOnce(true)).Times(AnyNumber()); in SetUp()
/external/libweave/src/
Ddevice_registration_info_unittest.cc640 task_runner_.RunOnce(); in TearDown()