Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_device_policy_provider.cc148 int64_t scatter_factor_in_seconds; in ConvertScatterFactor() local
150 &scatter_factor_in_seconds)) { in ConvertScatterFactor()
153 if (scatter_factor_in_seconds < 0) { in ConvertScatterFactor()
155 << scatter_factor_in_seconds; in ConvertScatterFactor()
158 *scatter_factor = TimeDelta::FromSeconds(scatter_factor_in_seconds); in ConvertScatterFactor()
/system/update_engine/
Dupdate_attempter_unittest.cc746 int64_t scatter_factor_in_seconds = 36000; in ReadScatterFactorFromPolicyTestStart() local
756 SetArgumentPointee<0>(scatter_factor_in_seconds), in ReadScatterFactorFromPolicyTestStart()
760 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in ReadScatterFactorFromPolicyTestStart()
784 int64_t scatter_factor_in_seconds = 10; in DecrementUpdateCheckCountTestStart() local
794 SetArgumentPointee<0>(scatter_factor_in_seconds), in DecrementUpdateCheckCountTestStart()
798 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in DecrementUpdateCheckCountTestStart()
843 int64_t scatter_factor_in_seconds = 50; in NoScatteringDoneDuringManualUpdateTestStart() local
853 SetArgumentPointee<0>(scatter_factor_in_seconds), in NoScatteringDoneDuringManualUpdateTestStart()
858 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in NoScatteringDoneDuringManualUpdateTestStart()