Home
last modified time | relevance | path

Searched defs:isAllowed (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_firewall.cpp40 int32_t NetPolicyFirewall::SetDeviceIdleTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetDeviceIdleTrustlist()
57 int32_t NetPolicyFirewall::SetPowerSaveTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetPowerSaveTrustlist()
78 …ll::UpdateFirewallPolicyList(uint32_t chainType, const std::vector<uint32_t> &uids, bool isAllowed) in UpdateFirewallPolicyList()
H A Dnet_policy_callback.cpp166 int32_t NetPolicyCallback::NotifyNetBackgroundPolicyChangeAsync(bool isAllowed) in NotifyNetBackgroundPolicyChangeAsync()
182 int32_t NetPolicyCallback::NotifyNetBackgroundPolicyChange(bool isAllowed) in NotifyNetBackgroundPolicyChange()
H A Dnet_policy_rule.cpp244 int32_t NetPolicyRule::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/common/
H A Dnet_policy_service_common.cpp29 bool isAllowed = false; in IsUidNetAllowed() local
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_policy_client.cpp64 int32_t NetPolicyClient::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed()
74 …t32_t NetPolicyClient::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) in IsUidNetAllowed()
85 int32_t NetPolicyClient::IsUidNetAccess(uint32_t uid, bool isMetered, bool &isAllowed) in IsUidNetAccess()
90 int32_t NetPolicyClient::IsUidNetAccess(uint32_t uid, const std::string &ifaceName, bool &isAllowed) in IsUidNetAccess()
320 int32_t NetPolicyClient::SetDeviceIdleTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetDeviceIdleTrustlist()
369 int32_t NetPolicyClient::SetPowerSaveTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetPowerSaveTrustlist()
H A Dnet_policy_service_proxy.cpp148 int32_t NetPolicyServiceProxy::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed()
188 …NetPolicyServiceProxy::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) in IsUidNetAllowed()
489 …_t NetPolicyServiceProxy::SetDeviceIdleTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetDeviceIdleTrustlist()
628 …2_t NetPolicyServiceProxy::SetPowerSaveTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetPowerSaveTrustlist()
/ohos5.0/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_client.cpp142 bool isAllowed = false; variable
157 bool isAllowed = false; variable
173 bool isAllowed = false; variable
188 bool isAllowed = false; variable
482 bool isAllowed = true; variable
H A Dnet_policy_exception_service_test.cpp52 bool isAllowed = false; variable
H A Dnet_policy_service_stub_test.cpp51 int32_t IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) override in IsUidNetAllowed()
56 int32_t IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) override in IsUidNetAllowed()
86 int32_t SetDeviceIdleTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) override in SetDeviceIdleTrustlist()
106 int32_t SetBackgroundPolicy(bool isAllowed) override in SetBackgroundPolicy()
126 int32_t SetPowerSaveTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) override in SetPowerSaveTrustlist()
H A Dut_net_policy_service.cpp94 bool isAllowed = false; variable
108 bool isAllowed = false; variable
H A Dut_net_policy_rule.cpp97 bool isAllowed = false; variable
H A Dnet_policy_manager_test.cpp177 bool isAllowed = false; variable
191 bool isAllowed = false; variable
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/
H A Dnet_policy_service_stub.cpp294 bool isAllowed = false; in OnIsUidNetAllowedMetered() local
326 bool isAllowed = false; in OnIsUidNetAllowedIfaceName() local
546 bool isAllowed = false; in OnSetDeviceIdleTrustlist() local
585 bool isAllowed = false; in OnSetDeviceIdlePolicy() local
629 bool isAllowed = false; in OnSetPowerSaveTrustlist() local
648 bool isAllowed = false; in OnSetPowerSavePolicy() local
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/
H A Dnet_policy_service.cpp154 int32_t NetPolicyService::IsUidNetAllowed(uint32_t uid, bool metered, bool &isAllowed) in IsUidNetAllowed()
167 …32_t NetPolicyService::IsUidNetAllowed(uint32_t uid, const std::string &ifaceName, bool &isAllowed) in IsUidNetAllowed()
281 int32_t NetPolicyService::SetDeviceIdleTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetDeviceIdleTrustlist()
321 int32_t NetPolicyService::SetPowerSaveTrustlist(const std::vector<uint32_t> &uids, bool isAllowed) in SetPowerSaveTrustlist()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dusb_policy_utils.cpp55 bool isAllowed = (std::find_if(data.begin(), data.end(), [item](UsbDeviceId trustItem) { in AddAllowedUsbDevices() local
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_plugin_manager.cpp117 ErrCode OsAccountPluginManager::PluginVerifyActivationLockFunc(bool& isAllowed) in PluginVerifyActivationLockFunc()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/firewall_rule/
H A Dfirewall_rule.cpp141 void FirewallRule::SetUidFirewallRule(uint uid, bool isAllowed) in SetUidFirewallRule()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Ddisposed_rule_interceptor.cpp141 bool isAllowed = disposedRule.controlType == AppExecFwk::ControlType::ALLOWED_LIST; in CheckDisposedRule() local
/ohos5.0/base/security/access_token/interfaces/innerkits/privacy/src/
H A Dprivacy_kit.cpp234 int32_t PrivacyKit::SetHapWithFGReminder(uint32_t tokenId, bool isAllowed) in SetHapWithFGReminder()
H A Dprivacy_manager_proxy.cpp498 int32_t PrivacyManagerProxy::SetHapWithFGReminder(uint32_t tokenId, bool isAllowed) in SetHapWithFGReminder()
H A Dprivacy_manager_client.cpp373 int32_t PrivacyManagerClient::SetHapWithFGReminder(uint32_t tokenId, bool isAllowed) in SetHapWithFGReminder()
/ohos5.0/foundation/communication/netmanager_base/test/fuzztest/netpolicyclient_fuzzer/
H A Dnet_policy_client_fuzzer.cpp394 bool isAllowed = NetPolicyGetData<int32_t>() % CONVERT_NUMBER_TO_BOOL == 0; in SetDeviceIdleTrustlistFuzzTest() local
424 bool isAllowed = NetPolicyGetData<int32_t>() % CONVERT_NUMBER_TO_BOOL == 0; in SetPowerSaveTrustlistFuzzTest() local
/ohos5.0/base/security/access_token/services/privacymanager/src/service/
H A Dprivacy_manager_service.cpp293 int32_t PrivacyManagerService::SetHapWithFGReminder(uint32_t tokenId, bool isAllowed) in SetHapWithFGReminder()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_util.cpp348 bool isAllowed = true; in IsInForeGround() local
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/dialog_session/
H A Ddialog_session_manager.cpp199 …sionManager::SendDialogResult(const Want &want, const std::string &dialogSessionId, bool isAllowed) in SendDialogResult()

12