Home
last modified time | relevance | path

Searched refs:appCodePath (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_exception_handler.cpp36 …std::string appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + info.Get… in HandleInvalidBundle() local
38 RemoveBundleAndDataDir(appCodePath, info.GetBundleName(), info.GetUserId()); in HandleInvalidBundle()
115 …std::string appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + info.Get… in InnerHandleInvalidBundle() local
116 auto moduleDir = appCodePath + ServiceConstants::PATH_SEPARATOR + mark.packageName; in InnerHandleInvalidBundle()
122 (void)RemoveBundleAndDataDir(appCodePath, info.GetBundleName(), info.GetUserId()); in InnerHandleInvalidBundle()
133 …RemoveBundleAndDataDir(appCodePath, info.GetBundleName(), info.GetUserId())) { // continue to uni… in InnerHandleInvalidBundle()
138 RemoveBundleAndDataDir(appCodePath, info.GetBundleName(), info.GetUserId())) { in InnerHandleInvalidBundle()
H A Dbundle_mgr_service_event_handler.cpp545 … auto appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName; in ScanInstallDir() local
546 if (!ScanDir(appCodePath, ScanMode::SUB_FILE_FILE, ResultMode::ABSOLUTE_PATH, hapPaths)) { in ScanInstallDir()
547 LOG_E(BMS_TAG_DEFAULT, "Scan the appCodePath(%{public}s) failed", appCodePath.c_str()); in ScanInstallDir()
552 … LOG_D(BMS_TAG_DEFAULT, "The directory(%{public}s) scan result is empty", appCodePath.c_str()); in ScanInstallDir()
786 auto appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName; in SaveInstallInfoToCache() local
787 info.SetAppCodePath(appCodePath); in SaveInstallInfoToCache()
H A Dbase_bundle_installer.cpp2771 auto appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName_; in CreateBundleCodeDir() local
2772 LOG_D(BMS_TAG_INSTALLER, "create bundle dir %{public}s", appCodePath.c_str()); in CreateBundleCodeDir()
2773 ErrCode result = InstalldClient::GetInstance()->CreateBundleDir(appCodePath); in CreateBundleCodeDir()
2779 info.SetAppCodePath(appCodePath); in CreateBundleCodeDir()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp195 … auto appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName; in ScanInstallDir() local
196 if (!ScanDir(appCodePath, ScanMode::SUB_FILE_FILE, ResultMode::ABSOLUTE_PATH, hapPaths)) { in ScanInstallDir()
317 auto appCodePath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName; in SaveInstallInfoToCache() local
318 info.SetAppCodePath(appCodePath); in SaveInstallInfoToCache()