Searched refs:penalty (Results 1 – 4 of 4) sorted by relevance
159 int StrictController::setUidCleartextPenalty(uid_t uid, StrictPenalty penalty) { in setUidCleartextPenalty() argument168 if (penalty == ACCEPT) { in setUidCleartextPenalty()188 if (penalty == LOG) { in setUidCleartextPenalty()190 } else if (penalty == REJECT) { in setUidCleartextPenalty()
745 StrictPenalty penalty; in strictUidCleartextPenalty() local748 penalty = REJECT; in strictUidCleartextPenalty()751 penalty = LOG; in strictUidCleartextPenalty()754 penalty = ACCEPT; in strictUidCleartextPenalty()760 int res = gCtls->strictCtrl.setUidCleartextPenalty((uid_t) uid, penalty); in strictUidCleartextPenalty()
890 int penalty = parsePenalty(argv[3]); in runCommand() local891 if (penalty == -1) { in runCommand()896 int res = !mNetd->strictUidCleartextPenalty(uid, penalty).isOk(); in runCommand()
86 # event log tag service (albeit at a performance penalty,