Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp583 int BandwidthController::runIptablesAlertCmd(IptOp op, const std::string& alertName, in runIptablesAlertCmd() argument
597 alertName.c_str()); in runIptablesAlertCmd()
604 const char *alertName = ALERT_GLOBAL_NAME; in setGlobalAlert() local
613 res = updateQuota(alertName, bytes); in setGlobalAlert()
615 res = runIptablesAlertCmd(IptOpInsert, alertName, bytes); in setGlobalAlert()
626 const char *alertName = ALERT_GLOBAL_NAME; in removeGlobalAlert() local
634 res = runIptablesAlertCmd(IptOpDelete, alertName, mGlobalAlertBytes); in removeGlobalAlert()
705 std::string alertName = costName + "Alert"; in setCostlyAlert() local
708 res = updateQuota(alertName, *alertBytes); in setCostlyAlert()
712 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()), in setCostlyAlert()
[all …]
DBandwidthController.h96 int runIptablesAlertCmd(IptOp op, const std::string& alertName, int64_t bytes);
97 int runIptablesAlertFwdCmd(IptOp op, const std::string& alertName, int64_t bytes);
99 int updateQuota(const std::string& alertName, int64_t bytes);
DNetlinkHandler.cpp199 const char *alertName = evt->findParam("ALERT_NAME"); in onEvent() local
201 if (alertName && iface) { in onEvent()
202 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/server/aidl_api/netd_aidl_interface/6/android/net/
DINetdUnsolicitedEventListener.aidl38 oneway void onQuotaLimitReached(@utf8InCpp String alertName, @utf8InCpp String ifName); in onQuotaLimitReached() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetdUnsolicitedEventListener.aidl38 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
/system/netd/server/aidl_api/netd_aidl_interface/7/android/net/
DINetdUnsolicitedEventListener.aidl38 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/5/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/4/android/net/
DINetdUnsolicitedEventListener.aidl22 oneway 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.cpp1666 std::string alertName = StringPrintf("%sAlert", ifname); in expectBandwidthInterfaceAlertRuleExists() local
1671 expectXtQuotaValueEqual(alertName.c_str(), alertBytes); in expectBandwidthInterfaceAlertRuleExists()