Searched refs:TetherController (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | TetherController.cpp | 137 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput; 142 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN); 144 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd() 157 void TetherController::DnsmasqState::clear() { in clear() 162 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState() 166 TetherController::TetherController() { in TetherController() function in android::net::TetherController 175 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled() 192 bool TetherController::enableForwarding(const char* requester) { in enableForwarding() 200 bool TetherController::disableForwarding(const char* requester) { in disableForwarding() 205 void TetherController::maybeInitMaps() { in maybeInitMaps() [all …]
|
D | TetherControllerTest.cpp | 44 using TetherStats = android::net::TetherController::TetherStats; 45 using TetherStatsList = android::net::TetherController::TetherStatsList; 46 using TetherOffloadStats = android::net::TetherController::TetherOffloadStats; 47 using TetherOffloadStatsList = android::net::TetherController::TetherOffloadStatsList; 66 TetherController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in TetherControllerTest() 70 TetherController mTetherCtrl; 399 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual() 400 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
|
D | Controllers.cpp | 66 TetherController::LOCAL_FORWARD, 80 TetherController::LOCAL_RAW_PREROUTING, 95 TetherController::LOCAL_MANGLE_FORWARD, 103 TetherController::LOCAL_NAT_POSTROUTING,
|
D | TetherController.h | 38 class TetherController { 81 TetherController(); 82 ~TetherController() = default;
|
D | Controllers.h | 45 TetherController tetherCtrl;
|
D | NetdNativeService.cpp | 443 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface() 444 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface() 453 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel() 465 const TetherController::TetherStatsList& statsList) { in setTetherStatsParcelVecByInterface() 466 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface() 473 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface() 1272 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherOffloadStats& stats) { in toTetherStatsParcel()
|
D | Android.bp | 135 "TetherController.cpp",
|