Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dchromeos_policy.cc315 result->backoff_expiry = update_state.backoff_expiry; in UpdateCanStart()
338 result->backoff_expiry = backoff_url_result.backoff_expiry; in UpdateCanStart()
341 !backoff_url_result.backoff_expiry.is_null(); in UpdateCanStart()
598 result->backoff_expiry = update_state.backoff_expiry; in UpdateBackoffAndDownloadUrl()
621 if (may_backoff && !update_state.backoff_expiry.is_null() && in UpdateBackoffAndDownloadUrl()
622 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
751 Time backoff_expiry; in UpdateBackoffAndDownloadUrl() local
767 backoff_expiry = err_time + wait_period; in UpdateBackoffAndDownloadUrl()
770 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
771 backoff_expiry = Time(); in UpdateBackoffAndDownloadUrl()
[all …]
Dpolicy.h123 base::Time backoff_expiry; member
188 base::Time backoff_expiry; member
Ddefault_policy.cc84 result->backoff_expiry = base::Time(); in UpdateCanStart()
Dchromeos_policy_unittest.cc575 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
597 update_state.backoff_expiry = curr_time + TimeDelta::FromMinutes(3); in TEST_F()
609 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
630 update_state.backoff_expiry = curr_time - TimeDelta::FromSeconds(1); in TEST_F()
643 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
676 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
709 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
742 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
777 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
1591 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
Dchromeos_policy.h35 base::Time backoff_expiry; member
Dpolicy_test_utils.cc108 update_state.backoff_expiry = Time(); in GetDefaultUpdateState()
Dupdate_manager_unittest.cc212 update_state.backoff_expiry = Time(); in TEST_F()