Searched refs:addStats (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 248 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 …]
|
D | DnsStats.h | 119 bool addStats(const netdutils::IPSockAddr& server, const DnsQueryEvent& record);
|
D | DnsStats.cpp | 189 bool DnsStats::addStats(const IPSockAddr& ipSockAddr, const DnsQueryEvent& record) { in addStats() function in android::net::DnsStats
|
D | res_cache.cpp | 1908 return info->dnsStats.addStats(server, *record); in resolv_stats_add()
|