HomeSort by relevance Sort by last modified time
    Searched refs:IptOp (Results 1 - 5 of 5) sorted by null

  /system/netd/server/
IdletimerController.h 37 enum IptOp { IptOpAdd, IptOpDelete };
40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
BandwidthController.h 129 enum IptOp { IptOpInsert, IptOpDelete };
140 IptJumpOp jumpHandling, IptOp appOp);
141 int manipulateNaughtyApps(int numUids, char *appStrUids[], IptOp appOp);
142 int manipulateNiceApps(int numUids, char *appStrUids[], IptOp appOp);
147 std::string makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain);
150 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes);
151 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes);
228 static const char *opToString(IptOp op);
BandwidthControllerTest.cpp 106 using IptOp = BandwidthController::IptOp;
108 int runIptablesAlertCmd(IptOp a, const char *b, int64_t c) {
112 int runIptablesAlertFwdCmd(IptOp a, const char *b, int64_t c) {
413 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
422 EXPECT_EQ(0, runIptablesAlertCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
432 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpInsert, "MyWonderfulAlert", 123456));
440 EXPECT_EQ(0, runIptablesAlertFwdCmd(IptOp::IptOpDelete, "MyWonderfulAlert", 123456));
IdletimerController.cpp 191 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface,
BandwidthController.cpp 342 int BandwidthController::manipulateNaughtyApps(int numUids, char *appStrUids[], IptOp op) {
346 int BandwidthController::manipulateNiceApps(int numUids, char *appStrUids[], IptOp op) {
352 IptJumpOp jumpHandling, IptOp op) {
739 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) {
752 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) {
    [all...]

Completed in 89 milliseconds