Home
last modified time | relevance | path

Searched refs:backoff_expiry (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/update_manager/
Dchromeos_policy.cc345 result->backoff_expiry = update_state.backoff_expiry; in UpdateCanStart()
368 result->backoff_expiry = backoff_url_result.backoff_expiry; in UpdateCanStart()
371 !backoff_url_result.backoff_expiry.is_null(); in UpdateCanStart()
713 result->backoff_expiry = update_state.backoff_expiry; in UpdateBackoffAndDownloadUrl()
736 if (may_backoff && !update_state.backoff_expiry.is_null() && in UpdateBackoffAndDownloadUrl()
737 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
866 Time backoff_expiry; in UpdateBackoffAndDownloadUrl() local
880 backoff_expiry = err_time + wait_period; in UpdateBackoffAndDownloadUrl()
883 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
884 backoff_expiry = Time(); in UpdateBackoffAndDownloadUrl()
[all …]
Dpolicy.h113 base::Time backoff_expiry; member
178 base::Time backoff_expiry; member
Ddefault_policy.cc70 result->backoff_expiry = base::Time(); in UpdateCanStart()
Dchromeos_policy_unittest.cc171 update_state.backoff_expiry = Time(); in GetDefaultUpdateState()
653 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
673 update_state.backoff_expiry = curr_time + TimeDelta::FromMinutes(3); in TEST_F()
683 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
702 update_state.backoff_expiry = curr_time - TimeDelta::FromSeconds(1); in TEST_F()
715 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
746 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
777 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
808 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
841 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
[all …]
Dchromeos_policy.h36 base::Time backoff_expiry; member
Dupdate_manager_unittest.cc205 update_state.backoff_expiry = Time(); in TEST_F()