Home
last modified time | relevance | path

Searched refs:revision_id (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_cache_unit_test.cpp209 void cacheAddStats(uint32_t netId, int revision_id, const IPSockAddr& ipsa, in cacheAddStats() argument
211 resolv_cache_add_resolver_stats_sample(netId, revision_id, ipsa, sample, max_samples); in cacheAddStats()
872 int revision_id = 1; in TEST_F() local
873 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[0], sample1, in TEST_F()
875 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[1], sample2, in TEST_F()
877 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[2], sample3, in TEST_F()
883 revision_id); in TEST_F()
900 cacheAddStats(TEST_NETID, revision_id, nameserverSockAddrs[0], sample2, in TEST_F()
903 revision_id); in TEST_F()
Dres_cache.cpp994 int revision_id = 0; // # times the nameservers have been replaced member
1718 ++netconfig->revision_id; in res_cache_clear_stats_locked()
1751 return info->revision_id; in android_net_res_stats_get_info_for_net()
1816 return info->revision_id; in resolv_cache_get_resolver_stats()
1819 void resolv_cache_add_resolver_stats_sample(unsigned netid, int revision_id, in resolv_cache_add_resolver_stats_sample() argument
1827 if (info && info->revision_id == revision_id) { in resolv_cache_add_resolver_stats_sample()
DResolverController.cpp121 int revision_id = android_net_res_stats_get_info_for_net( in getDnsInfo() local
127 if (revision_id < 0) { in getDnsInfo()
Dresolv_cache.h129 void resolv_cache_add_resolver_stats_sample(unsigned netid, int revision_id,
Dres_send.cpp490 int revision_id = resolv_cache_get_resolver_stats(statp->netid, &params, stats, statp->nsaddrs); in res_nsend() local
491 if (revision_id < 0) { in res_nsend()
591 statp->netid, revision_id, serverSockAddr, sample, params.max_samples); in res_nsend()