Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.h95 class TetherStats {
97 TetherStats() = default;
98 TetherStats(std::string intIfn, std::string extIfn, in TetherStats() function
111 bool addStatsIfMatch(const TetherStats& other) { in addStatsIfMatch()
123 typedef std::vector<TetherStats> TetherStatsList;
165 static void addStats(TetherStatsList& statsList, const TetherStats& stats);
DTetherControllerTest.cpp39 using TetherStats = android::net::TetherController::TetherStats; typedef
349 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual()
350 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
388 TetherStats expected0("wlan0", "rmnet0", 20002002, 20027, 10002373, 10026); in TEST_F()
389 TetherStats expected1("bt-pan", "rmnet0", 1708806, 1450, 107471, 1040); in TEST_F()
413 TetherStats expected1_0("wlan0", "rmnet0", 4004, 54, 4746, 52); in TEST_F()
DTetherController.cpp774 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
775 for (TetherStats& existing : statsList) { in addStats()
812 TetherStats stats; in addForwardChainStats()
813 const TetherStats empty; in addForwardChainStats()
DNetdNativeService.cpp420 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface()
421 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface()
430 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel()
442 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface()
449 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()