Searched refs:addStats (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 290 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.0.0.4", 53), record)); in TEST_F() 291 EXPECT_FALSE(mDnsStats.addStats(IPSockAddr::toIPSockAddr("127.a.b.4", 53), record)); in TEST_F() 293 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F() 294 EXPECT_TRUE(mDnsStats.addStats(servers[0], record)); in TEST_F() 295 EXPECT_TRUE(mDnsStats.addStats(servers[1], record)); in TEST_F() 296 EXPECT_TRUE(mDnsStats.addStats(mdnsaddrs[0], mdnsrecord)); in TEST_F() 297 EXPECT_TRUE(mDnsStats.addStats(mdnsaddrs[1], mdnsrecord)); in TEST_F() 342 EXPECT_TRUE(mDnsStats.addStats(servers[0], recordNoError)); in TEST_F() 345 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F() 346 EXPECT_TRUE(mDnsStats.addStats(servers[1], recordNoError)); in TEST_F() [all …]
|
D | DnsStats.h | 120 bool addStats(const netdutils::IPSockAddr& server, const DnsQueryEvent& record);
|
D | DnsStats.cpp | 197 bool DnsStats::addStats(const IPSockAddr& ipSockAddr, const DnsQueryEvent& record) { in addStats() function in android::net::DnsStats
|
D | res_cache.cpp | 2007 return info->dnsStats.addStats(server, *record); in resolv_stats_add()
|