Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework/common/utils/include/
H A Dbundle_file_util.h31 static bool GetHapFilesFromBundlePath(const std::string &currentBundlePath, std::vector<std::string> &hapFileList);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/
H A Dbundlefileutil_fuzzer.cpp44 fileUtil.GetHapFilesFromBundlePath(bundlePath, hapFileList); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp100 if (!GetHapFilesFromBundlePath(bundlePath, realPaths)) { in CheckFilePath()
101 APP_LOGE("GetHapFilesFromBundlePath failed :%{public}s", bundlePaths.front().c_str()); in CheckFilePath()
161 bool BundleFileUtil::GetHapFilesFromBundlePath(const std::string &currentBundlePath, in GetHapFilesFromBundlePath() function in OHOS::AppExecFwk::BundleFileUtil
164 APP_LOGD("GetHapFilesFromBundlePath with path is %{public}s", currentBundlePath.c_str()); in GetHapFilesFromBundlePath()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h95 static bool GetHapFilesFromBundlePath(const std::string& currentBundlePath, std::vector<std::string>& hapFileList);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp119 if ((s.st_mode & S_IFDIR) && !GetHapFilesFromBundlePath(bundlePath, realPaths)) { in CheckFilePath()
120 APP_LOGE("GetHapFilesFromBundlePath failed with bundlePath:%{public}s", bundlePaths.front().c_str()); in CheckFilePath()
232 bool BundleUtil::GetHapFilesFromBundlePath(const std::string& currentBundlePath, std::vector<std::string>& hapFileList) in GetHapFilesFromBundlePath() function in OHOS::AppExecFwk::BundleUtil
234 APP_LOGD("GetHapFilesFromBundlePath with path is %{public}s", currentBundlePath.c_str()); in GetHapFilesFromBundlePath()
242 APP_LOGE("GetHapFilesFromBundlePath open bundle dir:%{public}s failed due to %{public}s, errno:%{public}d", in GetHapFilesFromBundlePath()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp1314 * @tc.name: test GetHapFilesFromBundlePath, current path is empty or failed
1315 * @tc.desc: 1.test GetHapFilesFromBundlePath of BundleUtil
1322 bool res = bundleUtil.GetHapFilesFromBundlePath(currentPath, fileList); in HWTEST_F()
1325 res = bundleUtil.GetHapFilesFromBundlePath(currentPath, fileList); in HWTEST_F()
4979 * @tc.name: test GetHapFilesFromBundlePath, reach the max hap number 128, stop to add more
4980 * @tc.desc: 1.test GetHapFilesFromBundlePath of BundleUtil
4995 bool res = bundleUtil.GetHapFilesFromBundlePath(CURRENT_PATH, fileList); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp1401 bool res4 = BundleFileUtil::GetHapFilesFromBundlePath("", hapFileList); in HWTEST_F()
1402 bool res5 = BundleFileUtil::GetHapFilesFromBundlePath( in HWTEST_F()

Completed in 26 milliseconds