/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/ |
H A D | bundle_install_plugin_test.cpp | 57 …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 D | bms_app_control_proxy_test.cpp | 61 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 D | app_control_manager_host_impl.h | 31 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 D | bms_bundle_app_control_test.cpp | 732 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 D | app_control_interface.h | 33 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 D | app_control_proxy.h | 31 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 D | bundle_install_plugin.h | 26 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 D | mock_app_control_manager.h | 38 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 D | mock_app_control_manager.cpp | 29 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 D | addappInstallcontrolrule_fuzzer.cpp | 29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getappinstallcontrolrule_fuzzer/ |
H A D | getappinstallcontrolrule_fuzzer.cpp | 29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/deleteappinstallcontrolrule_fuzzer/ |
H A D | deleteappinstallcontrolrule_fuzzer.cpp | 29 AppInstallControlRuleType controlRuleType = AppInstallControlRuleType::UNSPECIFIED; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/app_control/ |
H A D | app_control_host.cpp | 117 …AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleAddAppInstallControlRule() 128 …AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleDeleteAppInstallControlRule() 148 …AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleCleanAppInstallControlRule() 159 …AppInstallControlRuleType controlRuleType = static_cast<AppInstallControlRuleType>(data.ReadInt32(… in HandleGetAppInstallControlRule()
|
H A D | app_control_proxy.cpp | 38 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 D | app_control_manager_host_impl.cpp | 41 … {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 D | allowed_install_bundles_plugin.cpp | 37 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::ALLOWED_INSTALL); in InitPlugin()
|
H A D | disallowed_install_bundles_plugin.cpp | 36 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::DISALLOWED_INSTALL); in InitPlugin()
|
H A D | disallowed_uninstall_bundles_plugin.cpp | 36 SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType::DISALLOWED_UNINSTALL); in InitPlugin()
|
H A D | bundle_install_plugin.cpp | 28 void BundleInstallPlugin::SetAppInstallControlRuleType(AppExecFwk::AppInstallControlRuleType contro… in SetAppInstallControlRuleType()
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_test_tool.cpp | 2224 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 D | bms_bundle_installer_test.cpp | 4011 auto ret = impl->GetControlRuleType(AppInstallControlRuleType::DISALLOWED_UNINSTALL); 4023 auto ret = impl->GetControlRuleType(AppInstallControlRuleType::UNSPECIFIED);
|