Home
last modified time | relevance | path

Searched refs:oldRule (Results 1 - 7 of 7) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleuserinfo_fuzzer/
H A Dbundleuserinfo_fuzzer.cpp30 BundleUserInfo oldRule; in DoSomethingInterestingWithMyAPI() local
31 oldRule.disabledAbilities.push_back(disabledAbilities); in DoSomethingInterestingWithMyAPI()
32 oldRule.IsInitialState(); in DoSomethingInterestingWithMyAPI()
33 oldRule.Reset(); in DoSomethingInterestingWithMyAPI()
34 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/apprunningcontrolruleresult_fuzzer/
H A Dapprunningcontrolruleresult_fuzzer.cpp30 AppRunningControlRuleResult oldRule; in DoSomethingInterestingWithMyAPI() local
31 oldRule.controlMessage = controlMessage; in DoSomethingInterestingWithMyAPI()
32 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/apprunningcontrolrule_fuzzer/
H A Dapprunningcontrolrule_fuzzer.cpp30 AppRunningControlRule oldRule; in DoSomethingInterestingWithMyAPI() local
31 oldRule.appId = appId; in DoSomethingInterestingWithMyAPI()
32 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_rule_manager.cpp113 NetFirewallRule oldRule; in UpdateNetFirewallRule() local
116 ret = CheckRuleExist(rule->ruleId, oldRule); in UpdateNetFirewallRule()
124 if (oldRule.ruleId <= 0 || (!oldRule.isEnabled && !rule->isEnabled)) { in UpdateNetFirewallRule()
127 if (oldRule.isEnabled && (rule->ruleType != oldRule.ruleType || !rule->isEnabled)) { in UpdateNetFirewallRule()
128 ret = DistributeRulesToNative(oldRule.ruleType); in UpdateNetFirewallRule()
145 NetFirewallRule oldRule; in DeleteNetFirewallRule() local
146 ret = CheckRuleExist(ruleId, oldRule); in DeleteNetFirewallRule()
156 if (oldRule in DeleteNetFirewallRule()
320 CheckRuleExist(const int32_t ruleId, NetFirewallRule &oldRule) CheckRuleExist() argument
[all...]
H A Dnetfirewall_db_helper.cpp216 NetFirewallRule &oldRule) in CheckIfNeedUpdateEx()
235 oldRule.ruleId = rules[0].ruleId; in CheckIfNeedUpdateEx()
236 oldRule.userId = rules[0].userId; in CheckIfNeedUpdateEx()
237 oldRule.ruleType = rules[0].ruleType; in CheckIfNeedUpdateEx()
238 oldRule.isEnabled = rules[0].isEnabled; in CheckIfNeedUpdateEx()
678 bool NetFirewallDbHelper::IsFirewallRuleExist(int32_t ruleId, NetFirewallRule &oldRule) in IsFirewallRuleExist() argument
682 int32_t ret = CheckIfNeedUpdateEx(FIREWALL_TABLE_NAME, isExist, ruleId, oldRule); in IsFirewallRuleExist()
215 CheckIfNeedUpdateEx(const std::string &tableName, bool &isUpdate, int32_t ruleId, NetFirewallRule &oldRule) CheckIfNeedUpdateEx() argument
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/
H A Dnetfirewall_rule_manager.h100 int32_t CheckRuleExist(const int32_t ruleId, NetFirewallRule &oldRule);
H A Dnetfirewall_db_helper.h257 * @param oldRule Current existing rules
260 bool IsFirewallRuleExist(int32_t ruleId, NetFirewallRule &oldRule);
265 * @param oldRule Current existing rules
289 int32_t CheckIfNeedUpdateEx(const std::string &tableName, bool &isUpdate, int32_t ruleId, NetFirewallRule &oldRule);

Completed in 5 milliseconds