Home
last modified time | relevance | path

Searched refs:ChromeOSPolicy (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/update_manager/
Dchromeos_policy.cc170 const int ChromeOSPolicy::kTimeoutInitialInterval = 7 * 60;
175 const int ChromeOSPolicy::kTimeoutPeriodicInterval = 5 * 60 * 60;
176 const int ChromeOSPolicy::kTimeoutMaxBackoffInterval = 26 * 60 * 60;
178 const int ChromeOSPolicy::kTimeoutPeriodicInterval = 45 * 60;
179 const int ChromeOSPolicy::kTimeoutMaxBackoffInterval = 4 * 60 * 60;
182 const int ChromeOSPolicy::kTimeoutRegularFuzz = 10 * 60;
183 const int ChromeOSPolicy::kAttemptBackoffMaxIntervalInDays = 16;
184 const int ChromeOSPolicy::kAttemptBackoffFuzzInHours = 12;
185 const int ChromeOSPolicy::kMaxP2PAttempts = 10;
186 const int ChromeOSPolicy::kMaxP2PAttemptsPeriodInSeconds = 5 * 24 * 60 * 60;
[all …]
Dchromeos_policy.h52 class ChromeOSPolicy : public Policy {
54 ChromeOSPolicy() {} in ChromeOSPolicy() function
55 ~ChromeOSPolicy() override {} in ~ChromeOSPolicy()
198 DISALLOW_COPY_AND_ASSIGN(ChromeOSPolicy);
Dchromeos_policy_unittest.cc128 &ChromeOSPolicy::NextUpdateCheckTime, in SetUpdateCheckAllowed()
202 ChromeOSPolicy policy_; // ChromeOSPolicy under test.
214 &ChromeOSPolicy::NextUpdateCheckTime, &next_update_check); in TEST_F()
219 ChromeOSPolicy::kTimeoutInitialInterval + in TEST_F()
220 ChromeOSPolicy::kTimeoutRegularFuzz / 2), in TEST_F()
230 &ChromeOSPolicy::NextUpdateCheckTime, &next_update_check); in TEST_F()
234 ChromeOSPolicy::kTimeoutPeriodicInterval - in TEST_F()
235 ChromeOSPolicy::kTimeoutRegularFuzz / 2), in TEST_F()
239 ChromeOSPolicy::kTimeoutPeriodicInterval + in TEST_F()
240 ChromeOSPolicy::kTimeoutRegularFuzz / 2), in TEST_F()
[all …]
Dupdate_manager.cc33 policy_.reset(new ChromeOSPolicy()); in UpdateManager()