Home
last modified time | relevance | path

Searched refs:TetherController (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/netd/server/
H A DTetherController.cpp150 void TetherController::DnsmasqState::clear() { in clear()
159 TetherController::TetherController() { in TetherController() function in android::net::TetherController
169 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled()
337 int TetherController::stopTethering() { in stopTethering()
363 bool TetherController::isTetheringStarted() { in isTetheringStarted()
423 unsigned TetherController::getDnsNetId() { in getDnsNetId()
431 bool TetherController::applyDnsInterfaces() { in applyDnsInterfaces()
496 int TetherController::setupIptablesHooks() { in setupIptablesHooks()
532 int TetherController::setDefaults() { in setDefaults()
642 TetherController::ForwardingDownstream* TetherController::findForwardingDownstream( in findForwardingDownstream()
[all …]
H A DTetherControllerTest.cpp42 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()
H A DControllers.cpp66 TetherController::LOCAL_FORWARD,
80 TetherController::LOCAL_RAW_PREROUTING,
95 TetherController::LOCAL_MANGLE_FORWARD,
103 TetherController::LOCAL_NAT_POSTROUTING,
H A DTetherController.h38 class TetherController {
76 TetherController();
77 ~TetherController() = default;
H A DControllers.h45 TetherController tetherCtrl;
H A DNetdNativeService.cpp481 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()
H A DAndroid.bp208 "TetherController.cpp",