Home
last modified time | relevance | path

Searched refs:kMaxP2PAttemptTimeSeconds (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/common/
Dconstants.h164 constexpr int kMaxP2PAttemptTimeSeconds = 5 * 24 * 60 * 60; variable
/system/update_engine/cros/
Dpayload_state.cc1417 if (time_spent_attempting_p2p.InSeconds() > kMaxP2PAttemptTimeSeconds) { in P2PAttemptAllowed()
1422 TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds)) in P2PAttemptAllowed()
Dpayload_state_unittest.cc1520 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds) / 2); in TEST_F()
1529 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds - 1)); in TEST_F()
1534 epoch + TimeDelta::FromSeconds(kMaxP2PAttemptTimeSeconds + 1)); in TEST_F()