Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStatsTest.cpp279 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.0.0.4", 53), record)); in TEST_F()
280 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.a.b.4", 53), record)); in TEST_F()
282 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F()
283 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F()
284 EXPECT_TRUE(mDnsStats.addStats(servers[1], record)); in TEST_F()
321 EXPECT_TRUE(mDnsStats.addStats(servers[0], recordNoError)); in TEST_F()
324 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F()
325 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F()
326 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordTimeout)); in TEST_F()
327 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordTimeout)); in TEST_F()
[all …]
DDnsStats.h120 bool addStats(const netdutils::IPSockAddr& server, const DnsQueryEvent& record);
DDnsStats.cpp198 bool DnsStats::addStats(const IPSockAddr& ipSockAddr, const DnsQueryEvent& record) { in addStats() function in android::net::DnsStats
Dres_cache.cpp1940 return info->dnsStats.addStats(server, *record); in resolv_stats_add()