Home
last modified time | relevance | path

Searched refs:may_block (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_traits_unittest.cc16 EXPECT_FALSE(traits.may_block()); in TEST()
25 EXPECT_FALSE(traits.may_block()); in TEST()
34 EXPECT_FALSE(traits.may_block()); in TEST()
43 EXPECT_TRUE(traits.may_block()); in TEST()
52 EXPECT_FALSE(traits.may_block()); in TEST()
63 EXPECT_TRUE(traits.may_block()); in TEST()
76 EXPECT_EQ(traits.may_block(), traits_copy.may_block()); in TEST()
90 EXPECT_FALSE(overridden.may_block()); in TEST()
103 EXPECT_FALSE(overridden.may_block()); in TEST()
117 EXPECT_TRUE(overridden.may_block()); in TEST()
[all …]
Denvironment_config.cc17 if (traits.may_block() || traits.with_base_sync_primitives()) in GetEnvironmentIndexForTraits()
Dtask_traits.h200 constexpr bool may_block() const { return may_block_; } in may_block() function
/external/libbrillo/brillo/message_loops/
Dfake_message_loop.cc58 bool FakeMessageLoop::RunOnce(bool may_block) { in RunOnce() argument
93 (may_block || fire_order_.top().first <= current_time_)) { in RunOnce()
Dmessage_loop.h112 virtual bool RunOnce(bool may_block) = 0;
Dbase_message_loop.cc197 bool BaseMessageLoop::RunOnce(bool may_block) { in RunOnce() argument
201 if (!may_block) in RunOnce()
Dfake_message_loop.h50 bool RunOnce(bool may_block) override;
Dmock_message_loop.h73 MOCK_METHOD1(RunOnce, bool(bool may_block));
Dbase_message_loop.h54 bool RunOnce(bool may_block) override;