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.cc326 result->backoff_expiry = update_state.backoff_expiry; in UpdateCanStart()
349 result->backoff_expiry = backoff_url_result.backoff_expiry; in UpdateCanStart()
352 !backoff_url_result.backoff_expiry.is_null(); in UpdateCanStart()
605 result->backoff_expiry = update_state.backoff_expiry; in UpdateBackoffAndDownloadUrl()
628 if (may_backoff && !update_state.backoff_expiry.is_null() && in UpdateBackoffAndDownloadUrl()
629 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
758 Time backoff_expiry; in UpdateBackoffAndDownloadUrl() local
774 backoff_expiry = err_time + wait_period; in UpdateBackoffAndDownloadUrl()
777 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
778 backoff_expiry = Time(); in UpdateBackoffAndDownloadUrl()
[all …]
Dpolicy.h126 base::Time backoff_expiry; member
191 base::Time backoff_expiry; member
Ddefault_policy.cc84 result->backoff_expiry = base::Time(); in UpdateCanStart()
Dchromeos_policy_unittest.cc569 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
591 update_state.backoff_expiry = curr_time + TimeDelta::FromMinutes(3); in TEST_F()
603 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
624 update_state.backoff_expiry = curr_time - TimeDelta::FromSeconds(1); in TEST_F()
637 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
670 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
703 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
736 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
771 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
1544 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
Dchromeos_policy.h35 base::Time backoff_expiry; member
Dpolicy_test_utils.cc109 update_state.backoff_expiry = Time(); in GetDefaultUpdateState()
Dupdate_manager_unittest.cc212 update_state.backoff_expiry = Time(); in TEST_F()