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.cc172 int64_t scatter_factor_in_seconds; in ConvertScatterFactor() local
174 &scatter_factor_in_seconds)) { in ConvertScatterFactor()
177 if (scatter_factor_in_seconds < 0) { in ConvertScatterFactor()
179 << scatter_factor_in_seconds; in ConvertScatterFactor()
182 *scatter_factor = TimeDelta::FromSeconds(scatter_factor_in_seconds); in ConvertScatterFactor()
/system/update_engine/cros/
Dupdate_attempter_unittest.cc1069 int64_t scatter_factor_in_seconds = 36000; in ReadScatterFactorFromPolicyTestStart() local
1077 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in ReadScatterFactorFromPolicyTestStart()
1083 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in ReadScatterFactorFromPolicyTestStart()
1105 int64_t scatter_factor_in_seconds = 10; in DecrementUpdateCheckCountTestStart() local
1113 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in DecrementUpdateCheckCountTestStart()
1119 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in DecrementUpdateCheckCountTestStart()
1164 int64_t scatter_factor_in_seconds = 50; in NoScatteringDoneDuringManualUpdateTestStart() local
1172 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in NoScatteringDoneDuringManualUpdateTestStart()
1179 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in NoScatteringDoneDuringManualUpdateTestStart()