Home
last modified time | relevance | path

Searched refs:TetherStats (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DTetherController.h103 class TetherStats {
105 TetherStats() = default;
106 TetherStats(std::string intIfn, std::string extIfn, in TetherStats() function
119 bool addStatsIfMatch(const TetherStats& other) { in addStatsIfMatch()
131 typedef std::vector<TetherStats> TetherStatsList;
176 static void addStats(TetherStatsList& statsList, const TetherStats& stats);
DTetherControllerTest.cpp42 using TetherStats = android::net::TetherController::TetherStats; typedef
352 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual()
353 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
391 TetherStats expected0("wlan0", "rmnet0", 20002002, 20027, 10002373, 10026); in TEST_F()
392 TetherStats expected1("bt-pan", "rmnet0", 1708806, 1450, 107471, 1040); in TEST_F()
416 TetherStats expected1_0("wlan0", "rmnet0", 4004, 54, 4746, 52); in TEST_F()
DTetherController.cpp795 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
796 for (TetherStats& existing : statsList) { in addStats()
833 TetherStats stats; in addForwardChainStats()
834 const TetherStats empty; in addForwardChainStats()
DNetdNativeService.cpp481 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface()
482 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface()
491 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel()
504 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface()
511 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()