Home | History | Annotate | Download | only in netd

Lines Matching refs:numUids

374 int BandwidthController::addNaughtyApps(int numUids, char *appUids[]) {
375 return manipulateNaughtyApps(numUids, appUids, SpecialAppOpAdd);
378 int BandwidthController::removeNaughtyApps(int numUids, char *appUids[]) {
379 return manipulateNaughtyApps(numUids, appUids, SpecialAppOpRemove);
382 int BandwidthController::addNiceApps(int numUids, char *appUids[]) {
383 return manipulateNiceApps(numUids, appUids, SpecialAppOpAdd);
386 int BandwidthController::removeNiceApps(int numUids, char *appUids[]) {
387 return manipulateNiceApps(numUids, appUids, SpecialAppOpRemove);
390 int BandwidthController::manipulateNaughtyApps(int numUids, char *appStrUids[], SpecialAppOp appOp) {
391 return manipulateSpecialApps(numUids, appStrUids, "bw_penalty_box", naughtyAppUids, IptJumpReject, appOp);
394 int BandwidthController::manipulateNiceApps(int numUids, char *appStrUids[], SpecialAppOp appOp) {
395 return manipulateSpecialApps(numUids, appStrUids, "bw_happy_box", niceAppUids, IptJumpReturn, appOp);
399 int BandwidthController::manipulateSpecialApps(int numUids, char *appStrUids[],
408 int appUids[numUids];
426 for (uidNum = 0; uidNum < numUids; uidNum++) {
435 for (uidNum = 0; uidNum < numUids; uidNum++) {