Home
last modified time | relevance | path

Searched refs:hnpRootPath (Results 1 - 4 of 4) sorted by relevance

/base/startup/appspawn/interfaces/innerkits/hnp/src/
H A Dhnp_api.c161 int NativeInstallHnp(const char *userId, const char *hnpRootPath, const HapInfo *hapInfo, int installOptions) in NativeInstallHnp() argument
172 if ((userId == NULL) || (hnpRootPath == NULL) || (hapInfo == NULL)) { in NativeInstallHnp()
182 hapInfo->abi, hnpRootPath, hapInfo->packageName, installOptions); in NativeInstallHnp()
189 argv[index++] = (char *)hnpRootPath; in NativeInstallHnp()
/base/startup/appspawn/interfaces/innerkits/hnp/include/
H A Dhnp_api.h71 * @param hnpRootPath Indicates the root path of hnp packages
77 int NativeInstallHnp(const char *userId, const char *hnpRootPath, const HapInfo *hapInfo, int installOptions);
/base/startup/appspawn/service/hnp/installer/include/
H A Dhnp_installer.h53 char *hnpRootPath; // hnp安装目录 member
/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c543 DIR *dir = opendir(installInfo->hnpRootPath); in HapReadAndInstall()
545 HNP_LOGE("hnp install opendir:%{public}s unsuccess, errno=%{public}d", installInfo->hnpRootPath, errno); in HapReadAndInstall()
555 (sprintf_s(hnpPath, MAX_FILE_PATH_LEN, "%s/public", installInfo->hnpRootPath) < 0)) { in HapReadAndInstall()
564 installInfo->hnpRootPath) < 0)) { in HapReadAndInstall()
722 (ret = HnpInstallHapFileCountGet(installInfo->hnpRootPath, &count)) != 0) { in HnpInsatllPre()
783 installInfo->hnpRootPath = (char *)optarg; in ParseInstallArgs()
799 if ((installInfo->uid == -1) || (installInfo->hnpRootPath == NULL) || (installInfo->hapPath == NULL) || in ParseInstallArgs()

Completed in 3 milliseconds