Searched refs:BackoffEntry (Results 1 – 3 of 3) sorted by relevance
17 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) in BackoffEntry() function in brillo::BackoffEntry23 void BackoffEntry::InformOfRequest(bool succeeded) { in InformOfRequest()53 bool BackoffEntry::ShouldRejectRequest() const { in ShouldRejectRequest()57 base::TimeDelta BackoffEntry::GetTimeUntilRelease() const { in GetTimeUntilRelease()64 base::TimeTicks BackoffEntry::GetReleaseTime() const { in GetReleaseTime()68 void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time) { in SetCustomReleaseTime()72 bool BackoffEntry::CanDiscard() const { in CanDiscard()97 void BackoffEntry::Reset() { in Reset()108 base::TimeTicks BackoffEntry::ImplGetTimeNow() const { in ImplGetTimeNow()112 base::TimeTicks BackoffEntry::CalculateReleaseTime() const { in CalculateReleaseTime()
13 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000, false };15 class TestBackoffEntry : public BackoffEntry {18 : BackoffEntry(policy), in TestBackoffEntry()50 BackoffEntry::Policy never_expires_policy = base_policy; in TEST()86 BackoffEntry::Policy always_delay_policy = base_policy; in TEST()106 BackoffEntry::Policy no_store_policy = base_policy; in TEST()113 BackoffEntry::Policy lenient_policy = base_policy; in TEST()116 BackoffEntry entry(&lenient_policy); in TEST()163 BackoffEntry::Policy always_delay_policy = base_policy; in TEST()200 BackoffEntry::Policy jittery_policy = base_policy; in TEST()[all …]
19 class BRILLO_EXPORT BackoffEntry {60 explicit BackoffEntry(const Policy* const policy);61 virtual ~BackoffEntry() = default;110 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);