Searched refs:backoff (Results 1 – 3 of 3) sorted by relevance
25 BackoffSequence<uint32_t> backoff; in TEST() local27 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 …]
68 auto backoff = netdutils::BackoffSequence<>::Builder() in startPrefixDiscovery() local89 if (!backoff.hasNextTimeout()) break; in startPrefixDiscovery()95 mCv.wait_for(cvGuard, backoff.getNextTimeout()); in startPrefixDiscovery()
199 auto backoff = netdutils::BackoffSequence<>::Builder() in validatePrivateDnsProvider() local218 if (backoff.hasNextTimeout()) { in validatePrivateDnsProvider()219 std::this_thread::sleep_for(backoff.getNextTimeout()); in validatePrivateDnsProvider()