Home
last modified time | relevance | path

Searched refs:nested_run_loop (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/libchrome/base/
H A Drun_loop_unittest.cc48 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in RunNestedLoopTask() local
52 FROM_HERE, BindOnce(&QuitWhenIdleTask, Unretained(&nested_run_loop), in RunNestedLoopTask()
58 nested_run_loop.Run(); in RunNestedLoopTask()
466 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
473 nested_run_loop.QuitClosure()); in TEST_P()
476 nested_run_loop.Run(); in TEST_P()
517 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
519 nested_run_loop.QuitClosure()); in TEST_P()
520 nested_run_loop.Run(); in TEST_P()
583 RunLoop nested_run_loop(RunLoop::Type::kDefault); in TEST() local
[all …]
/aosp_15_r20/external/cronet/base/
H A Drun_loop_unittest.cc43 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in RunNestedLoopTask() local
47 FROM_HERE, BindOnce(&QuitWhenIdleTask, Unretained(&nested_run_loop), in RunNestedLoopTask()
53 nested_run_loop.Run(); in RunNestedLoopTask()
454 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
461 FROM_HERE, nested_run_loop.QuitClosure()); in TEST_P()
464 nested_run_loop.Run(); in TEST_P()
547 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
549 FROM_HERE, nested_run_loop.QuitClosure()); in TEST_P()
550 nested_run_loop.Run(); in TEST_P()
616 RunLoop nested_run_loop(RunLoop::Type::kDefault); in TEST() local
[all …]
/aosp_15_r20/external/cronet/base/task/
H A Dsingle_thread_task_executor_unittest.cc971 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
975 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
979 FROM_HERE, BindOnce(&FuncThatQuitsNow, nested_run_loop.QuitClosure())); in TEST_P()
1007 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
1011 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1017 FROM_HERE, nested_run_loop.QuitClosure()); in TEST_P()
1037 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
1041 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1043 FROM_HERE, nested_run_loop.QuitClosure()); in TEST_P()
1064 RunLoop* nested_run_loop) { in QuitAndRunNestedLoop() argument
[all …]
/aosp_15_r20/external/libchrome/base/message_loop/
H A Dmessage_loop_unittest.cc1388 RunLoop nested_run_loop; in TEST_P() local
1392 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1398 nested_run_loop.QuitClosure()); in TEST_P()
1418 RunLoop nested_run_loop; in TEST_P() local
1422 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1424 nested_run_loop.QuitClosure()); in TEST_P()
1445 RunLoop* nested_run_loop) { in QuitAndRunNestedLoop() argument
1448 nested_run_loop->Run(); in QuitAndRunNestedLoop()
1459 RunLoop nested_run_loop; in TEST_P() local
1462 nested_run_loop.QuitClosure()); in TEST_P()
[all …]
/aosp_15_r20/external/libchrome/mojo/public/cpp/bindings/tests/
H A Dconnector_unittest.cc500 base::RunLoop nested_run_loop(base::RunLoop::Type::kNestableTasksAllowed); in AccumulateWithNestedLoop() local
501 accumulator->set_closure(nested_run_loop.QuitClosure()); in AccumulateWithNestedLoop()
502 nested_run_loop.Run(); in AccumulateWithNestedLoop()
/aosp_15_r20/external/libchrome/base/debug/
H A Dtask_annotator_unittest.cc350 [](RunLoop* nested_run_loop, const Location& location2, in TEST_F()
353 nested_run_loop->RunUntilIdle(); in TEST_F()
/aosp_15_r20/external/cronet/base/task/common/
H A Dtask_annotator_unittest.cc403 BindLambdaForTesting([dummy_ipc_hash1](RunLoop* nested_run_loop, in TEST_F()
413 nested_run_loop->RunUntilIdle(); in TEST_F()
/aosp_15_r20/external/cronet/base/task/sequence_manager/
H A Dsequence_manager_impl_unittest.cc831 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_P() local
853 nested_run_loop.Run(); in TEST_P()
872 nested_run_loop.Quit(); in TEST_P()
5734 RunLoop nested_run_loop(RunLoop::Type::kNestableTasksAllowed); in TEST_F() local
5735 auto nested_run_loop_quit_closure = nested_run_loop.QuitClosure(); in TEST_F()
5738 nested_run_loop.Run(); in TEST_F()