Home
last modified time | relevance | path

Searched refs:alertName (Results 1 – 12 of 12) sorted by relevance

/system/netd/server/
DBandwidthController.cpp646 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd() argument
660 alertName.c_str()); in runIptablesAlertCmd()
667 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
676 res = updateQuota(alertName, bytes); in setGlobalAlert()
678 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
689 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlert() local
697 res = runIptablesAlertCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
768 std::string alertName = costName + "Alert"; in setCostlyAlert() local
771 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
775 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()), in setCostlyAlert()
[all …]
DBandwidthController.h102 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes);
103 int runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, int64_t bytes);
105 int updateQuota(const std::string& alertName, int64_t bytes);
DNetlinkHandler.cpp195 const char *alertName = evt->findParam("ALERT_NAME"); in onEvent() local
197 if (alertName && iface) { in onEvent()
198 notifyQuotaLimitReached(alertName, iface); in onEvent()
/system/netd/server/binder/android/net/
DINetdUnsolicitedEventListener.aidl51 void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/tests/
DTestUnsolService.cpp89 binder::Status TestUnsolService::onQuotaLimitReached(const std::string& alertName, in onQuotaLimitReached() argument
91 events_.push_back(StringPrintf("onQuotaLimitReached %s %s", alertName.c_str(), ifName.c_str())); in onQuotaLimitReached()
DTestUnsolService.h58 binder::Status onQuotaLimitReached(const std::string& alertName,
Dbinder_test.cpp1506 std::string alertName = StringPrintf("%sAlert", ifname); in expectBandwidthInterfaceAlertRuleExists() local
1511 expectXtQuotaValueEqual(alertName.c_str(), alertBytes); in expectBandwidthInterfaceAlertRuleExists()
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetdUnsolicitedEventListener.aidl22 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetdUnsolicitedEventListener.aidl22 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetdUnsolicitedEventListener.aidl22 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetdUnsolicitedEventListener.aidl4 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetdUnsolicitedEventListener.aidl21 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument