Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsProxyListener.h53 const android_net_context& netcontext);
66 android_net_context mNetContext;
80 const android_net_context& netcontext);
93 android_net_context mNetContext;
107 const android_net_context& netcontext);
121 android_net_context mNetContext;
135 const android_net_context& netcontext);
145 android_net_context mNetContext;
DDnsProxyListener.cpp147 void maybeFixupNetContext(android_net_context* ctx, pid_t pid) { in maybeFixupNetContext()
310 void initDnsEvent(NetworkDnsEventReported* event, const android_net_context& netContext) { in initDnsEvent()
333 void maybeLogQuery(int eventType, const android_net_context& netContext, in maybeLogQuery()
351 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent()
568 const android_net_context& netcontext) in GetAddrInfoHandler()
577 static bool evaluate_domain_name(const android_net_context &netcontext, in evaluate_domain_name()
828 android_net_context netcontext; in runCommand()
884 android_net_context netcontext; in runCommand()
898 const android_net_context& netcontext) in ResNSendHandler()
1038 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);
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 = {
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()
476 size_t buflen, const struct android_net_context* netcontext, in resolv_gethostbyaddr()
685 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.cpp129 const struct android_net_context*, NetworkDnsEventReported* event);
145 const android_net_context* netcontext, addrinfo** rv,
265 const android_net_context netcontext = { in getaddrinfo_numeric()
324 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext()
411 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo()
463 addrinfo** res, const android_net_context* netcontext, in explore_fqdn()
1395 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,
Dres_init.h22 void res_init(ResState* res, const struct android_net_context* netcontext,
DResolverController.cpp177 [](uint32_t netId, uint32_t uid, android_net_context* netcontext) { in ResolverController()
205 android_net_context netcontext; in setResolverConfiguration()
Dres_init.cpp96 void res_init(ResState* statp, const struct android_net_context* _Nonnull netcontext, in res_init()
Dres_send.cpp1295 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend()
Dresolv_unit_test.cpp130 const android_net_context mNetcontext = {
/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_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 = {