/external/cronet/base/test/ |
D | test_timeouts.h | 13 class TestTimeouts { 15 TestTimeouts() = delete; 16 TestTimeouts(const TestTimeouts&) = delete; 17 TestTimeouts& operator=(const TestTimeouts&) = delete;
|
D | test_timeouts.cc | 91 bool TestTimeouts::initialized_ = false; 95 base::TimeDelta TestTimeouts::tiny_timeout_ = base::Milliseconds(100); 96 base::TimeDelta TestTimeouts::action_timeout_ = base::Seconds(10); 97 base::TimeDelta TestTimeouts::action_max_timeout_ = base::Seconds(30); 98 base::TimeDelta TestTimeouts::test_launcher_timeout_ = base::Seconds(45); 101 void TestTimeouts::Initialize() { in Initialize()
|
/external/libchrome/base/test/ |
D | test_timeouts.cc | 59 bool TestTimeouts::initialized_ = false; 63 int TestTimeouts::tiny_timeout_ms_ = 100; 64 int TestTimeouts::action_timeout_ms_ = 10000; 66 int TestTimeouts::action_max_timeout_ms_ = 45000; 68 int TestTimeouts::action_max_timeout_ms_ = 30000; 71 int TestTimeouts::test_launcher_timeout_ms_ = 45000; 74 void TestTimeouts::Initialize() { in Initialize()
|
D | test_timeouts.h | 14 class TestTimeouts { 58 DISALLOW_IMPLICIT_CONSTRUCTORS(TestTimeouts);
|
D | test_file_util.cc | 14 const TimeDelta kDelay = TestTimeouts::action_timeout() / kCycles; in EvictFileFromSystemCacheWithRetry()
|
/external/cronet/base/mac/ |
D | mach_port_rendezvous_unittest.cc | 89 port.get(), TestTimeouts::action_timeout().InMilliseconds(), in TEST_F() 97 child, TestTimeouts::action_timeout(), &exit_code)); in TEST_F() 117 child, TestTimeouts::action_timeout(), &exit_code)); in TEST_F() 150 child, TestTimeouts::action_timeout(), &exit_code)); in TEST_F() 164 } while ((TimeTicks::Now() - start) < TestTimeouts::action_timeout()); in TEST_F() 240 child, TestTimeouts::action_timeout(), &exit_code)); in TEST_F()
|
/external/cronet/base/task/thread_pool/ |
D | thread_pool_impl_unittest.cc | 404 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 406 TestTimeouts::tiny_timeout()); in TEST_P() 448 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 450 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 490 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 506 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 508 TestTimeouts::tiny_timeout()); in TEST_P() 514 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 544 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 584 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() [all …]
|
D | can_run_policy_test.h | 52 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TestCanRunPolicyBasic() 59 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TestCanRunPolicyBasic() 122 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TestCanRunPolicyChangedBeforeRun()
|
D | tracked_ref_unittest.cc | 72 TestTimeouts::tiny_timeout()); in TEST() 77 EXPECT_GE(TimeTicks::Now() - begin, TestTimeouts::tiny_timeout()); in TEST()
|
D | task_tracker_unittest.cc | 191 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in ExpectAsyncCompleteShutdownBlocks() 657 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 674 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 723 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 736 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 785 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 793 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 882 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
|
/external/libchrome/base/process/ |
D | process_unittest.cc | 127 PlatformThread::Sleep(TestTimeouts::action_max_timeout()); in MULTIPROCESS_TEST_MAIN() 144 process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 179 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 192 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 198 PlatformThread::Sleep(TestTimeouts::tiny_timeout() * 10); in MULTIPROCESS_TEST_MAIN() 218 TimeDelta timeout = TestTimeouts::tiny_timeout(); in TEST_F()
|
D | process_util_unittest.cc | 140 waited < TestTimeouts::action_max_timeout()); in WaitForChildTermination() 188 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 205 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 705 TestTimeouts::action_max_timeout(), nullptr); in TEST_F() 732 TestTimeouts::action_max_timeout(), nullptr); in TEST_F() 738 TestTimeouts::action_max_timeout(), nullptr)); in TEST_F() 795 EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); in TEST_F() 1132 (base::TimeTicks::Now() + TestTimeouts::action_timeout()).ToZxTime(), in TEST_F() 1147 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_timeout(), in TEST_F()
|
/external/libchrome/base/task_scheduler/ |
D | task_scheduler_impl_unittest.cc | 289 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 291 TestTimeouts::tiny_timeout()); in TEST_P() 329 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 343 TimeTicks::Now() + TestTimeouts::tiny_timeout(), in TEST_P() 345 TestTimeouts::tiny_timeout()); in TEST_P() 351 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 372 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 434 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 573 TestTimeouts::tiny_timeout()); in TEST_F() 575 PlatformThread::Sleep(TestTimeouts::tiny_timeout() * 2); in TEST_F() [all …]
|
D | task_tracker_unittest.cc | 605 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 622 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 637 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 649 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 666 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 679 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 699 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 707 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 730 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() 738 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P() [all …]
|
D | scheduler_worker_pool_unittest.cc | 254 TestTimeouts::tiny_timeout())); in TEST_P() 262 EXPECT_GE(actual_delay, TestTimeouts::tiny_timeout()); in TEST_P() 264 TimeDelta::FromMilliseconds(250) + TestTimeouts::tiny_timeout()); in TEST_P() 307 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
|
D | tracked_ref_unittest.cc | 71 TestTimeouts::tiny_timeout()); in TEST() 76 EXPECT_GE(TimeTicks::Now() - begin, TestTimeouts::tiny_timeout()); in TEST()
|
D | scheduler_single_thread_task_runner_manager_unittest.cc | 369 TestTimeouts::tiny_timeout())); in TEST_P() 377 EXPECT_GE(actual_delay, TestTimeouts::tiny_timeout()); in TEST_P() 379 TimeDelta::FromMilliseconds(250) + TestTimeouts::tiny_timeout()); in TEST_P() 653 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_F()
|
/external/cronet/net/base/ |
D | fuzzer_test_support.cc | 24 TestTimeouts::Initialize(); in InitGlobals() 30 FROM_HERE, TestTimeouts::action_max_timeout()); in InitGlobals()
|
/external/libchrome/mojo/core/ |
D | test_utils.cc | 42 TestTimeouts::tiny_timeout().InMicroseconds()); in TinyDeadline() 47 TestTimeouts::action_timeout().InMicroseconds()); in ActionDeadline()
|
D | invitation_unittest.cc | 463 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 505 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 546 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 660 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 696 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 760 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 846 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F() 863 child_process, TestTimeouts::action_timeout(), &wait_result); in TEST_F()
|
/external/cronet/base/process/ |
D | process_unittest.cc | 178 PlatformThread::Sleep(TestTimeouts::action_max_timeout()); in MULTIPROCESS_TEST_MAIN() 236 process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 273 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 286 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 292 PlatformThread::Sleep(TestTimeouts::tiny_timeout() * 10); in MULTIPROCESS_TEST_MAIN() 310 TimeDelta timeout = TestTimeouts::tiny_timeout(); in TEST_F()
|
D | process_util_unittest.cc | 146 waited < TestTimeouts::action_max_timeout()); in WaitForChildTermination() 196 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 212 EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), in TEST_F() 781 TestTimeouts::action_max_timeout(), nullptr); in TEST_F() 807 TestTimeouts::action_max_timeout(), nullptr); in TEST_F() 813 TestTimeouts::action_max_timeout(), nullptr)); in TEST_F() 891 EXPECT_TRUE(event.TimedWait(TestTimeouts::action_max_timeout())); in TEST_F() 1224 (TimeTicks::Now() + TestTimeouts::action_timeout()).ToZxTime(), &signals); in TEST_F() 1238 ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_timeout(), in TEST_F()
|
/external/cronet/net/proxy_resolution/win/ |
D | dhcp_pac_file_fetcher_win_unittest.cc | 343 max_wait_ = TestTimeouts::tiny_timeout(); in ResetTestState() 475 TestTimeouts::action_timeout()); in TestNormalCaseURLConfiguredMultipleAdaptersWithTimeout() 500 TestTimeouts::action_timeout()); in TestFailureCaseURLConfiguredMultipleAdaptersWithTimeout() 530 TestTimeouts::action_timeout()); in TestFailureCaseNoURLConfigured() 574 "3", true, OK, u"wrongo", TestTimeouts::action_max_timeout()); in TestShortCircuitLessPreferredAdapters() 578 client->fetcher_.max_wait_ = TestTimeouts::action_timeout(); in TestShortCircuitLessPreferredAdapters()
|
/external/cronet/base/android/ |
D | child_process_unittest.cc | 30 process, TestTimeouts::action_timeout(), &exit_code)); in TEST_F()
|
/external/libchrome/base/files/ |
D | file_locking_unittest.cc | 144 TestTimeouts::action_timeout()); in WaitForEventOrTimeout() 169 lock_child_, TestTimeouts::action_timeout(), &rv)); in ExitChildCleanly()
|