Home
last modified time | relevance | path

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

/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h41 struct stats_line { struct
51 stats_line& operator=(const stats_line& rhs); argument
52 stats_line& operator+=(const stats_line& rhs);
55 bool operator==(const stats_line& lhs, const stats_line& rhs);
56 bool operator<(const stats_line& lhs, const stats_line& rhs);
66 int parseBpfNetworkStatsDetailInternal(std::vector<stats_line>* lines,
110 int parseBpfNetworkStatsDevInternal(std::vector<stats_line>* lines,
116 int parseBpfNetworkStatsDetail(std::vector<stats_line>* lines,
120 int parseBpfNetworkStatsDev(std::vector<stats_line>* lines);
121 void groupNetworkStats(std::vector<stats_line>* lines);
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp119 stats_line populateStatsEntry(const StatsKey& statsKey, const StatsValue& statsEntry, in populateStatsEntry()
121 stats_line newLine; in populateStatsEntry()
133 int parseBpfNetworkStatsDetailInternal(std::vector<stats_line>* lines, in parseBpfNetworkStatsDetailInternal()
186 int parseBpfNetworkStatsDetail(std::vector<stats_line>* lines, in parseBpfNetworkStatsDetail()
234 int parseBpfNetworkStatsDevInternal(std::vector<stats_line>* lines, in parseBpfNetworkStatsDevInternal()
264 int parseBpfNetworkStatsDev(std::vector<stats_line>* lines) { in parseBpfNetworkStatsDev()
286 void groupNetworkStats(std::vector<stats_line>* lines) { in groupNetworkStats()
309 bool operator==(const stats_line& lhs, const stats_line& rhs) { in operator ==()
315 bool operator<(const stats_line& lhs, const stats_line& rhs) { in operator <()
327 stats_line& stats_line::operator=(const stats_line& rhs) { in operator =()
[all …]
DBpfNetworkStatsTest.cpp127 int counterSet, uint32_t tag, const stats_line& result) { in expectStatsLineEqual()
227 std::vector<stats_line> lines; in TEST_F()
299 std::vector<stats_line> lines; in TEST_F()
334 std::vector<stats_line> lines; in TEST_F()
388 std::vector<stats_line> lines; in TEST_F()
422 std::vector<stats_line> lines; in TEST_F()
459 std::vector<stats_line> lines; in TEST_F()
548 std::vector<stats_line> lines; in TEST_F()