Home
last modified time | relevance | path

Searched refs:hnpBasePath (Results 1 - 2 of 2) sorted by relevance

/base/startup/appspawn/service/hnp/installer/include/
H A Dhnp_installer.h63 char hnpBasePath[MAX_FILE_PATH_LEN]; // hnp安装基础路径,public为 xxx/{uid}/hnppublic,private为xxx/{uid}/hnp/{hap} member
64 char hnpSoftwarePath[MAX_FILE_PATH_LEN]; // 软件安装路径,为hnpBasePath/{name}.org/
65 char hnpVersionPath[MAX_FILE_PATH_LEN]; // 软件安装版本路径,为hnpBasePath/{name}.org/{name}_{version}
/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c165 static int HnpGenerateSoftLink(const char *installPath, const char *hnpBasePath, HnpCfgInfo *hnpCfg) in HnpGenerateSoftLink() argument
170 ret = sprintf_s(binPath, MAX_FILE_PATH_LEN, "%s/bin", hnpBasePath); in HnpGenerateSoftLink()
197 return HnpGenerateSoftLink(hnpInfo->hnpVersionPath, hnpInfo->hnpBasePath, hnpCfg); in HnpInstall()
364 ret = sprintf_s(hnpInfo->hnpSoftwarePath, MAX_FILE_PATH_LEN, "%s/%s.org", hnpInfo->hnpBasePath, in HnpInstallPathGet()
405 HNP_LOGI("hnp install start now! src file=%{public}s, dst path=%{public}s", srcFile, hnpInfo->hnpBasePath); in HnpReadAndInstall()
424 ret = HnpGenerateSoftLink(hnpInfo->hnpVersionPath, hnpInfo->hnpBasePath, &hnpCfg); in HnpReadAndInstall()
554 if ((sprintf_s(hnpInfo.hnpBasePath, MAX_FILE_PATH_LEN, "%s/hnppublic", dstPath) < 0) || in HapReadAndInstall()
562 if ((sprintf_s(hnpInfo.hnpBasePath, MAX_FILE_PATH_LEN, "%s/hnp/%s", dstPath, in HapReadAndInstall()

Completed in 3 milliseconds