Searched refs:hnpPath (Results 1 - 1 of 1) sorted by relevance
/base/startup/appspawn/service/hnp/installer/src/ |
H A D | hnp_installer.c | 539 char hnpPath[MAX_FILE_PATH_LEN];
in HapReadAndInstall() local 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() 573 ret = HnpPackageGetAndInstall(hnpPath, &hnpInfo, "", hnpSignMapInfos, count);
in HapReadAndInstall() 584 static int HnpInstallHnpFileCountGet(char *hnpPath, int *count)
in HnpInstallHnpFileCountGet() argument 591 if ((dir = opendir(hnpPath)) == NULL) {
in HnpInstallHnpFileCountGet() 592 HNP_LOGE("hnp install count get opendir:%{public}s unsuccess, errno=%{public}d", hnpPath, errno);
in HnpInstallHnpFileCountGet() 601 if (sprintf_s(path, MAX_FILE_PATH_LEN, "%s/%s", hnpPath, entry->d_name) < 0) {
in HnpInstallHnpFileCountGet() 602 HNP_LOGE("hnp install count get sprintf unsuccess, dir[%{public}s], path[%{public}s]", hnpPath,
in HnpInstallHnpFileCountGet() 609 if (sprintf_s(path, MAX_FILE_PATH_LEN, "%s/%s", hnpPath, entr in HnpInstallHnpFileCountGet() 638 char hnpPath[MAX_FILE_PATH_LEN]; HnpInstallHapFileCountGet() local [all...] |
Completed in 2 milliseconds