Home
last modified time | relevance | path

Searched refs:curr_time (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/update_manager/
Dchromeos_policy_unittest.cc107 Time curr_time = next_update_check; in SetUpdateCheckAllowed() local
109 curr_time += TimeDelta::FromSeconds(1); in SetUpdateCheckAllowed()
111 curr_time -= TimeDelta::FromSeconds(1); in SetUpdateCheckAllowed()
112 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
549 const Time curr_time = fake_clock_.GetWallclockTime(); in TEST_F() local
555 curr_time - TimeDelta::FromSeconds(8)); in TEST_F()
559 curr_time - TimeDelta::FromSeconds(2)); in TEST_F()
569 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
579 const Time curr_time = fake_clock_.GetWallclockTime(); in TEST_F() local
585 curr_time - TimeDelta::FromSeconds(8)); in TEST_F()
[all …]
Dandroid_things_policy_unittest.cc56 Time curr_time = next_update_check; in SetUpdateCheckAllowed() local
58 curr_time += TimeDelta::FromSeconds(1); in SetUpdateCheckAllowed()
60 curr_time -= TimeDelta::FromSeconds(1); in SetUpdateCheckAllowed()
61 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
Devaluation_context.cc46 bool IsTimeGreaterThanHelper(Time ref_time, Time curr_time, Time* reeval_time) { in IsTimeGreaterThanHelper() argument
47 if (curr_time > ref_time) in IsTimeGreaterThanHelper()
/system/update_engine/payload_consumer/
Ddelta_performer.cc223 base::TimeTicks curr_time = base::TimeTicks::Now(); in UpdateOverallProgress() local
227 curr_time > forced_progress_log_time_) { in UpdateOverallProgress()
228 forced_progress_log_time_ = curr_time + forced_progress_log_wait_; in UpdateOverallProgress()
1853 base::TimeTicks curr_time = base::TimeTicks::Now(); in CheckpointUpdateProgress() local
1854 if (force || curr_time > update_checkpoint_time_) { in CheckpointUpdateProgress()
1855 update_checkpoint_time_ = curr_time + update_checkpoint_wait_; in CheckpointUpdateProgress()