Searched refs:netContext (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 293 void initDnsEvent(NetworkDnsEventReported* event, const android_net_context& netContext) { in initDnsEvent() argument 304 event->set_private_dns_modes(getPrivateDnsModeForMetrics(netContext.dns_netid)); in initDnsEvent() 316 void maybeLogQuery(int eventType, const android_net_context& netContext, in maybeLogQuery() argument 326 DnsQueryLog::Record record(netContext.dns_netid, netContext.uid, netContext.pid, in maybeLogQuery() 334 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent() argument 337 if (uint32_t rate = getDnsEventSubsamplingRate(netContext.dns_netid, returnCode)) { 341 event.set_network_type(resolv_get_network_types_for_net(netContext.dns_netid)); 349 maybeLogQuery(eventType, netContext, event, query_name, ip_addrs); 358 it->onDnsEvent(netContext.dns_netid, eventType, returnCode, latencyMs, query_name, ip_addrs, 359 total_ip_addr_count, netContext.uid); [all …]
|
D | res_send.h | 23 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
|
D | res_send.cpp | 1296 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend() argument 1300 ResState res(netContext, event); in resolv_res_nsend()
|