Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_unittest.cc1085 Time epoch = Time::FromInternalValue(0); in TEST_F() local
1086 fake_clock.SetWallclockTime(epoch); in TEST_F()
1095 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
1099 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
1104 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
1111 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
1113 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
1118 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
1120 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
1128 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
[all …]
Dpayload_state_unittest.cc1549 Time epoch = Time::FromInternalValue(1000000); in TEST() local
1550 fake_clock.SetWallclockTime(epoch); in TEST()
1556 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()
1563 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds) / 2); in TEST()
1568 EXPECT_EQ(epoch, payload_state.GetP2PFirstAttemptTimestamp()); in TEST()
1572 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds - 1)); in TEST()
1577 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds + 1)); in TEST()