Home
last modified time | relevance | path

Searched refs:exploded (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc65 Time::Exploded exploded; in TEST_F() local
66 now.LocalExplode(&exploded); in TEST_F()
67 exploded.hour = 0; in TEST_F()
68 exploded.minute = 0; in TEST_F()
69 exploded.second = 0; in TEST_F()
70 exploded.millisecond = 0; in TEST_F()
72 ignore_result(Time::FromLocalExploded(exploded, &expected)); in TEST_F()
Dreal_time_provider.cc67 Time::Exploded exploded; in GetValue() local
68 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue()
69 return new int(exploded.hour); in GetValue()
85 Time::Exploded exploded; in GetValue() local
86 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue()
87 return new int(exploded.minute); in GetValue()
Dweekly_time.cc53 Time::Exploded exploded; in FromTime() local
54 time.LocalExplode(&exploded); in FromTime()
55 return WeeklyTime(exploded.day_of_week, in FromTime()
56 TimeDelta::FromHours(exploded.hour) + in FromTime()
57 TimeDelta::FromMinutes(exploded.minute)); in FromTime()
Dpolicy_test_utils.cc53 base::Time::Exploded exploded; in SetUpDefaultTimeProvider() local
54 current_time.LocalExplode(&exploded); in SetUpDefaultTimeProvider()
55 fake_state_.time_provider()->var_curr_hour()->reset(new int(exploded.hour)); in SetUpDefaultTimeProvider()
57 new int(exploded.minute)); in SetUpDefaultTimeProvider()
Dupdate_time_restrictions_policy_impl_unittest.cc52 void TestPolicy(const Time::Exploded& exploded, in TestPolicy() argument
62 EXPECT_TRUE(Time::FromLocalExploded(exploded, &time)); in TestPolicy()