Home
last modified time | relevance | path

Searched refs:requester (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/
DTetherController.h79 bool enableForwarding(const char* requester);
80 bool disableForwarding(const char* requester);
DTetherController.cpp186 bool TetherController::enableForwarding(const char* requester) { in enableForwarding() argument
190 mForwardingRequests.insert(requester); in enableForwarding()
194 bool TetherController::disableForwarding(const char* requester) { in disableForwarding() argument
195 mForwardingRequests.erase(requester); in disableForwarding()
DNetdNativeService.cpp788 for (const auto& requester : gCtls->tetherCtrl.getIpfwdRequesterList()) { in ipfwdGetRequesterList() local
789 requesterList->push_back(requester); in ipfwdGetRequesterList()
794 binder::Status NetdNativeService::ipfwdEnableForwarding(const std::string& requester) { in ipfwdEnableForwarding() argument
796 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding()
800 binder::Status NetdNativeService::ipfwdDisableForwarding(const std::string& requester) { in ipfwdDisableForwarding() argument
802 int res = (gCtls->tetherCtrl.disableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdDisableForwarding()
DNetdNativeService.h253 binder::Status ipfwdEnableForwarding(const std::string& requester) override;
254 binder::Status ipfwdDisableForwarding(const std::string& requester) override;
/system/netd/tests/
Dbinder_test.cpp2032 for (const auto& requester : requesterList) { in TEST_F() local
2033 status = mNetd->ipfwdDisableForwarding(requester); in TEST_F()
2044 for (const auto& requester : requesterList) { in TEST_F() local
2045 status = mNetd->ipfwdEnableForwarding(requester); in TEST_F()