Home
last modified time | relevance | path

Searched refs:ai_flags (Results 1 – 21 of 21) sorted by relevance

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp263 hints.ai_flags = AI_NUMERICHOST; in getaddrinfo_numeric()
286 if (hints->ai_flags & ~AI_MASK) { in validateHints()
392 if (ai.ai_flags & AI_NUMERICHOST) { in android_getaddrinfofornetcontext()
534 if (pai->ai_flags & AI_PASSIVE) { in explore_null()
583 if ((pai->ai_flags & AI_CANONNAME)) { in explore_numeric()
674 if ((pai->ai_flags & AI_CANONNAME) != 0) { in get_canonname()
747 if (ai->ai_flags & AI_NUMERICSERV) return EAI_NONAME; in get_port()
1405 if (pai->ai_flags & AI_ADDRCONFIG) { in dns_getaddrinfo()
1524 res->ai_flags = pai->ai_flags; in _gethtent()
1526 if (pai->ai_flags & AI_CANONNAME) { in _gethtent()
DDnsProxyListener.cpp467 LOG(DEBUG) << __func__ << ": [" << i << "] " << ai->ai_flags << " " << ai->ai_family in logDnsQueryResult()
657 bool success = sendBE32(c, ai->ai_flags) && sendBE32(c, ai->ai_family) && in sendaddrinfo()
758 event.set_hints_ai_flags((mHints ? mHints->ai_flags : 0)); in run()
823 int ai_flags = strtol(argv[3], nullptr, 10); in runCommand() local
839 if (ai_flags != -1 || ai_family != -1 || ai_socktype != -1 || ai_protocol != -1) { in runCommand()
841 hints->ai_flags = ai_flags; in runCommand()
DPrivateDnsConfiguration.cpp43 .ai_flags = AI_NUMERICHOST | AI_NUMERICSERV, in parseServer()
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp178 int ai_flags; in TEST_F() member
187 return StringPrintf("0x%x/%u/%s/%p/%p", ai_flags, ai_addrlen, in TEST_F()
209 .ai_flags = config.ai_flags, in TEST_F()
335 int ai_flags; in TEST_F() member
343 return StringPrintf("0x%x/%d/%d/%s", ai_flags, ai_family, ai_socktype, in TEST_F()
384 .ai_flags = config.ai_flags, in TEST_F()
Dresolv_gold_test.cpp193 .ai_flags = args.ai_flags() & ~AI_ADDRCONFIG, in VerifyGetAddrInfo()
Dgolddata.proto160 int32 ai_flags = 5; field
Dresolv_integration_test.cpp1054 hints.ai_flags |= AI_NUMERICHOST; in TEST_F()
3378 .ai_flags = config.flag, in TEST_F()
3396 hints.ai_flags = config.flag | AI_NUMERICSERV; in TEST_F()
6357 .ai_flags = AI_ADDRCONFIG, in android_getaddrinfofornet_wrapper()
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.facebook.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.wikipedia.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.google.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.yahoo.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.youtube.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.amazon.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.ebay.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.bing.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.reddit.pbtxt12 ai_flags: 1024
Dgetaddrinfo.tls.topsite.google.pbtxt12 ai_flags: 1024
Dgetaddrinfo.topsite.netflix.pbtxt12 ai_flags: 1024
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp98 .ai_flags = AI_PASSIVE, in startServer()
Ddns_responder.cpp1214 .ai_flags = AI_PASSIVE, in createListeningSocket()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp399 .ai_flags = AI_ADDRCONFIG, in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()