Home
last modified time | relevance | path

Searched refs:rcodeCounts (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
DDnsStatsTest.cpp45 const std::map<int, int>& rcodeCounts) { in makeStatsData() argument
49 ret.rcodeCounts = rcodeCounts; in makeStatsData()
475 EXPECT_EQ(data.rcodeCounts.size(), 1U); in TEST_F()
477 const auto it = data.rcodeCounts.find(NS_R_NO_ERROR); in TEST_F()
478 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F()
481 const auto it = data.rcodeCounts.find(NS_R_TIMEOUT); in TEST_F()
482 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F()
485 const auto it = data.rcodeCounts.find(NS_R_INTERNAL_ERROR); in TEST_F()
486 ASSERT_NE(it, data.rcodeCounts.end()); in TEST_F()
DDnsStats.cpp76 return std::tie(serverSockAddr, total, rcodeCounts, latencyUs) == in operator ==()
77 std::tie(o.serverSockAddr, o.total, o.rcodeCounts, o.latencyUs); in operator ==()
90 for (const auto& [rcode, counts] : rcodeCounts) { in toString()
120 mStatsData.rcodeCounts[rcode] += 1; in updateStatsData()
124 mStatsData.rcodeCounts[rcode] -= 1; in updateStatsData()
DDnsStats.h47 std::map<int, int> rcodeCounts; member