Searched refs:TetherOffloadStats (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | TetherControllerTest.cpp | 46 using TetherOffloadStats = android::net::TetherController::TetherOffloadStats; typedef 58 bool operator==(const TetherOffloadStats& lhs, const TetherOffloadStats& rhs) { in operator ==() 493 const TetherOffloadStats expected0{101, 100, 10, 200, 20}; in TEST_F() 494 const TetherOffloadStats expected1{102, 300, 30, 400, 40}; in TEST_F() 519 EXPECT_THAT(actual, Contains(TetherOffloadStats{ifindex, 0, 0, 0, 0})) << toString(actual); in TEST_F()
|
D | TetherController.h | 141 struct TetherOffloadStats { struct 150 typedef std::vector<TetherOffloadStats> TetherOffloadStatsList; argument 154 base::Result<TetherOffloadStats> getAndClearTetherOffloadStats(int ifIndex);
|
D | TetherController.cpp | 1165 Result<TetherController::TetherOffloadStats> TetherController::getAndClearTetherOffloadStats( in getAndClearTetherOffloadStats() 1198 return TetherOffloadStats{.ifIndex = static_cast<int>(ifIndex), in getAndClearTetherOffloadStats()
|
D | NetdNativeService.cpp | 1272 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherOffloadStats& stats) { in toTetherStatsParcel()
|