Home
last modified time | relevance | path

Searched refs:installParam (Results 1 – 14 of 14) sorted by relevance

/base/startup/init/services/modules/init_hook/
Dparam_hook.c63 static const ParamCmdInfo installParam[] = { in GetServiceCtl() local
73 *size = ARRAY_LENGTH(installParam); in GetServiceCtl()
74 return installParam; in GetServiceCtl()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Duninstall_plugin.cpp61 AppExecFwk::InstallParam installParam; in OnSetPolicy() local
62 installParam.userId = param.userId; in OnSetPolicy()
63 installParam.isKeepData = param.isKeepData; in OnSetPolicy()
64 iBundleInstaller->Uninstall(bundleName, installParam, callback); in OnSetPolicy()
Dinstall_plugin.cpp122 AppExecFwk::InstallParam installParam; in OnSetPolicy() local
124 ErrCode initRet = InstallParamInit(param, reply, installParam, realPaths); in OnSetPolicy()
148 ErrCode ret = iBundleInstaller->StreamInstall(realPaths, installParam, callback); in OnSetPolicy()
174 AppExecFwk::InstallParam &installParam, std::vector<std::string> &realPaths) in InstallParamInit() argument
176 installParam.userId = param.userId; in InstallParamInit()
177 installParam.installFlag = static_cast<AppExecFwk::InstallFlag>(param.installFlag); in InstallParamInit()
/base/customization/enterprise_device_management/services/edm_plugin/include/
Dinstall_plugin.h38 …InstallParamInit(InstallParam &param, MessageParcel &reply, AppExecFwk::InstallParam &installParam,
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Dmessage_parcel_utils.h31 … static void WriteInstallParam(const AppExecFwk::InstallParam &installParam, MessageParcel &data);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
Dbundle_manager_addon.h48 OHOS::AppExecFwk::InstallParam installParam; member
89 …bjectToInstallParam(napi_env env, napi_value object, OHOS::AppExecFwk::InstallParam &installParam);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
Dbundle_manager_addon.cpp159 asyncCallbackInfo->installParam, asyncCallbackInfo->innerCodeMsg); in NativeInstall()
258 OHOS::AppExecFwk::InstallParam &installParam) in jsObjectToInstallParam() argument
261 if (!JsObjectToInt(env, object, "userId", false, installParam.userId) || in jsObjectToInstallParam()
267 AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(installParam.userId); in jsObjectToInstallParam()
275 installParam.installFlag = static_cast<OHOS::AppExecFwk::InstallFlag>(installFlag); in jsObjectToInstallParam()
299 jsObjectToInstallParam(env, argv[ARR_INDEX_TWO], asyncCallbackInfo->installParam), in CheckAndParseInstallParamType()
304 …PARAM_ERROR(env, jsObjectToInstallParam(env, argv[ARR_INDEX_TWO], asyncCallbackInfo->installParam), in CheckAndParseInstallParamType()
/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/include/
Dbundle_manager_proxy.h37 AppExecFwk::InstallParam &installParam, std::string &retMessage);
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Dmessage_parcel_utils.cpp70 void MessageParcelUtils::WriteInstallParam(const AppExecFwk::InstallParam &installParam, MessagePar… in WriteInstallParam() argument
72 data.WriteInt32(installParam.userId); in WriteInstallParam()
73 data.WriteInt32(static_cast<int>(installParam.installFlag)); in WriteInstallParam()
/base/customization/enterprise_device_management/test/unittest/bundle_manager_proxy/
Dbundle_manager_proxy_test.cpp261 AppExecFwk::InstallParam installParam; variable
263 ErrCode ret = bundleManagerProxy->Install(admin, hapFilePaths, installParam, retMsg);
/base/startup/init/services/param/manager/
Dparam_manager.c333 const ParamCmdInfo *installParam = GetServiceCtl(&size); in GetServiceCtrlInfo() local
334 PARAM_CHECK(installParam != NULL, return -1, "Invalid ctrlInfo for %s", name); in GetServiceCtrlInfo()
336 if (strncmp(name, installParam[i].name, strlen(installParam[i].name)) == 0) { in GetServiceCtrlInfo()
337 … return CreateCtrlInfo(ctrlInfo, installParam[i].cmd, strlen(name) + 1, 1, "%s.%s", name, value); in GetServiceCtrlInfo()
/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/
Dbundle_manager_proxy.cpp183 AppExecFwk::InstallParam &installParam, std::string &errMessage) in Install() argument
211 MessageParcelUtils::WriteInstallParam(installParam, data); in Install()
/base/security/permission_lite/
DREADME_zh.md209 …bool Install(const char *hapPath, const InstallParam *installParam, InstallerCallback installerCal…
211 if ((hapPath == nullptr) || (installerCallback == nullptr) || (installParam == nullptr)) {
DREADME.md159 …bool Install(const char *hapPath, const InstallParam *installParam, InstallerCallback installerCal…
161 if ((hapPath == nullptr) || (installerCallback == nullptr) || (installParam == nullptr)) {