Searched refs:revision_id (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 208 void cacheAddStats(uint32_t netId, int revision_id, const IPSockAddr& ipsa, in cacheAddStats() argument 210 resolv_cache_add_resolver_stats_sample(netId, revision_id, ipsa, sample, max_samples); in cacheAddStats() 871 int revision_id = 1; in TEST_F() local 872 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[0], sample1, in TEST_F() 874 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[1], sample2, in TEST_F() 876 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[2], sample3, in TEST_F() 882 revision_id); in TEST_F() 899 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[0], sample2, in TEST_F() 902 revision_id); in TEST_F()
|
/packages/modules/DnsResolver/ |
D | res_cache.cpp | 1028 int revision_id = 0; // # times the nameservers have been replaced member 1755 ++netconfig->revision_id; in res_cache_clear_stats_locked() 1788 return info->revision_id; in android_net_res_stats_get_info_for_net() 1853 return info->revision_id; in resolv_cache_get_resolver_stats() 1856 void resolv_cache_add_resolver_stats_sample(unsigned netid, int revision_id, in resolv_cache_add_resolver_stats_sample() argument 1864 if (info && info->revision_id == revision_id) { in resolv_cache_add_resolver_stats_sample()
|
D | ResolverController.cpp | 103 int revision_id = android_net_res_stats_get_info_for_net( in getDnsInfo() local 109 if (revision_id < 0) { in getDnsInfo()
|
D | resolv_cache.h | 125 void resolv_cache_add_resolver_stats_sample(unsigned netid, int revision_id,
|
D | res_send.cpp | 487 int revision_id = resolv_cache_get_resolver_stats(statp->netid, ¶ms, stats, statp->nsaddrs); in res_nsend() local 488 if (revision_id < 0) { in res_nsend() 597 statp->netid, revision_id, serverSockAddr, sample, params.max_samples); in res_nsend()
|