Lines Matching refs:std
73 std::shared_ptr<aidl::android::net::IDnsResolver> mDnsResolver;
78 explicit TimedOperation(const std::string& name) : mName(name) {} in TimedOperation()
80 std::cerr << " " << mName << ": " << timeTakenUs() << "us" << std::endl; in ~TimedOperation()
84 std::string mName;
104 std::shared_ptr<DummyListener> dummyListener = ndk::SharedRefBase::make<DummyListener>(); in TEST_F()
119 std::string hostname; in TEST_F()
127 static const std::vector<TestOnDnsEvent::TestResult> expectedResults = { in TEST_F()
151 const std::vector<std::string> test_servers = {listen_addr}; in TEST_F()
152 std::vector<std::string> test_domains = {"example.com"}; in TEST_F()
153 std::vector<int> test_params = {300 /*sample_validity*/, 25 /*success_threshold*/, in TEST_F()
160 std::shared_ptr<TestOnDnsEvent> testOnDnsEvent = in TEST_F()
171 std::unique_lock lock(cvMutex); in TEST_F()
185 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lock, std::chrono::seconds(2))); in TEST_F()
196 const std::vector<std::string> LOCALLY_ASSIGNED_DNS{"8.8.8.8", "2001:4860:4860::8888"}; in TEST_F()
197 static const std::vector<std::string> valid_v4_addr = {"192.0.2.1"}; in TEST_F()
198 static const std::vector<std::string> valid_v6_addr = {"2001:db8::2"}; in TEST_F()
199 static const std::vector<std::string> invalid_v4_addr = {"192.0.*.5"}; in TEST_F()
200 static const std::vector<std::string> invalid_v6_addr = {"2001:dg8::6"}; in TEST_F()
202 std::vector<int> test_params = {300, 25, 8, 8}; in TEST_F()
206 const std::vector<std::string> servers; in TEST_F()
207 const std::string tlsName; in TEST_F()
230 for (size_t i = 0; i < std::size(kTlsTestData); i++) { in TEST_F()
261 std::string str; in TEST_F()
275 std::string str; in TEST_F()
281 std::vector<std::string> servers = {"127.0.0.1", "127.0.0.2"}; in TEST_F()
282 std::vector<std::string> domains = {"example.com"}; in TEST_F()
283 std::vector<int> testParams = { in TEST_F()
295 std::vector<std::string> res_servers; in TEST_F()
296 std::vector<std::string> res_domains; in TEST_F()
297 std::vector<std::string> res_tls_servers; in TEST_F()
298 std::vector<int32_t> params32; in TEST_F()
299 std::vector<int32_t> stats32; in TEST_F()
300 std::vector<int32_t> wait_for_pending_req_timeout_count32{0}; in TEST_F()
323 std::vector<ResolverStats> stats; in TEST_F()