Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 5 of 5) 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.cpp1484 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1486 int res = sFirewallCtrl->setInterfaceRule(iface, rule); in runCommand()
1499 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1501 int res = sFirewallCtrl->setEgressSourceRule(addr, rule); in runCommand()
1515 FirewallRule rule = parseRule(argv[4]); in runCommand() local
1518 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_TCP, port, rule); in runCommand()
1519 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_UDP, port, rule); in runCommand()
1532 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1534 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/libcorkscrew/arch-x86/
Dbacktrace-x86.c345 dstate->regs[op].rule = 'o'; in execute_dwarf()
350 dstate->regs[op].rule = stack->regs[op].rule; in execute_dwarf()
352 … ALOGV("DW_CFA_restore: r%d = %c(%d)", op, dstate->regs[op].rule, dstate->regs[op].value); in execute_dwarf()
387 dstate->regs[reg].rule = 'o'; in execute_dwarf()
393 dstate->regs[reg].rule = stack->regs[reg].rule; in execute_dwarf()
399 … ALOGV("DW_CFA_restore: r%d = %c(%d)", reg, dstate->regs[reg].rule, dstate->regs[reg].value); in execute_dwarf()
403 dstate->regs[reg].rule = 'u'; in execute_dwarf()
413 dstate->regs[reg].rule = 's'; in execute_dwarf()
429 dstate->regs[reg].rule = 'r'; in execute_dwarf()
487 switch (dstate->regs[reg].rule) { in get_old_register_value()
[all …]
Ddwarf.h113 char rule; // rule: o - offset(value); r - register(value) member