Home
last modified time | relevance | path

Searched refs:addStats (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
DDnsStatsTest.cpp248 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.0.0.4", 53), record)); in TEST_F()
249 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.a.b.4", 53), record)); in TEST_F()
251 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F()
252 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F()
253 EXPECT_TRUE(mDnsStats.addStats(servers[1], record)); in TEST_F()
290 EXPECT_TRUE(mDnsStats.addStats(servers[0], recordNoError)); in TEST_F()
293 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F()
294 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F()
295 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordTimeout)); in TEST_F()
296 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordTimeout)); in TEST_F()
[all …]
DDnsStats.h119 bool addStats(const netdutils::IPSockAddr& server, const DnsQueryEvent& record);
DDnsStats.cpp189 bool DnsStats::addStats(const IPSockAddr& ipSockAddr, const DnsQueryEvent& record) { in addStats() function in android::net::DnsStats
Dres_cache.cpp1908 return info->dnsStats.addStats(server, *record); in resolv_stats_add()