Searched refs:FakeSocketLimited (Results 1 – 1 of 1) sorted by relevance
458 class FakeSocketLimited : public IDnsTlsSocket { class462 explicit FakeSocketLimited(IDnsTlsSocketObserver* observer) in FakeSocketLimited() function in android::net::FakeSocketLimited464 ~FakeSocketLimited() { in ~FakeSocketLimited()497 mCloser = std::make_unique<std::thread>(&FakeSocketLimited::sendClose, this); in query()524 int FakeSocketLimited::sLimit;525 size_t FakeSocketLimited::sMaxSize;528 FakeSocketLimited::sLimit = 10; // Close the socket after 10 queries. in TEST_F()529 FakeSocketLimited::sMaxSize = 0; // Silently drop all queries in TEST_F()530 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F()537 results.reserve(FakeSocketLimited::sLimit); in TEST_F()[all …]