Home
last modified time | relevance | path

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

/system/netd/
DFirewallController.cpp71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule() argument
73 if (rule == ALLOW) { in setInterfaceRule()
85 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) { in setEgressSourceRule() argument
92 if (rule == ALLOW) { in setEgressSourceRule()
105 FirewallRule rule) { in setEgressDestRule() argument
118 if (rule == ALLOW) { in setEgressDestRule()
132 int FirewallController::setUidRule(int uid, FirewallRule rule) { in setUidRule() argument
137 if (rule == ALLOW) { in setUidRule()
DCommandListener.cpp1385 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1387 int res = sFirewallCtrl->setInterfaceRule(iface, rule); in runCommand()
1400 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1402 int res = sFirewallCtrl->setEgressSourceRule(addr, rule); in runCommand()
1416 FirewallRule rule = parseRule(argv[4]); in runCommand() local
1419 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_TCP, port, rule); in runCommand()
1420 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_UDP, port, rule); in runCommand()
1433 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1435 int res = sFirewallCtrl->setUidRule(uid, rule); in runCommand()
/system/extras/tests/fstest/
DREADME4 specified and minimal) rule for that file/directory to be printed on
9 one matching rule. If there is an explicit (fully specified) <spec>
11 explicit <spec> rule fails (i.e., other matching <spec> rules will be
13 <spec> rule fails to hold.
34 rule with the same name as the symlink exists, in which case the permissions
35 on the rule must match the permissions on the symlink itself, not the target.
68 file that does not match any rule is a failure.
/system/core/libcutils/
Dtztime.c156 struct rule { struct
181 static const char * getrule P((const char * strp, struct rule * rulep));
212 const struct rule * rulep, long offset));
781 register struct rule * const rulep;
836 register const struct rule * const rulep;
996 struct rule start;
997 struct rule end;