Home | History | Annotate | Download | only in netd

Lines Matching refs:uid

95  *    iptables -A penalty_box -m owner --uid-owner app_3 \
309 std::string BandwidthController::makeIptablesNaughtyCmd(IptOp op, int uid) {
326 asprintf(&buff, "%s penalty_box -m owner --uid-owner %d", opFlag, uid);
347 std::list<int /*uid*/>::iterator it;
352 failLogTemplate = "Failed to add app uid %d to penalty box.";
356 failLogTemplate = "Failed to delete app uid %d from penalty box.";
372 int uid = appUids[uidNum];
374 if (*it == uid)
381 ALOGE("No such appUid %d to remove", uid);
387 ALOGE("appUid %d exists already", uid);
390 naughtyAppUids.push_front(uid);
393 naughtyCmd = makeIptablesNaughtyCmd(op, uid);
395 ALOGE(failLogTemplate, uid);
402 /* Try to remove the uid that failed in any case*/