Lines Matching refs:std

45 using std::chrono::milliseconds;
54 const std::string kTestDataPath = android::base::GetExecutableDirectory() + "/testdata/";
55 const std::vector<std::string> kGoldFilesGetAddrInfo = {
61 const std::vector<std::string> kGoldFilesGetAddrInfoTls = {"getaddrinfo.tls.topsite.google.pb"};
62 const std::vector<std::string> kGoldFilesGetHostByName = {"gethostbyname.topsite.youtube.pb"};
63 const std::vector<std::string> kGoldFilesGetHostByNameTls = {
72 const std::string unzipCmd = "unzip -o " + kTestDataPath + "pb.zip -d " + kTestDataPath + in SetUpTestSuite()
93 void SetResolverConfiguration(const std::vector<std::string>& servers, in SetResolverConfiguration()
94 const std::vector<std::string>& domains, in SetResolverConfiguration()
95 const std::vector<std::string>& tlsServers = {}, in SetResolverConfiguration()
96 const std::string& tlsHostname = "",
97 const std::string& caCert = "") {
126 bool WaitForPrivateDnsValidation(const std::string& serverAddr) { in WaitForPrivateDnsValidation()
136 std::this_thread::sleep_for(retryIntervalMs); in WaitForPrivateDnsValidation()
141 Result<GoldTest> ToProto(const std::string& filename) { in ToProto()
143 std::string content; in ToProto()
144 const std::string path = kTestDataPath + filename; in ToProto()
163 std::vector<uint8_t>(m.query().begin(), m.query().end()), in SetupMappings()
164 std::vector<uint8_t>(m.response().begin(), m.response().end())); in SetupMappings()
225 std::string name; in VerifyResolver()
325 std::vector<uint8_t> newHelloExampleComResponseV4 = { in TEST_F()
380 const std::vector<std::string> result_strs = ToStrings(result); in TEST_F()
387 using GoldTestParamType = std::tuple<DnsProtocol, std::string /* filename */>;
391 static std::string Name(const ::testing::TestParamInfo<GoldTestParamType>& info) { in Name()
393 std::string name = StringPrintf( in Name()
395 std::replace_if( in Name()
396 std::begin(name), std::end(name), [](char ch) { return !std::isalnum(ch); }, '_'); in Name()