Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/
Dupdate_attempter_unittest.cc877 Time epoch = Time::FromInternalValue(0); in TEST_F() local
878 fake_clock.SetWallclockTime(epoch); in TEST_F()
887 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
891 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
896 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
903 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
905 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
910 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
912 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
920 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
[all …]
Dpayload_state_unittest.cc1547 Time epoch = Time::FromInternalValue(1000000); in TEST() local
1548 fake_clock.SetWallclockTime(epoch); in TEST()
1554 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()
1560 fake_clock.SetWallclockTime(epoch + in TEST()
1566 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()
1569 fake_clock.SetWallclockTime(epoch + in TEST()
1574 fake_clock.SetWallclockTime(epoch + in TEST()