Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.h113 class TetherStats {
115 TetherStats() = default;
116 TetherStats(std::string intIfn, std::string extIfn, in TetherStats() function
129 bool addStatsIfMatch(const TetherStats& other) { in addStatsIfMatch()
149 typedef std::vector<TetherStats> TetherStatsList;
203 static void addStats(TetherStatsList& statsList, const TetherStats& stats);
DTetherControllerTest.cpp44 using TetherStats = android::net::TetherController::TetherStats; typedef
399 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual()
400 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
438 TetherStats expected0("wlan0", "rmnet0", 20002002, 20027, 10002373, 10026); in TEST_F()
439 TetherStats expected1("bt-pan", "rmnet0", 1708806, 1450, 107471, 1040); in TEST_F()
463 TetherStats expected1_0("wlan0", "rmnet0", 4004, 54, 4746, 52); in TEST_F()
DTetherController.cpp896 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats()
897 for (TetherStats& existing : statsList) { in addStats()
934 TetherStats stats; in addForwardChainStats()
935 const TetherStats empty; in addForwardChainStats()
DNetdNativeService.cpp443 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface()
444 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface()
453 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel()
466 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface()
473 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()