Home
last modified time | relevance | path

Searched refs:FromDays (Results 1 – 19 of 19) sorted by relevance

/external/libbrillo/brillo/
Dbackoff_entry_unittest.cc54 never_expires.set_now(TimeTicks() + TimeDelta::FromDays(100)); in TEST()
264 TimeTicks custom_horizon = TimeTicks() + TimeDelta::FromDays(3); in TEST()
268 custom.set_now(TimeTicks() + TimeDelta::FromDays(2)); in TEST()
275 custom.set_now(TimeTicks() + TimeDelta::FromDays(3)); in TEST()
278 TimeTicks() + TimeDelta::FromDays(3) + TimeDelta::FromMilliseconds(1000), in TEST()
287 TimeTicks custom_horizon = TimeTicks() + TimeDelta::FromDays(3); in TEST()
/external/libchrome/base/test/
Dscoped_task_environment_unittest.cc157 constexpr base::TimeDelta kShortTaskDelay = TimeDelta::FromDays(1); in TEST_P()
177 constexpr base::TimeDelta kLongTaskDelay = TimeDelta::FromDays(7); in TEST_P()
187 TimeDelta::FromDays(5)); in TEST_P()
280 constexpr base::TimeDelta kShortTaskDelay = TimeDelta::FromDays(1); in TEST_F()
284 constexpr base::TimeDelta kLongTaskDelay = TimeDelta::FromDays(7); in TEST_F()
Dtest_mock_time_task_runner_unittest.cc57 TimeDelta::FromDays(20)); in TEST()
118 TimeDelta::FromDays(20)); in TEST()
177 FROM_HERE, run_loop.QuitWhenIdleClosure(), TimeDelta::FromDays(50)); in TEST()
/external/libchrome/base/timer/
Dtimer_unittest.cc567 timer_.Start(FROM_HERE, TimeDelta::FromDays(1), in StartTimer()
608 timer.Start(FROM_HERE, TimeDelta::FromDays(1), Bind(&TimerTestCallback)); in TEST()
619 timer.Start(FROM_HERE, TimeDelta::FromDays(1), Bind(&TimerTestCallback)); in TEST()
634 timer.Start(FROM_HERE, TimeDelta::FromDays(1), Bind(&TimerTestCallback)); in TEST()
643 Timer timer(FROM_HERE, TimeDelta::FromDays(1), Bind(&TimerTestCallback), in TEST()
656 Timer timer(FROM_HERE, TimeDelta::FromDays(1), Bind(&TimerTestCallback), in TEST()
/external/libchrome/base/
Dbuild_time_unittest.cc42 base::Time cutoff(base::Time::Now() - base::TimeDelta::FromDays(45)); in TEST()
/external/libchrome/mojo/public/cpp/base/
Dtime_unittest.cc22 base::TimeDelta in = base::TimeDelta::FromDays(123); in TEST()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DTimeoutsTest.cs76 var clientDeadline = DateTime.UtcNow + TimeSpan.FromDays(7); in DeadlineTransferredToServer()
/external/libchrome/libchrome_tools/patch/
Dbuild_time.patch71 base::Time cutoff(base::Time::Now() - base::TimeDelta::FromDays(45));
/external/libchrome/base/message_loop/
Dmessage_loop.cc59 base::TimeDelta::FromDays(14), 50); in ReportScheduledWakeupResult()
65 base::TimeDelta::FromDays(14), 50); in ReportScheduledWakeupResult()
Dincoming_task_queue.cc26 constexpr TimeDelta kTaskDelayWarningThreshold = TimeDelta::FromDays(14);
Dmessage_loop_unittest.cc387 TimeDelta::FromDays(1)); in TEST_P()
/external/libchrome/base/time/
Dtime_unittest.cc1095 static_assert(TimeDelta::FromDays(2) == TimeDelta::FromHours(48), ""); in TEST()
1107 EXPECT_EQ(TimeDelta::FromDays(13).InDays(), 13); in TEST()
1260 static_assert(kMax > TimeDelta::FromDays(100 * 365), ""); in TEST()
1266 static_assert(kMin < TimeDelta::FromDays(-100 * 365), ""); in TEST()
1284 static_assert(TimeDelta::FromDays(std::numeric_limits<int>::max()).is_max(), in TEST()
1602 TimeTicks() + TimeDelta::FromDays(365.25 * 40); in TEST()
Dtime.h114 static constexpr TimeDelta FromDays(int days);
713 constexpr TimeDelta TimeDelta::FromDays(int days) { in FromDays() function
/external/v8/src/base/platform/
Dtime.h53 static TimeDelta FromDays(int days);
Dtime.cc135 TimeDelta TimeDelta::FromDays(int days) { in FromDays() function in v8::base::TimeDelta
/external/libchrome/base/metrics/
Dstatistics_recorder_unittest.cc332 LOCAL_HISTOGRAM_TIMES("TestHistogramTimes", TimeDelta::FromDays(1)); in TEST_P()
Dhistogram_unittest.cc143 LOCAL_HISTOGRAM_TIMES("Test2Histogram", TimeDelta::FromDays(1)); in TEST_P()
Dfield_trial.cc503 Time two_years_from_build_time = GetBuildTime() + TimeDelta::FromDays(730); in FieldTrialList()
Dfield_trial_unittest.cc47 Time one_year_before_build_time = GetBuildTime() - TimeDelta::FromDays(365); in OneYearBeforeBuildTime()