Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DBackoffSequence.h32 class BackoffSequence {
42 BackoffSequence() : BackoffSequence(Parameters{}) {} 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
/packages/modules/Connectivity/staticlibs/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 …]
/packages/modules/DnsResolver/
DPrivateDnsConfiguration.h203 netdutils::BackoffSequence<>::Builder mBackoffBuilder =
204 netdutils::BackoffSequence<>::Builder()
DDns64Configuration.cpp73 auto backoff = netdutils::BackoffSequence<>::Builder() in startPrefixDiscovery()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp47 using android::netdutils::BackoffSequence;
84 auto backoff = BackoffSequence<milliseconds>::Builder() in bindSocket()