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()
555 const Time curr_time = fake_clock_.GetWallclockTime(); in TEST_F() local
561 curr_time - TimeDelta::FromSeconds(8)); in TEST_F()
565 curr_time - TimeDelta::FromSeconds(2)); in TEST_F()
575 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
585 const Time curr_time = fake_clock_.GetWallclockTime(); in TEST_F() local
591 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.cc261 base::TimeTicks curr_time = base::TimeTicks::Now(); in UpdateOverallProgress() local
265 curr_time > forced_progress_log_time_) { in UpdateOverallProgress()
266 forced_progress_log_time_ = curr_time + forced_progress_log_wait_; in UpdateOverallProgress()
1912 base::TimeTicks curr_time = base::TimeTicks::Now(); in CheckpointUpdateProgress() local
1913 if (force || curr_time > update_checkpoint_time_) { in CheckpointUpdateProgress()
1914 update_checkpoint_time_ = curr_time + update_checkpoint_wait_; in CheckpointUpdateProgress()