Home
last modified time | relevance | path

Searched refs:backoff (Results 1 – 3 of 3) sorted by relevance

/system/netd/libnetdutils/
DBackoffSequenceTest.cpp25 BackoffSequence<uint32_t> backoff; in TEST() local
27 EXPECT_TRUE(backoff.hasNextTimeout()); in TEST()
28 EXPECT_EQ(0x00000001U, backoff.getNextTimeout()); in TEST()
29 EXPECT_EQ(0x00000002U, backoff.getNextTimeout()); in TEST()
30 EXPECT_EQ(0x00000004U, backoff.getNextTimeout()); in TEST()
31 EXPECT_EQ(0x00000008U, backoff.getNextTimeout()); in TEST()
32 EXPECT_EQ(0x00000010U, backoff.getNextTimeout()); in TEST()
33 EXPECT_EQ(0x00000020U, backoff.getNextTimeout()); in TEST()
34 EXPECT_EQ(0x00000040U, backoff.getNextTimeout()); in TEST()
35 EXPECT_EQ(0x00000080U, backoff.getNextTimeout()); in TEST()
[all …]
/system/netd/resolv/
DDns64Configuration.cpp68 auto backoff = netdutils::BackoffSequence<>::Builder() in startPrefixDiscovery() local
89 if (!backoff.hasNextTimeout()) break; in startPrefixDiscovery()
95 mCv.wait_for(cvGuard, backoff.getNextTimeout()); in startPrefixDiscovery()
DPrivateDnsConfiguration.cpp199 auto backoff = netdutils::BackoffSequence<>::Builder() in validatePrivateDnsProvider() local
218 if (backoff.hasNextTimeout()) { in validatePrivateDnsProvider()
219 std::this_thread::sleep_for(backoff.getNextTimeout()); in validatePrivateDnsProvider()