Home
last modified time | relevance | path

Searched refs:MayBlock (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_traits_unittest.cc38 TEST(TaskSchedulerTaskTraitsTest, MayBlock) { in TEST() argument
39 constexpr TaskTraits traits = {MayBlock()}; in TEST()
59 MayBlock(), WithBaseSyncPrimitives()}; in TEST()
70 MayBlock(), WithBaseSyncPrimitives()}; in TEST()
109 constexpr TaskTraits left = {MayBlock()}; in TEST()
122 constexpr TaskTraits right = {MayBlock()}; in TEST()
162 constexpr TaskTraits left = {MayBlock(), TaskPriority::BACKGROUND, in TEST()
Dservice_thread.cc66 {TaskPriority::BACKGROUND}, {TaskPriority::BACKGROUND, MayBlock()}, in PerformHeartbeatLatencyReport()
67 {TaskPriority::USER_VISIBLE}, {TaskPriority::USER_VISIBLE, MayBlock()}, in PerformHeartbeatLatencyReport()
68 {TaskPriority::USER_BLOCKING}, {TaskPriority::USER_BLOCKING, MayBlock()}}; in PerformHeartbeatLatencyReport()
Dtask_scheduler_impl_unittest.cc201 params.push_back(TraitsExecutionModePair({MayBlock()}, execution_mode)); in GetTraitsExecutionModePairs()
478 {MayBlock(), TaskPriority::BACKGROUND}); in TEST_F()
484 {MayBlock(), TaskPriority::USER_VISIBLE})); in TEST_F()
488 {MayBlock(), TaskPriority::USER_BLOCKING})); in TEST_F()
784 {TaskPriority::BACKGROUND, MayBlock()}, in TEST_F()
789 {TaskPriority::USER_BLOCKING, MayBlock()}, in TEST_F()
795 {TaskPriority::BACKGROUND, MayBlock()}, in TEST_F()
801 {TaskPriority::USER_BLOCKING, MayBlock()}, in TEST_F()
808 {TaskPriority::BACKGROUND, MayBlock()}, in TEST_F()
813 {TaskPriority::USER_BLOCKING, MayBlock()}, in TEST_F()
[all …]
Dtask_traits_unittest.nc13 constexpr TaskTraits traits = {MayBlock(), MayBlock()};
25 MayBlock(),
Dtask_traits.h86 struct MayBlock {}; struct
123 ValidTrait(MayBlock) {} in ValidTrait()
164 internal::BooleanArgGetter<MayBlock>(), in TaskTraits()
Dtask_tracker_unittest.cc479 TaskTraits(MayBlock(), GetParam()), TimeDelta()); in TEST_P()
1323 {{MayBlock(), TaskPriority::BACKGROUND}, in TEST()
1332 {{MayBlock(), TaskPriority::USER_VISIBLE}, in TEST()
1341 {{MayBlock(), TaskPriority::USER_BLOCKING}, in TEST()
Dscheduler_worker_pool_impl_unittest.cc1517 worker_pool_->CreateTaskRunnerWithTraits({MayBlock()}); in TEST_F()
1520 {TaskPriority::BACKGROUND, MayBlock()}); in TEST_F()
1598 {TaskPriority::BACKGROUND, MayBlock()}); in TEST_P()
1645 MayBlock,
Dscheduler_single_thread_task_runner_manager.cc251 TaskTraits(MayBlock()), TimeDelta()); in GetWorkFromWindowsMessageQueue()
Dscheduler_single_thread_task_runner_manager_unittest.cc308 TaskPriority::USER_BLOCKING, MayBlock(), in TEST_P()
/external/libchrome/libchrome_tools/patch/
Dmojom_disable_trace_and_mem_dump.patch216 - {base::MayBlock(), base::TaskPriority::USER_BLOCKING,
220 + // {base::MayBlock(), base::TaskPriority::USER_BLOCKING,
241 - {base::MayBlock(), base::TaskPriority::BACKGROUND});
250 + // {base::MayBlock(), base::TaskPriority::BACKGROUND});
/external/libchrome/base/threading/
Dscoped_blocking_call_unittest.cc48 TEST_F(ScopedBlockingCallTest, MayBlock) { in TEST_F() argument
/external/libchrome/crypto/
Dnss_util.cc324 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMTokenAndSystemSlot()
487 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMForChromeOSUser()
/external/libchrome/base/debug/
Dtask_annotator_unittest.cc199 {base::MayBlock(), base::WithBaseSyncPrimitives()}); in TEST_F()
/external/libchrome/components/policy/core/common/
Dconfiguration_policy_provider_test.cc207 base::CreateSequencedTaskRunnerWithTraits({base::MayBlock()}))); in SetUp()
/external/libchrome/base/test/launcher/
Dtest_launcher.cc620 FROM_HERE, {MayBlock(), TaskShutdownBehavior::BLOCK_SHUTDOWN}, in LaunchChildGTestProcess()
/external/libchrome/base/trace_event/
Dtrace_log.cc968 {MayBlock(), TaskPriority::BACKGROUND, in FinishFlush()