Lines Matching refs:numUids
378 int BandwidthController::addNaughtyApps(int numUids, char *appUids[]) {
379 return manipulateNaughtyApps(numUids, appUids, SpecialAppOpAdd);
382 int BandwidthController::removeNaughtyApps(int numUids, char *appUids[]) {
383 return manipulateNaughtyApps(numUids, appUids, SpecialAppOpRemove);
386 int BandwidthController::addNiceApps(int numUids, char *appUids[]) {
387 return manipulateNiceApps(numUids, appUids, SpecialAppOpAdd);
390 int BandwidthController::removeNiceApps(int numUids, char *appUids[]) {
391 return manipulateNiceApps(numUids, appUids, SpecialAppOpRemove);
394 int BandwidthController::manipulateNaughtyApps(int numUids, char *appStrUids[], SpecialAppOp appOp) {
395 return manipulateSpecialApps(numUids, appStrUids, "bw_penalty_box", naughtyAppUids, IptJumpReject, appOp);
398 int BandwidthController::manipulateNiceApps(int numUids, char *appStrUids[], SpecialAppOp appOp) {
399 return manipulateSpecialApps(numUids, appStrUids, "bw_happy_box", niceAppUids, IptJumpReturn, appOp);
403 int BandwidthController::manipulateSpecialApps(int numUids, char *appStrUids[],
411 int appUids[numUids];
429 for (uidNum = 0; uidNum < numUids; uidNum++) {
438 for (uidNum = 0; uidNum < numUids; uidNum++) {