Home
last modified time | relevance | path

Searched refs:AppInstallControlRuleType (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Dbundle_install_plugin_test.cpp57 …for (int32_t policyType = static_cast<int32_t>(AppExecFwk::AppInstallControlRuleType::DISALLOWED_U…
59 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
75 …for (int32_t policyType = static_cast<int32_t>(AppExecFwk::AppInstallControlRuleType::DISALLOWED_U…
77 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
94 …for (int32_t policyType = static_cast<int32_t>(AppExecFwk::AppInstallControlRuleType::DISALLOWED_U…
96 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
137 …for (int32_t policyType = static_cast<int32_t>(AppExecFwk::AppInstallControlRuleType::DISALLOWED_U…
139 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
158 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
177 …plugin.SetAppInstallControlRuleType(static_cast<AppExecFwk::AppInstallControlRuleType>(policyType)…
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_app_control_proxy_test/
H A Dbms_app_control_proxy_test.cpp61 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
79 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
95 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
113 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
128 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
143 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_control/
H A Dapp_control_manager_host_impl.h31 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
33 virtual ErrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType,
37 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
39 …virtual ErrCode GetAppInstallControlRule(const AppInstallControlRuleType controlRuleType, int32_t …
93 std::string GetControlRuleType(const AppInstallControlRuleType controlRuleType);
98 std::unordered_map<AppInstallControlRuleType, std::string> ruleTypeMap_;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_control_test/
H A Dbms_bundle_app_control_test.cpp732 appIds, AppInstallControlRuleType::ALLOWED_INSTALL, USERID);
765 appIds, AppInstallControlRuleType::UNSPECIFIED, USERID);
782 AppInstallControlRuleType::ALLOWED_INSTALL, appIds, USERID);
798 AppInstallControlRuleType::ALLOWED_INSTALL, appIds, USERID);
814 AppInstallControlRuleType::UNSPECIFIED, appIds, USERID);
829 AppInstallControlRuleType::ALLOWED_INSTALL, USERID);
843 AppInstallControlRuleType::ALLOWED_INSTALL, USERID);
858 AppInstallControlRuleType::UNSPECIFIED, USERID);
875 AppInstallControlRuleType::ALLOWED_INSTALL, USERID, appIds);
891 AppInstallControlRuleType::ALLOWED_INSTALL, USERID, appIds);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/
H A Dapp_control_interface.h33 enum class AppInstallControlRuleType : int8_t { enum
51 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
55 virtual ErrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType, in DeleteAppInstallControlRule()
60 …virtual ErrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType, int32… in DeleteAppInstallControlRule()
65 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule()
H A Dapp_control_proxy.h31 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
32 virtual ErrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType,
35 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
37 …const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds)…
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Dbundle_install_plugin.h26 void SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType controlRuleType);
33 …AppExecFwk::AppInstallControlRuleType controlRuleType_ = AppExecFwk::AppInstallControlRuleType::UN…
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/bundlemgr/
H A Dmock_app_control_manager.h38 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
39 virtual ErrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType,
42 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
44 …const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string>& appIds)…
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/
H A Dmock_app_control_manager.cpp29 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
34 ErrCode AppControlProxy::DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleTyp… in DeleteAppInstallControlRule()
41 const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule()
47 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string>& appIds) in GetAppInstallControlRule()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/addappInstallcontrolrule_fuzzer/
H A DaddappInstallcontrolrule_fuzzer.cpp29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getappinstallcontrolrule_fuzzer/
H A Dgetappinstallcontrolrule_fuzzer.cpp29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/deleteappinstallcontrolrule_fuzzer/
H A Ddeleteappinstallcontrolrule_fuzzer.cpp29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/app_control/
H A Dapp_control_host.cpp117AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleAddAppInstallControlRule()
128AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleDeleteAppInstallControlRule()
148AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleCleanAppInstallControlRule()
159AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleGetAppInstallControlRule()
H A Dapp_control_proxy.cpp38 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
67 ErrCode AppControlProxy::DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleTyp… in DeleteAppInstallControlRule()
98 const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule()
120 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager_host_impl.cpp41 … {AppInstallControlRuleType::DISALLOWED_UNINSTALL, AppControlConstants::APP_DISALLOWED_UNINSTALL}, in AppControlManagerHostImpl()
42 {AppInstallControlRuleType::ALLOWED_INSTALL, AppControlConstants::APP_ALLOWED_INSTALL}, in AppControlManagerHostImpl()
43 {AppInstallControlRuleType::DISALLOWED_INSTALL, AppControlConstants::APP_DISALLOWED_INSTALL} in AppControlManagerHostImpl()
52 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule()
76 ErrCode AppControlManagerHostImpl::DeleteAppInstallControlRule(const AppInstallControlRuleType cont… in DeleteAppInstallControlRule()
101 ErrCode AppControlManagerHostImpl::DeleteAppInstallControlRule(const AppInstallControlRuleType cont… in DeleteAppInstallControlRule()
127 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule()
273 std::string AppControlManagerHostImpl::GetControlRuleType(const AppInstallControlRuleType controlRu… in GetControlRuleType()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dallowed_install_bundles_plugin.cpp37 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::ALLOWED_INSTALL); in InitPlugin()
H A Ddisallowed_install_bundles_plugin.cpp36 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::DISALLOWED_INSTALL); in InitPlugin()
H A Ddisallowed_uninstall_bundles_plugin.cpp36 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::DISALLOWED_UNINSTALL); in InitPlugin()
H A Dbundle_install_plugin.cpp28 void BundleInstallPlugin::SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType contro… in SetAppInstallControlRuleType()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp2224 auto rule = static_cast<AppInstallControlRuleType>(ruleType); in RunAsAddInstallRuleCommand()
2314 auto rule = static_cast<AppInstallControlRuleType>(ruleType); in RunAsGetInstallRuleCommand()
2414 auto rule = static_cast<AppInstallControlRuleType>(ruleType); in RunAsDeleteInstallRuleCommand()
2489 auto rule = static_cast<AppInstallControlRuleType>(ruleType); in RunAsCleanInstallRuleCommand()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp4011 auto ret = impl->GetControlRuleType(AppInstallControlRuleType::DISALLOWED_UNINSTALL);
4023 auto ret = impl->GetControlRuleType(AppInstallControlRuleType::UNSPECIFIED);