Home
last modified time | relevance | path

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

/aosp12/system/update_engine/update_manager/
H A Dchromeos_policy.cc330 result->backoff_expiry = update_state.backoff_expiry; in UpdateCanStart()
353 result->backoff_expiry = backoff_url_result.backoff_expiry; in UpdateCanStart()
356 !backoff_url_result.backoff_expiry.is_null(); in UpdateCanStart()
527 result->backoff_expiry = update_state.backoff_expiry; in UpdateBackoffAndDownloadUrl()
550 if (may_backoff && !update_state.backoff_expiry.is_null() && in UpdateBackoffAndDownloadUrl()
551 !ec->IsWallclockTimeGreaterThan(update_state.backoff_expiry)) { in UpdateBackoffAndDownloadUrl()
680 Time backoff_expiry; in UpdateBackoffAndDownloadUrl() local
696 backoff_expiry = err_time + wait_period; in UpdateBackoffAndDownloadUrl()
699 if (ec->IsWallclockTimeGreaterThan(backoff_expiry)) in UpdateBackoffAndDownloadUrl()
700 backoff_expiry = Time(); in UpdateBackoffAndDownloadUrl()
[all …]
H A Dpolicy.h135 base::Time backoff_expiry; member
200 base::Time backoff_expiry; member
H A Dchromeos_policy_unittest.cc595 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
617 update_state.backoff_expiry = curr_time + TimeDelta::FromMinutes(3); in TEST_F()
629 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
650 update_state.backoff_expiry = curr_time - TimeDelta::FromSeconds(1); in TEST_F()
663 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
696 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
729 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
762 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
797 EXPECT_EQ(Time(), result.backoff_expiry); in TEST_F()
1469 EXPECT_LT(curr_time, result.backoff_expiry); in TEST_F()
H A Dchromeos_policy.h35 base::Time backoff_expiry; member
H A Ddefault_policy.cc86 result->backoff_expiry = base::Time(); in UpdateCanStart()
H A Dpolicy_test_utils.cc113 update_state.backoff_expiry = Time(); in GetDefaultUpdateState()
H A Dupdate_manager_unittest.cc211 update_state.backoff_expiry = Time(); in TEST_F()