Searched refs:TetherController (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | TetherController.cpp | 130 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput; 135 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN); 137 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd() 150 void TetherController::DnsmasqState::clear() { in clear() 155 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState() 159 TetherController::TetherController() { in TetherController() function in android::net::TetherController 169 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled() 186 bool TetherController::enableForwarding(const char* requester) { in enableForwarding() 194 bool TetherController::disableForwarding(const char* requester) { in disableForwarding() 199 const std::set<std::string>& TetherController::getIpfwdRequesterList() const { in getIpfwdRequesterList() [all …]
|
D | TetherControllerTest.cpp | 42 using TetherStats = android::net::TetherController::TetherStats; 43 using TetherStatsList = android::net::TetherController::TetherStatsList; 51 TetherController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in TetherControllerTest() 55 TetherController mTetherCtrl; 352 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual() 353 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 { 76 TetherController(); 77 ~TetherController() = default;
|
D | Controllers.h | 45 TetherController tetherCtrl;
|
D | NetdNativeService.cpp | 481 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface() 482 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface() 491 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel() 503 const TetherController::TetherStatsList& statsList) { in setTetherStatsParcelVecByInterface() 504 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface() 511 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()
|
D | Android.bp | 208 "TetherController.cpp",
|