Home
last modified time | relevance | path

Searched refs:installParam (Results 1 - 13 of 13) sorted by relevance

/base/startup/init/services/modules/init_hook/
H A Dparam_hook.c63 static const ParamCmdInfo installParam[] = { in GetServiceCtl() local
72 *size = ARRAY_LENGTH(installParam); in GetServiceCtl()
73 return installParam; in GetServiceCtl()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A 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()
H A 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()
176 installParam.userId = param.userId; in InstallParamInit()
177 installParam.installFlag = static_cast<AppExecFwk::InstallFlag>(param.installFlag); in InstallParamInit()
173 InstallParamInit(InstallParam &param, MessageParcel &reply, AppExecFwk::InstallParam &installParam, std::vector<std::string> &realPaths) InstallParamInit() argument
/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Dinstall_plugin.h38 ErrCode InstallParamInit(InstallParam &param, MessageParcel &reply, AppExecFwk::InstallParam &installParam,
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/
H A Dbundle_manager_proxy_test.cpp337 AppExecFwk::InstallParam installParam; in HWTEST_F() local
339 ErrCode ret = bundleManagerProxy->Install(admin, hapFilePaths, installParam, retMsg); in HWTEST_F()
352 AppExecFwk::InstallParam installParam; in HWTEST_F() local
362 ErrCode ret = bundleManagerProxy->Install(admin, hapFilePaths, installParam, retMsg); in HWTEST_F()
375 AppExecFwk::InstallParam installParam; in HWTEST_F() local
385 ErrCode ret = bundleManagerProxy->Install(admin, hapFilePaths, installParam, retMsg); in HWTEST_F()
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
H A Dmessage_parcel_utils.h34 static void WriteInstallParam(const AppExecFwk::InstallParam &installParam, MessageParcel &data);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
H A Dbundle_manager_addon.h48 OHOS::AppExecFwk::InstallParam installParam; member
100 static bool jsObjectToInstallParam(napi_env env, napi_value object, OHOS::AppExecFwk::InstallParam &installParam);
/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/include/
H A Dbundle_manager_proxy.h37 AppExecFwk::InstallParam &installParam, std::string &retMessage);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
H A Dbundle_manager_addon.cpp175 asyncCallbackInfo->installParam, asyncCallbackInfo->innerCodeMsg); in NativeInstall()
276 OHOS::AppExecFwk::InstallParam &installParam) in jsObjectToInstallParam()
279 if (!JsObjectToInt(env, object, "userId", false, installParam.userId) || in jsObjectToInstallParam()
285 AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(installParam.userId); in jsObjectToInstallParam()
293 installParam.installFlag = static_cast<OHOS::AppExecFwk::InstallFlag>(installFlag); in jsObjectToInstallParam()
317 jsObjectToInstallParam(env, argv[ARR_INDEX_TWO], asyncCallbackInfo->installParam), in CheckAndParseInstallParamType()
318 "installParam param error"); in CheckAndParseInstallParamType()
322 ASSERT_AND_THROW_PARAM_ERROR(env, jsObjectToInstallParam(env, argv[ARR_INDEX_TWO], asyncCallbackInfo->installParam), in CheckAndParseInstallParamType()
323 "installParam param error"); in CheckAndParseInstallParamType()
275 jsObjectToInstallParam(napi_env env, napi_value object, OHOS::AppExecFwk::InstallParam &installParam) jsObjectToInstallParam() argument
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Dmessage_parcel_utils_test.cpp228 AppExecFwk::InstallParam installParam; in HWTEST_F() local
229 installParam.userId = AppExecFwk::Constants::UNSPECIFIED_USERID; in HWTEST_F()
230 installParam.installFlag = AppExecFwk::InstallFlag::NORMAL; in HWTEST_F()
231 MessageParcelUtils::WriteInstallParam(installParam, data); in HWTEST_F()
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
H A Dmessage_parcel_utils.cpp238 void MessageParcelUtils::WriteInstallParam(const AppExecFwk::InstallParam &installParam, MessageParcel &data) in WriteInstallParam() argument
240 data.WriteInt32(installParam.userId); in WriteInstallParam()
241 data.WriteInt32(static_cast<int>(installParam.installFlag)); in WriteInstallParam()
/base/startup/init/services/param/manager/
H A Dparam_manager.c361 const ParamCmdInfo *installParam = GetServiceCtl(&size); in GetServiceCtrlInfo() local
362 PARAM_CHECK(installParam != NULL, return -1, "Invalid ctrlInfo for %s", name); in GetServiceCtrlInfo()
364 if (strncmp(name, installParam[i].name, strlen(installParam[i].name)) == 0) { in GetServiceCtrlInfo()
365 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/
H A Dbundle_manager_proxy.cpp171 AppExecFwk::InstallParam &installParam, std::string &errMessage) in Install()
196 MessageParcelUtils::WriteInstallParam(installParam, data); in Install()
170 Install(AppExecFwk::ElementName &admin, std::vector<std::string> &hapFilePaths, AppExecFwk::InstallParam &installParam, std::string &errMessage) Install() argument

Completed in 9 milliseconds