Lines Matching refs:uid
100 * iptables -A penalty_box -m owner --uid-owner app_3 \
284 std::string BandwidthController::makeIptablesNaughtyCmd(IptOp op, int uid) {
301 asprintf(&buff, "%s penalty_box -m owner --uid-owner %d", opFlag, uid);
322 std::list<int /*uid*/>::iterator it;
327 failLogTemplate = "Failed to add app uid %d to penalty box.";
331 failLogTemplate = "Failed to delete app uid %d from penalty box.";
347 int uid = appUids[uidNum];
349 if (*it == uid)
356 ALOGE("No such appUid %d to remove", uid);
362 ALOGE("appUid %d exists already", uid);
365 naughtyAppUids.push_front(uid);
368 naughtyCmd = makeIptablesNaughtyCmd(op, uid);
370 ALOGE(failLogTemplate, uid);
377 /* Try to remove the uid that failed in any case*/