Home
last modified time | relevance | path

Searched refs:wait_period (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/update_manager/
Dchromeos_policy.cc392 result->scatter_wait_period = scatter_result.wait_period; in UpdateCanStart()
772 TimeDelta wait_period = NextUpdateCheckTimePolicyImpl::FuzzedInterval( in UpdateBackoffAndDownloadUrl() local
774 backoff_expiry = err_time + wait_period; in UpdateBackoffAndDownloadUrl()
800 result->wait_period = kZeroInterval; in UpdateScattering()
826 TimeDelta wait_period = update_state.scatter_wait_period; in UpdateScattering() local
827 if (wait_period == kZeroInterval || wait_period > *scatter_factor_p) { in UpdateScattering()
828 wait_period = TimeDelta::FromSeconds( in UpdateScattering()
835 min(wait_period, update_state.scatter_wait_period_max)); in UpdateScattering()
837 wait_period = kZeroInterval; in UpdateScattering()
861 bool is_scattering = (wait_period != kZeroInterval || check_threshold); in UpdateScattering()
[all …]
Dchromeos_policy.h46 base::TimeDelta wait_period; member
/system/update_engine/
Dpayload_state_interface.h200 virtual void SetScatteringWaitPeriod(base::TimeDelta wait_period) = 0;
210 virtual void SetStagingWaitPeriod(base::TimeDelta wait_period) = 0;
Dpayload_state.h137 void SetScatteringWaitPeriod(base::TimeDelta wait_period) override;
139 void SetStagingWaitPeriod(base::TimeDelta wait_period) override;
Dpayload_state.cc954 void PayloadState::SetScatteringWaitPeriod(TimeDelta wait_period) { in SetScatteringWaitPeriod() argument
956 scattering_wait_period_ = wait_period; in SetScatteringWaitPeriod()
972 void PayloadState::SetStagingWaitPeriod(TimeDelta wait_period) { in SetStagingWaitPeriod() argument
974 staging_wait_period_ = wait_period; in SetStagingWaitPeriod()