Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dwatchdog_unittest.cc80 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F()
91 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F()
135 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F()
/external/libbrillo/policy/tests/
Dlibpolicy_test.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/components/policy/core/common/
Dasync_policy_loader.cc28 constexpr TimeDelta kReloadInterval = TimeDelta::FromMinutes(15);
/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);
725 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/libchrome/base/i18n/
Dtime_formatting_unittest.cc300 TimeDelta delta = TimeDelta::FromMinutes(15 * 60 + 42); in TEST()
/external/libbrillo/policy/
Ddevice_policy_impl.cc150 base::TimeDelta::FromMinutes(minutes) + base::TimeDelta::FromHours(hours); in DecodeWeeklyTimeFromValue()
/external/libchrome/base/files/
Dfile_unittest.cc407 info.last_modified + base::TimeDelta::FromMinutes(567);