Home
last modified time | relevance | path

Searched refs:android_net_context (Results 1 – 16 of 16) sorted by relevance

/packages/modules/DnsResolver/
DDnsProxyListener.h69 std::unique_ptr<addrinfo> hints, const android_net_context& netcontext);
81 android_net_context mNetContext;
95 const android_net_context& netcontext);
107 android_net_context mNetContext;
121 const android_net_context& netcontext);
134 android_net_context mNetContext;
148 const android_net_context& netcontext);
157 android_net_context mNetContext;
DDnsProxyListener.cpp130 void maybeFixupNetContext(android_net_context* ctx, pid_t pid) { in maybeFixupNetContext()
293 void initDnsEvent(NetworkDnsEventReported* event, const android_net_context& netContext) { in initDnsEvent()
316 void maybeLogQuery(int eventType, const android_net_context& netContext, in maybeLogQuery()
334 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent()
592 const android_net_context& netcontext) in GetAddrInfoHandler()
599 static bool evaluate_domain_name(const android_net_context& netcontext, const char* host) { in evaluate_domain_name()
831 android_net_context netcontext; in runCommand()
885 android_net_context netcontext; in runCommand()
897 const android_net_context& netcontext) in ResNSendHandler()
1033 android_net_context netcontext; in runCommand()
[all …]
DDns64Configuration.h30 struct android_net_context;
64 using GetNetworkContextCallback = std::function<void(uint32_t, uint32_t, android_net_context*)>;
108 static bool doRfc7050PrefixDiscovery(const android_net_context& netcontext, Dns64Config* cfg);
Dgetaddrinfo.h25 const addrinfo* hints, const android_net_context* netcontext,
30 const android_net_context* netcontext, addrinfo** res,
Dgethnamaddr.h32 const android_net_context* netcontext, hostent** result,
37 size_t buflen, const android_net_context* netcontext, hostent** result,
Dgethnamaddr.cpp113 const android_net_context* netcontext, getnamaddr* info,
389 const android_net_context* netcontext, hostent** result, in resolv_gethostbyname()
478 size_t buflen, const struct android_net_context* netcontext, in resolv_gethostbyaddr()
687 const android_net_context* netcontext, getnamaddr* info, in dns_gethtbyaddr()
DDns64Configuration.cpp82 android_net_context netcontext{}; in startPrefixDiscovery()
149 bool Dns64Configuration::doRfc7050PrefixDiscovery(const android_net_context& netcontext, in doRfc7050PrefixDiscovery()
Dgetaddrinfo.cpp128 const struct android_net_context*, NetworkDnsEventReported* event);
144 const android_net_context* netcontext, addrinfo** rv,
264 const android_net_context netcontext = { in getaddrinfo_numeric()
323 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext()
410 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo()
462 addrinfo** res, const android_net_context* netcontext, in explore_fqdn()
1394 const android_net_context* netcontext, addrinfo** rv, in dns_getaddrinfo()
Dres_send.h23 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
DResolverController.cpp159 [](uint32_t netId, uint32_t uid, android_net_context* netcontext) { in ResolverController()
194 android_net_context netcontext; in setResolverConfiguration()
Dresolv_private.h91 ResState(const android_net_context* netcontext, android::net::NetworkDnsEventReported* dnsEvent) in ResState()
Dres_send.cpp1296 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend()
/packages/modules/DnsResolver/include/netd_resolv/
Dresolv.h59 struct android_net_context { struct
78 android_net_context* netcontext); argument
103 const android_net_context &netcontext, const char *host);
/packages/modules/DnsResolver/tests/
Dresolv_callback_unit_test.cpp52 void getNetworkContextCallback(uint32_t, uint32_t, android_net_context*) { in getNetworkContextCallback() argument
70 bool evaluateDomainNameCallback(const android_net_context&, const char*) { in evaluateDomainNameCallback() argument
134 const android_net_context mNetcontext = {
Dresolv_gold_test.cpp168 android_net_context GetNetContext(const DnsProtocol protocol) { in GetNetContext()
199 const android_net_context netcontext = GetNetContext(protocol); in VerifyGetAddrInfo()
214 const android_net_context netcontext = GetNetContext(protocol); in VerifyGetHostByName()
259 static constexpr android_net_context kNetcontext = {
266 static constexpr android_net_context kNetcontextTls = {
Dresolv_unit_test.cpp132 const android_net_context mNetcontext = {