Home
last modified time | relevance | path

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

/base/startup/appspawn/service/hnp/installer/src/
H A Dhnp_installer.c535 static int HapReadAndInstall(const char *dstPath, HapInstallInfo *installInfo, HnpSignMapInfo *hnpSignMapInfos, in HapReadAndInstall() argument
543 DIR *dir = opendir(installInfo->hnpRootPath); in HapReadAndInstall()
545 HNP_LOGE("hnp install opendir:%{public}s unsuccess, errno=%{public}d", installInfo->hnpRootPath, errno); in HapReadAndInstall()
549 hnpInfo.hapInstallInfo = installInfo; in HapReadAndInstall()
555 (sprintf_s(hnpPath, MAX_FILE_PATH_LEN, "%s/public", installInfo->hnpRootPath) < 0)) { in HapReadAndInstall()
563 installInfo->hapPackageName) < 0) || (sprintf_s(hnpPath, MAX_FILE_PATH_LEN, "%s/private", in HapReadAndInstall()
564 installInfo->hnpRootPath) < 0)) { in HapReadAndInstall()
692 static int CheckInstallPath(char *dstPath, HapInstallInfo *installInfo) in CheckInstallPath() argument
695 if (sprintf_s(dstPath, MAX_FILE_PATH_LEN, HNP_DEFAULT_INSTALL_ROOT_PATH"/%d", installInfo->uid) < 0) { in CheckInstallPath()
696 HNP_LOGE("hnp install sprintf unsuccess, uid:%{public}d", installInfo in CheckInstallPath()
710 HnpInsatllPre(HapInstallInfo *installInfo) HnpInsatllPre() argument
762 ParseInstallArgs(int argc, char *argv[], HapInstallInfo *installInfo) ParseInstallArgs() argument
810 HapInstallInfo installInfo = {0}; HnpCmdInstall() local
[all...]

Completed in 2 milliseconds