Lines Matching refs:numUids
326 int BandwidthController::addNaughtyApps(int numUids, char *appUids[]) { in addNaughtyApps() argument
327 return manipulateNaughtyApps(numUids, appUids, IptOpInsert); in addNaughtyApps()
330 int BandwidthController::removeNaughtyApps(int numUids, char *appUids[]) { in removeNaughtyApps() argument
331 return manipulateNaughtyApps(numUids, appUids, IptOpDelete); in removeNaughtyApps()
334 int BandwidthController::addNiceApps(int numUids, char *appUids[]) { in addNiceApps() argument
335 return manipulateNiceApps(numUids, appUids, IptOpInsert); in addNiceApps()
338 int BandwidthController::removeNiceApps(int numUids, char *appUids[]) { in removeNiceApps() argument
339 return manipulateNiceApps(numUids, appUids, IptOpDelete); in removeNiceApps()
342 int BandwidthController::manipulateNaughtyApps(int numUids, char *appStrUids[], IptOp op) { in manipulateNaughtyApps() argument
343 return manipulateSpecialApps(numUids, appStrUids, "bw_penalty_box", IptJumpReject, op); in manipulateNaughtyApps()
346 int BandwidthController::manipulateNiceApps(int numUids, char *appStrUids[], IptOp op) { in manipulateNiceApps() argument
347 return manipulateSpecialApps(numUids, appStrUids, "bw_happy_box", IptJumpReturn, op); in manipulateNiceApps()
350 int BandwidthController::manipulateSpecialApps(int numUids, char *appStrUids[], in manipulateSpecialApps() argument
354 for (int uidNum = 0; uidNum < numUids; uidNum++) { in manipulateSpecialApps()