Home
last modified time | relevance | path

Searched refs:hashName (Results 1 - 10 of 10) sorted by relevance

/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_incremental_restore_async.cpp179 string fileName = item.hashName; in ReadyExtManage()
200 item.hashName = filePath; in ReadyExtManage()
201 if (item.hashName.front() == BConstants::FILE_SEPARATOR_CHAR) { in ReadyExtManage()
202 item.hashName = item.hashName.substr(1); in ReadyExtManage()
211 info.emplace(item.hashName, make_tuple(item.fileName, item.sta, item.isBigFile, item.isUserTar)); in ReadyExtManage()
302 printf("New FileName %s\n", item.hashName.data()); in RestoreApp()
303 restore->session_->GetFileHandle(bundleName, item.hashName); in RestoreApp()
H A Dtools_op_restore_async.cpp183 string fileName = item.hashName; in ReadyExtManage()
204 item.hashName = filePath; in ReadyExtManage()
205 if (item.hashName.front() == BConstants::FILE_SEPARATOR_CHAR) { in ReadyExtManage()
206 item.hashName = item.hashName.substr(1); in ReadyExtManage()
215 info.emplace(item.hashName, make_tuple(item.fileName, item.sta, item.isBigFile, item.isUserTar)); in ReadyExtManage()
285 printf("New FileName %s\n", item.hashName.data()); in RestoreApp()
286 restore->session_->GetFileHandle(bundleName, item.hashName); in RestoreApp()
/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Dext_extension_test.cpp210 info.hashName = TAR_FILE; in HWTEST_F()
265 string hashName = "test.txt"; in HWTEST_F() local
266 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath); in HWTEST_F()
291 string hashName = "test.txt"; in HWTEST_F() local
292 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath); in HWTEST_F()
317 string hashName = "test.txt"; in HWTEST_F() local
318 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath); in HWTEST_F()
/foundation/filemanagement/app_file_service/utils/include/b_json/
H A Db_json_entity_ext_manage.h29 string hashName {""};
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_extension.cpp593 [&tarFile](const auto &item) { return item.hashName == tarFile; }); in IsUserTar()
971 endFileInfos_[item.hashName] = item.sta.st_size; in RestoreBigFilesForSpecialCloneCloud()
974 string fileName = item.hashName; in RestoreBigFilesForSpecialCloneCloud()
1007 string tarName = item.hashName; in RestoreTarForSpecialCloneCloud()
1016 HILOGI("Start to untar file = %{public}s, untarPath = %{public}s", GetAnonyPath(item.hashName).c_str(), in RestoreTarForSpecialCloneCloud()
1056 if (item.hashName.empty()) { in RestoreFilesForSpecialCloneCloud()
1071 errFileInfos_[item.hashName].push_back(ret); in RestoreFilesForSpecialCloneCloud()
1072 endFileInfos_[item.hashName] = item.sta.st_size; in RestoreFilesForSpecialCloneCloud()
1075 HILOGE("Failed to restore tar file %{public}s", item.hashName.c_str()); in RestoreFilesForSpecialCloneCloud()
1091 static bool RestoreBigFilePrecheck(string &fileName, const string &path, const string &hashName, cons argument
[all...]
H A Dsub_ext_extension.cpp126 std::string realPath = restoreDir + extManageInfo[i].hashName; in GetIdxFileInfos()
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_ext_manage_test.cpp101 if (rh.find(item.hashName) != rh.end()) { in IsEqual()
102 auto [fileName, sta, isBeforeTar] = rh.at(item.hashName); in IsEqual()
206 EXPECT_EQ(fileInfo[0].hashName, testFileHexName); in HWTEST_F()
652 EXPECT_EQ(fileInfo[0].hashName, testFileHexName); in HWTEST_F()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp261 std::string hashName(buf); in ReHashCAPathForX509()
262 AddSurfixToCACertFileName(rehashedCertpath, allFiles, hashName); in ReHashCAPathForX509()
264 std::string rehashedCaFile = rehashedCertpath + OS_PATH_SEPARATOR + hashName; in ReHashCAPathForX509()
/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_restore_async_test.cpp851 info.hashName = "hashName"; in HWTEST_F()
882 info.hashName = ""; in HWTEST_F()
913 info.hashName = "hashName"; in HWTEST_F()
/foundation/filemanagement/app_file_service/utils/src/b_json/
H A Db_json_entity_ext_manage.cpp229 .hashName = fileName, .fileName = path, .sta = sta, .isUserTar = isUserTar, .isBigFile = isBigFile}; in GetExtManageInfo()

Completed in 11 milliseconds