Home
last modified time | relevance | path

Searched refs:penalty (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DStrictController.cpp159 int StrictController::setUidCleartextPenalty(uid_t uid, StrictPenalty penalty) { in setUidCleartextPenalty() argument
168 if (penalty == ACCEPT) { in setUidCleartextPenalty()
188 if (penalty == LOG) { in setUidCleartextPenalty()
190 } else if (penalty == REJECT) { in setUidCleartextPenalty()
DNetdNativeService.cpp745 StrictPenalty penalty; in strictUidCleartextPenalty() local
748 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()
DNdcDispatcher.cpp890 int penalty = parsePenalty(argv[3]); in runCommand() local
891 if (penalty == -1) { in runCommand()
896 int res = !mNetd->strictUidCleartextPenalty(uid, penalty).isOk(); in runCommand()
/system/sepolicy/private/
Dlogd.te86 # event log tag service (albeit at a performance penalty,