Home
last modified time | relevance | path

Searched refs:scatter_factor_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Dupdate_attempter.cc426 << utils::FormatSecs(scatter_factor_.InSeconds()); in UpdateAttempter()
464 TimeDelta old_scatter_factor = scatter_factor_; in UpdateAttempter()
471 scatter_factor_ = TimeDelta::FromSeconds(new_scatter_factor_in_secs); in UpdateAttempter()
475 if (scatter_factor_.InSeconds() == 0) { in UpdateAttempter()
502 wait_period_in_secs <= scatter_factor_.InSeconds()) { in UpdateAttempter()
524 } else if (scatter_factor_ != old_scatter_factor) { in UpdateAttempter()
571 base::RandInt(1, scatter_factor_.InSeconds()))); in UpdateAttempter()
Dupdate_attempter.h488 base::TimeDelta scatter_factor_; variable
Dupdate_attempter_unittest.cc756 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in ReadScatterFactorFromPolicyTestStart()
794 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in DecrementUpdateCheckCountTestStart()
854 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in NoScatteringDoneDuringManualUpdateTestStart()