Home | History | Annotate | Download | only in netd

Lines Matching refs:uid

95  *    iptables -A penalty_box -m owner --uid-owner app_3 \
273 std::string BandwidthController::makeIptablesNaughtyCmd(IptOp op, int uid) {
293 asprintf(&buff, "%s penalty_box -m owner --uid-owner %d", opFlag, uid);
314 std::list<int /*uid*/>::iterator it;
319 failLogTemplate = "Failed to add app uid %d to penalty box.";
323 failLogTemplate = "Failed to delete app uid %d from penalty box.";
339 int uid = appUids[uidNum];
341 if (*it == uid)
348 ALOGE("No such appUid %d to remove", uid);
354 ALOGE("appUid %d exists already", uid);
357 naughtyAppUids.push_front(uid);
360 naughtyCmd = makeIptablesNaughtyCmd(op, uid);
362 ALOGE(failLogTemplate, uid);
369 /* Try to remove the uid that failed in any case*/