Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.cpp98 StatsRecords::StatsRecords(const IPSockAddr& ipSockAddr, size_t size) in StatsRecords() function in android::net::StatsRecords
101 void StatsRecords::push(const Record& record) { in push()
124 void StatsRecords::updateStatsData(const Record& record, const bool add) { in updateStatsData()
138 void StatsRecords::updatePenalty(const Record& record) { in updatePenalty()
157 double StatsRecords::score() const { in score()
169 void StatsRecords::incrementSkippedCount() { in incrementSkippedCount()
178 statsMap.try_emplace(addr, StatsRecords(addr, kLogSize)); in setAddrs()
203 const StatsRecords::Record rec = { in addStats()
DDnsStats.h68 class StatsRecords {
76 StatsRecords(const netdutils::IPSockAddr& ipSockAddr, size_t size);
113 using StatsMap = std::map<netdutils::IPSockAddr, StatsRecords>;
DDnsStatsTest.cpp75 const StatsRecords::Record recordNoError = { in TEST_F()
80 const StatsRecords::Record recordTimeout = { in TEST_F()
86 StatsRecords sr(server, size); in TEST_F()