• Home
  • Raw
  • Download

Lines Matching refs:rule

552 Status TrafficController::updateOwnerMapEntry(UidOwnerMatchType match, uid_t uid, FirewallRule rule,  in updateOwnerMapEntry()  argument
555 if ((rule == ALLOW && type == WHITELIST) || (rule == DENY && type == BLACKLIST)) { in updateOwnerMapEntry()
557 } else if ((rule == ALLOW && type == BLACKLIST) || (rule == DENY && type == WHITELIST)) { in updateOwnerMapEntry()
581 UidOwnerValue newMatch = {.rule = static_cast<uint8_t>(oldMatch.value().rule & ~match), in removeRule()
583 if (newMatch.rule == 0) { in removeRule()
604 UidOwnerValue newMatch = {.rule = static_cast<uint8_t>(oldMatch.value().rule | match), in addRule()
608 UidOwnerValue newMatch = {.rule = static_cast<uint8_t>(match), .iif = iif}; in addRule()
643 int TrafficController::changeUidOwnerRule(ChildChain chain, uid_t uid, FirewallRule rule, in changeUidOwnerRule() argument
652 res = updateOwnerMapEntry(DOZABLE_MATCH, uid, rule, type); in changeUidOwnerRule()
655 res = updateOwnerMapEntry(STANDBY_MATCH, uid, rule, type); in changeUidOwnerRule()
658 res = updateOwnerMapEntry(POWERSAVE_MATCH, uid, rule, type); in changeUidOwnerRule()
666 res.msg().c_str(), rule, type); in changeUidOwnerRule()
734 FirewallRule rule; in replaceUidOwnerMap() local
738 rule = ALLOW; in replaceUidOwnerMap()
741 rule = DENY; in replaceUidOwnerMap()
1094 if (value.rule & IIF_MATCH) { in dump()
1097 dw.println("%u %s %s", key, uidMatchTypeToString(value.rule).c_str(), in dump()
1100 dw.println("%u %s %u", key, uidMatchTypeToString(value.rule).c_str(), value.iif); in dump()
1103 dw.println("%u %s", key, uidMatchTypeToString(value.rule).c_str()); in dump()