/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/ |
H A D | ext_extension_test.cpp | 210 info.hashName = TAR_FILE; 265 string hashName = "test.txt"; variable 266 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath); 291 string hashName = "test.txt"; variable 292 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath); 317 string hashName = "test.txt"; variable 318 bool ret = RestoreBigFilePrecheck(fileName, path, hashName, filePath);
|
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op_restore_async.cpp | 183 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()
|
H A D | tools_op_incremental_restore_async.cpp | 179 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()
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_extension.cpp | 610 [&tarFile](const auto &item) { return item.hashName == tarFile; }); in IsUserTar() 987 endFileInfos_[item.hashName] = item.sta.st_size; in RestoreBigFilesForSpecialCloneCloud() 990 string fileName = item.hashName; in RestoreBigFilesForSpecialCloneCloud() 1017 string tarName = item.hashName; in RestoreTarForSpecialCloneCloud() 1070 if (item.hashName.empty()) { in RestoreFilesForSpecialCloneCloud() 1085 errFileInfos_[item.hashName].push_back(ret); in RestoreFilesForSpecialCloneCloud() 1086 endFileInfos_[item.hashName] = item.sta.st_size; in RestoreFilesForSpecialCloneCloud() 1150 string itemHashName = item.hashName; in RestoreOneBigFile() 1153 string reportPath = GetReportFileName(path + item.hashName); in RestoreOneBigFile() 1157 errFileInfos_[item.hashName].push_back(errno); in RestoreOneBigFile() [all …]
|
H A D | sub_ext_extension.cpp | 126 std::string realPath = restoreDir + extManageInfo[i].hashName; in GetIdxFileInfos()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/ |
H A D | b_json_entity_ext_manage.h | 29 string hashName {""};
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_ext_manage_test.cpp | 101 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); 652 EXPECT_EQ(fileInfo[0].hashName, testFileHexName);
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | network_security_config.cpp | 261 std::string hashName(buf); in ReHashCAPathForX509() local 262 AddSurfixToCACertFileName(rehashedCertpath, allFiles, hashName); in ReHashCAPathForX509() 264 std::string rehashedCaFile = rehashedCertpath + OS_PATH_SEPARATOR + hashName; in ReHashCAPathForX509()
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/ |
H A D | tools_op_restore_async_test.cpp | 851 info.hashName = "hashName"; 882 info.hashName = ""; 913 info.hashName = "hashName";
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_entity_ext_manage.cpp | 229 ….hashName = fileName, .fileName = path, .sta = sta, .isUserTar = isUserTar, .isBigFile = isBigFile… in GetExtManageInfo()
|