Home
last modified time | relevance | path

Searched refs:bundleTmpJsonPath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_util.cpp312 …char *bundleTmpJsonPath = Strscat(bundleTmpJsonPathComp, sizeof(bundleTmpJsonPathComp) / sizeof(ch… in DeleteJsonFile() local
313 if (bundleTmpJsonPath == nullptr) { in DeleteJsonFile()
317 if (IsFile(bundleTmpJsonPath)) { in DeleteJsonFile()
319 BundleDaemonClient::GetInstance().RemoveFile(bundleTmpJsonPath); in DeleteJsonFile()
321 (void)unlink(bundleTmpJsonPath); in DeleteJsonFile()
323 AdapterFree(bundleTmpJsonPath); in DeleteJsonFile()
326 AdapterFree(bundleTmpJsonPath); in DeleteJsonFile()
H A Dgt_bundle_installer.cpp467 char *bundleTmpJsonPath = BundleUtil::Strscat(bundleTmpJsonPathComp, in HandleFileAndBackUpRecord() local
469 if (bundleTmpJsonPath == nullptr) { in HandleFileAndBackUpRecord()
473 if (!BackUpInstallRecord(record, bundleTmpJsonPath)) { in HandleFileAndBackUpRecord()
474 unlink(bundleTmpJsonPath); in HandleFileAndBackUpRecord()
475 AdapterFree(bundleTmpJsonPath); in HandleFileAndBackUpRecord()
478 AdapterFree(bundleTmpJsonPath); in HandleFileAndBackUpRecord()
H A Dbundle_installer.cpp386 …std::string bundleTmpJsonPath = std::string(JSON_PATH) + record.bundleName + randStr + JSON_SUFFIX; in HandleFileAndBackUpRecord() local
387 if (!BackUpInstallRecord(record, bundleTmpJsonPath.c_str())) { in HandleFileAndBackUpRecord()