/external/libbrillo/brillo/ |
D | backoff_entry.cc | 17 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) in BackoffEntry() function in brillo::BackoffEntry 23 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()
|
D | backoff_entry_unittest.cc | 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 …]
|
D | backoff_entry.h | 19 class BRILLO_EXPORT BackoffEntry { 60 explicit BackoffEntry(const Policy* const policy); 61 virtual ~BackoffEntry() = default; 110 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);
|
/external/libweave/src/ |
D | backoff_entry.cc | 16 BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) in BackoffEntry() function in weave::BackoffEntry 22 void BackoffEntry::InformOfRequest(bool succeeded) { in InformOfRequest() 52 bool BackoffEntry::ShouldRejectRequest() const { in ShouldRejectRequest() 56 base::TimeDelta BackoffEntry::GetTimeUntilRelease() const { in GetTimeUntilRelease() 63 base::TimeTicks BackoffEntry::GetReleaseTime() const { in GetReleaseTime() 67 void BackoffEntry::SetCustomReleaseTime(const base::TimeTicks& release_time) { in SetCustomReleaseTime() 71 bool BackoffEntry::CanDiscard() const { in CanDiscard() 96 void BackoffEntry::Reset() { in Reset() 107 base::TimeTicks BackoffEntry::ImplGetTimeNow() const { in ImplGetTimeNow() 111 base::TimeTicks BackoffEntry::CalculateReleaseTime() const { in CalculateReleaseTime()
|
D | backoff_entry_unittest.cc | 14 BackoffEntry::Policy base_policy = {0, 1000, 2.0, 0.0, 20000, 2000, false}; 16 class TestBackoffEntry : public BackoffEntry { 19 : BackoffEntry(policy), now_(TimeTicks()) { in TestBackoffEntry() 48 BackoffEntry::Policy never_expires_policy = base_policy; in TEST() 84 BackoffEntry::Policy always_delay_policy = base_policy; in TEST() 104 BackoffEntry::Policy no_store_policy = base_policy; in TEST() 111 BackoffEntry::Policy lenient_policy = base_policy; in TEST() 114 BackoffEntry entry(&lenient_policy); in TEST() 161 BackoffEntry::Policy always_delay_policy = base_policy; in TEST() 198 BackoffEntry::Policy jittery_policy = base_policy; in TEST() [all …]
|
D | backoff_entry.h | 18 class BackoffEntry { 59 explicit BackoffEntry(const Policy* const policy); 60 virtual ~BackoffEntry() {} in ~BackoffEntry() 109 DISALLOW_COPY_AND_ASSIGN(BackoffEntry);
|
D | device_registration_info.h | 315 std::unique_ptr<BackoffEntry::Policy> cloud_backoff_policy_; 316 std::unique_ptr<BackoffEntry> cloud_backoff_entry_; 317 std::unique_ptr<BackoffEntry> oauth2_backoff_entry_;
|
D | device_registration_info.cc | 247 cloud_backoff_policy_.reset(new BackoffEntry::Policy{}); 255 cloud_backoff_entry_.reset(new BackoffEntry{cloud_backoff_policy_.get()}); 256 oauth2_backoff_entry_.reset(new BackoffEntry{cloud_backoff_policy_.get()}); 1149 std::unique_ptr<BackoffEntry> backoff_entry{ in PublishCommand() 1150 new BackoffEntry{cloud_backoff_policy_.get()}}; in PublishCommand()
|
/external/libweave/src/commands/ |
D | cloud_command_proxy.h | 37 std::unique_ptr<BackoffEntry> backoff_entry, 77 std::unique_ptr<BackoffEntry> cloud_backoff_entry_;
|
D | cloud_command_proxy_unittest.cc | 49 class TestBackoffEntry : public BackoffEntry { 52 : BackoffEntry{policy}, clock_{clock} { in TestBackoffEntry() 72 std::unique_ptr<BackoffEntry> backoff_entry, in CloudCommandProxyWrapper() 120 static const BackoffEntry::Policy policy{0, 1000, 2.0, 0.0, in CreateCommandInstance()
|
D | cloud_command_proxy.cc | 21 std::unique_ptr<BackoffEntry> backoff_entry, in CloudCommandProxy()
|
/external/libweave/src/privet/ |
D | cloud_delegate.cc | 28 const BackoffEntry::Policy register_backoff_policy = {0, 1000, 2.0, 0.2, 350 BackoffEntry backoff_entry_{®ister_backoff_policy};
|
/external/libweave/src/notification/ |
D | xmpp_channel.h | 150 BackoffEntry backoff_entry_;
|
D | xmpp_channel.cc | 53 const BackoffEntry::Policy kDefaultBackoffPolicy = {
|