Home
last modified time | relevance | path

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

/system/netd/libnetdutils/include/netdutils/
DBackoffSequence.h32 class BackoffSequence {
42 BackoffSequence() {} in BackoffSequence() function
43 BackoffSequence(const BackoffSequence &) = default;
44 BackoffSequence(BackoffSequence &&) = default;
45 BackoffSequence& operator=(const BackoffSequence &) = default;
46 BackoffSequence& operator=(BackoffSequence &&) = default;
92 constexpr BackoffSequence build() const { in build()
93 return BackoffSequence(mParams); in build()
105 constexpr BackoffSequence(const struct Parameters &params) in BackoffSequence() function
/system/netd/libnetdutils/
DBackoffSequenceTest.cpp24 TEST(BackoffSequence, defaults) { in TEST() argument
25 BackoffSequence<uint32_t> backoff; in TEST()
67 TEST(BackoffSequence, backoffToOncePerHour) { in TEST() argument
68 auto backoff = BackoffSequence<uint32_t>::Builder() in TEST()
93 TEST(BackoffSequence, simpleMaxRetransCount) { in TEST() argument
94 auto backoff = BackoffSequence<uint32_t>::Builder() in TEST()
114 TEST(BackoffSequence, simpleMaxDuration) { in TEST() argument
115 auto backoff = BackoffSequence<int>::Builder() in TEST()
133 auto backoff = BackoffSequence<std::chrono::seconds>::Builder() in TEST()
145 auto backoff = BackoffSequence<std::chrono::milliseconds>::Builder() in TEST()
[all …]
/system/netd/resolv/
DDns64Configuration.cpp68 auto backoff = netdutils::BackoffSequence<>::Builder() in startPrefixDiscovery()
DPrivateDnsConfiguration.cpp199 auto backoff = netdutils::BackoffSequence<>::Builder() in validatePrivateDnsProvider()