Home
last modified time | relevance | path

Searched refs:exponential_backoff_release_time_ (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dbackoff_entry.cc26 exponential_backoff_release_time_ = CalculateReleaseTime(); in InformOfRequest()
48 exponential_backoff_release_time_ = std::max( in InformOfRequest()
49 ImplGetTimeNow() + delay, exponential_backoff_release_time_); in InformOfRequest()
54 return exponential_backoff_release_time_ > ImplGetTimeNow(); in ShouldRejectRequest()
59 if (exponential_backoff_release_time_ <= now) in GetTimeUntilRelease()
61 return exponential_backoff_release_time_ - now; in GetTimeUntilRelease()
65 return exponential_backoff_release_time_; in GetReleaseTime()
69 exponential_backoff_release_time_ = release_time; in SetCustomReleaseTime()
79 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
105 exponential_backoff_release_time_ = base::TimeTicks(); in Reset()
[all …]
Dbackoff_entry.h103 base::TimeTicks exponential_backoff_release_time_; variable
/external/libweave/src/
Dbackoff_entry.cc25 exponential_backoff_release_time_ = CalculateReleaseTime(); in InformOfRequest()
47 exponential_backoff_release_time_ = in InformOfRequest()
48 std::max(ImplGetTimeNow() + delay, exponential_backoff_release_time_); in InformOfRequest()
53 return exponential_backoff_release_time_ > ImplGetTimeNow(); in ShouldRejectRequest()
58 if (exponential_backoff_release_time_ <= now) in GetTimeUntilRelease()
60 return exponential_backoff_release_time_ - now; in GetTimeUntilRelease()
64 return exponential_backoff_release_time_; in GetReleaseTime()
68 exponential_backoff_release_time_ = release_time; in SetCustomReleaseTime()
78 (now - exponential_backoff_release_time_).InMilliseconds(); in CanDiscard()
104 exponential_backoff_release_time_ = base::TimeTicks(); in Reset()
[all …]
Dbackoff_entry.h102 base::TimeTicks exponential_backoff_release_time_; variable