Lines Matching refs:rule
33 * Creare firewall rule
36 * @return std::shared_ptr<FirewallRule> The firewall rule, such as DeviceIdleFirewallRule
51 * @param rule The firewall rull, see {@link FIREWALL_RULE_ALLOW and FIREWALL_RULE_DENY}
53 virtual void SetAllowedList(const std::vector<uint32_t> &uids, uint32_t rule);
79 * @param rule The firewall rull, see {@link FIREWALL_RULE_ALLOW} and {@link FIREWALL_RULE_DENY}
81 virtual void SetDeniedList(uint32_t uid, uint32_t rule);
109 * Set the firewall rule for the specified UID
112 * @param isAllow allow the firewall rule or not
117 * Enable the firewall rule
119 * @param enable true: enable the firewall rule; false: disable the firewall rule
154 void SetAllowedList(uint32_t uid, uint32_t rule);