Home
last modified time | relevance | path

Searched refs:tmpJsonPath (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_installer.cpp821 …char *tmpJsonPath = BundleUtil::Strscat(tmpJsonPathComp, sizeof(tmpJsonPathComp) / sizeof(char *)); in RenameJsonFile() local
822 if (tmpJsonPath == nullptr) { in RenameJsonFile()
826 if (!BundleUtil::IsFile(tmpJsonPath)) { in RenameJsonFile()
827 AdapterFree(tmpJsonPath); in RenameJsonFile()
836 AdapterFree(tmpJsonPath); in RenameJsonFile()
840 if (!BundleUtil::RenameFile(tmpJsonPath, jsonPath)) { in RenameJsonFile()
842 AdapterFree(tmpJsonPath); in RenameJsonFile()
847 AdapterFree(tmpJsonPath); in RenameJsonFile()
H A Dbundle_installer.cpp735 std::string tmpJsonPath = std::string(JSON_PATH) + fileName + randStr + JSON_SUFFIX; in RenameJsonFile() local
737 …if (BundleDaemonClient::GetInstance().RenameFile(tmpJsonPath.c_str(), jsonPath.c_str()) != EC_SUCC… in RenameJsonFile()