Home
last modified time | relevance | path

Searched refs:FromMinutes (Results 1 – 12 of 12) sorted by relevance

/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc185 EXPECT_EQ(base::TimeDelta::FromMinutes(30) + base::TimeDelta::FromHours(12), in TEST()
188 EXPECT_EQ(base::TimeDelta::FromMinutes(15) + base::TimeDelta::FromHours(3), in TEST()
191 EXPECT_EQ(base::TimeDelta::FromMinutes(10) + base::TimeDelta::FromHours(20), in TEST()
194 EXPECT_EQ(base::TimeDelta::FromMinutes(20), intervals[1].end_time); in TEST()
/external/libchrome/base/task_scheduler/
Dservice_thread.cc46 constexpr TimeDelta kHeartbeat = TimeDelta::FromMinutes(59); in Init()
/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc52 TimeDelta::FromMinutes(20)); in TEST()
114 TimeDelta::FromMinutes(20)); in TEST()
/external/libchrome/base/metrics/
Dhistogram_functions.cc84 TimeDelta::FromMinutes(3), 50); in UmaHistogramMediumTimes()
Dhistogram_macros.h214 base::TimeDelta::FromMinutes(3), 50)
/external/libchrome/base/time/
Dtime_unittest.cc1096 static_assert(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180), ""); in TEST()
1097 static_assert(TimeDelta::FromMinutes(2) == TimeDelta::FromSeconds(120), ""); in TEST()
1109 EXPECT_EQ(TimeDelta::FromMinutes(13).InMinutes(), 13); in TEST()
1128 EXPECT_EQ(TimeDelta::FromMinutes(59).InHours(), 0); in TEST()
1129 EXPECT_EQ(TimeDelta::FromMinutes(-59).InHours(), 0); in TEST()
1291 TimeDelta::FromMinutes(std::numeric_limits<int>::max()).is_max(), ""); in TEST()
Dtime.h116 static constexpr TimeDelta FromMinutes(int minutes);
727 constexpr TimeDelta TimeDelta::FromMinutes(int minutes) { in FromMinutes() function
/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc397 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(1), in TEST_F()
494 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(1), in TEST_F()
/external/v8/src/base/platform/
Dtime.cc145 TimeDelta TimeDelta::FromMinutes(int minutes) { in FromMinutes() function in v8::base::TimeDelta
303 const TimeDelta kMaxElapsedTime = TimeDelta::FromMinutes(1); in Now()
Dtime.h55 static TimeDelta FromMinutes(int minutes);
/external/libbrillo/policy/
Ddevice_policy_impl.cc144 base::TimeDelta::FromMinutes(minutes) + base::TimeDelta::FromHours(hours); in DecodeWeeklyTimeFromValue()
/external/libchrome/base/files/
Dfile_unittest.cc407 info.last_modified + base::TimeDelta::FromMinutes(567);