Searched refs:requester (Results 1 – 5 of 5) sorted by relevance
79 bool enableForwarding(const char* requester);80 bool disableForwarding(const char* requester);
186 bool TetherController::enableForwarding(const char* requester) { in enableForwarding() argument190 mForwardingRequests.insert(requester); in enableForwarding()194 bool TetherController::disableForwarding(const char* requester) { in disableForwarding() argument195 mForwardingRequests.erase(requester); in disableForwarding()
788 for (const auto& requester : gCtls->tetherCtrl.getIpfwdRequesterList()) { in ipfwdGetRequesterList() local789 requesterList->push_back(requester); in ipfwdGetRequesterList()794 binder::Status NetdNativeService::ipfwdEnableForwarding(const std::string& requester) { in ipfwdEnableForwarding() argument796 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding()800 binder::Status NetdNativeService::ipfwdDisableForwarding(const std::string& requester) { in ipfwdDisableForwarding() argument802 int res = (gCtls->tetherCtrl.disableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdDisableForwarding()
253 binder::Status ipfwdEnableForwarding(const std::string& requester) override;254 binder::Status ipfwdDisableForwarding(const std::string& requester) override;
2032 for (const auto& requester : requesterList) { in TEST_F() local2033 status = mNetd->ipfwdDisableForwarding(requester); in TEST_F()2044 for (const auto& requester : requesterList) { in TEST_F() local2045 status = mNetd->ipfwdEnableForwarding(requester); in TEST_F()