Searched refs:TetherStats (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | TetherController.h | 103 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);
|
D | TetherControllerTest.cpp | 42 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()
|
D | TetherController.cpp | 794 void TetherController::addStats(TetherStatsList& statsList, const TetherStats& stats) { in addStats() 795 for (TetherStats& existing : statsList) { in addStats() 832 TetherStats stats; in addForwardChainStats() 833 const TetherStats empty; in addForwardChainStats()
|
D | NetdNativeService.cpp | 408 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface() 409 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface() 418 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel() 431 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface() 438 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()
|