Home
last modified time | relevance | path

Searched refs:netContext (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
DDnsProxyListener.cpp310 void initDnsEvent(NetworkDnsEventReported* event, const android_net_context& netContext) { in initDnsEvent() argument
321 event->set_private_dns_modes(getPrivateDnsModeForMetrics(netContext.dns_netid)); in initDnsEvent()
333 void maybeLogQuery(int eventType, const android_net_context& netContext, in maybeLogQuery() argument
343 DnsQueryLog::Record record(netContext.dns_netid, netContext.uid, netContext.pid, in maybeLogQuery()
351 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent() argument
354 if (uint32_t rate = getDnsEventSubsamplingRate(netContext.dns_netid, returnCode)) {
358 event.set_network_type(resolv_get_network_types_for_net(netContext.dns_netid));
366 maybeLogQuery(eventType, netContext, event, query_name, ip_addrs);
376 it->onDnsEvent(netContext.dns_netid, eventType, returnCode, latencyMs, query_name, ip_addrs,
377 total_ip_addr_count, netContext.uid);
Dres_send.h23 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
Dres_send.cpp1295 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend() argument
1300 res_init(&res, netContext, event); in resolv_res_nsend()