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.cc151 int64_t scatter_factor_in_seconds; in ConvertScatterFactor() local
153 &scatter_factor_in_seconds)) { in ConvertScatterFactor()
156 if (scatter_factor_in_seconds < 0) { in ConvertScatterFactor()
158 << scatter_factor_in_seconds; in ConvertScatterFactor()
161 *scatter_factor = TimeDelta::FromSeconds(scatter_factor_in_seconds); in ConvertScatterFactor()
/system/update_engine/
Dupdate_attempter_unittest.cc742 int64_t scatter_factor_in_seconds = 36000; in ReadScatterFactorFromPolicyTestStart() local
752 SetArgumentPointee<0>(scatter_factor_in_seconds), in ReadScatterFactorFromPolicyTestStart()
756 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in ReadScatterFactorFromPolicyTestStart()
780 int64_t scatter_factor_in_seconds = 10; in DecrementUpdateCheckCountTestStart() local
790 SetArgumentPointee<0>(scatter_factor_in_seconds), in DecrementUpdateCheckCountTestStart()
794 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in DecrementUpdateCheckCountTestStart()
839 int64_t scatter_factor_in_seconds = 50; in NoScatteringDoneDuringManualUpdateTestStart() local
849 SetArgumentPointee<0>(scatter_factor_in_seconds), in NoScatteringDoneDuringManualUpdateTestStart()
854 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in NoScatteringDoneDuringManualUpdateTestStart()