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.cc171 int64_t scatter_factor_in_seconds; in ConvertScatterFactor() local
173 &scatter_factor_in_seconds)) { in ConvertScatterFactor()
176 if (scatter_factor_in_seconds < 0) { in ConvertScatterFactor()
178 << scatter_factor_in_seconds; in ConvertScatterFactor()
181 *scatter_factor = TimeDelta::FromSeconds(scatter_factor_in_seconds); in ConvertScatterFactor()
/system/update_engine/
Dupdate_attempter_unittest.cc1114 int64_t scatter_factor_in_seconds = 36000; in ReadScatterFactorFromPolicyTestStart() local
1122 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in ReadScatterFactorFromPolicyTestStart()
1128 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in ReadScatterFactorFromPolicyTestStart()
1152 int64_t scatter_factor_in_seconds = 10; in DecrementUpdateCheckCountTestStart() local
1160 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in DecrementUpdateCheckCountTestStart()
1166 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in DecrementUpdateCheckCountTestStart()
1214 int64_t scatter_factor_in_seconds = 50; in NoScatteringDoneDuringManualUpdateTestStart() local
1222 DoAll(SetArgPointee<0>(scatter_factor_in_seconds), Return(true))); in NoScatteringDoneDuringManualUpdateTestStart()
1237 EXPECT_EQ(scatter_factor_in_seconds, attempter_.scatter_factor_.InSeconds()); in NoScatteringDoneDuringManualUpdateTestStart()