Home
last modified time | relevance | path

Searched refs:BACKUP_TOOL_RECEIVE_DIR (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_restore_test.cpp73 … string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME;
77 …string touchTar = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME + FI…
79 …string touchManage = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME +…
702 string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data();
727 string path = string(BConstants::BACKUP_TOOL_RECEIVE_DIR.data()) + "/tmp";
931 … string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME;
958 … string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME;
H A Dtools_op_backup_test.cpp339 string cmdusermod = string("usermod -u 1000") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data();
345 rmdir((BConstants::BACKUP_TOOL_RECEIVE_DIR).data());
H A Dtools_op_incremental_restore_test.cpp67 … string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME;
71 …string touchTar = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME + FI…
73 …string touchManage = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME +…
H A Dtools_op_restore_async_test.cpp76 … string cmdMkdir = string("mkdir -p ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME;
80 …string touchTar = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME + FI…
82 …string touchManage = string("touch ") + BConstants::BACKUP_TOOL_RECEIVE_DIR.data() + BUNDLE_NAME +…
H A Dtools_op_test.cpp169 std::string wholePath = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + bundleName;
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_backup.cpp131 string tmpPath = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + fileInfo.owner; in OnFileReady()
233 if (access((BConstants::BACKUP_TOOL_RECEIVE_DIR).data(), F_OK) != 0 && in InitPathCapFile()
234 mkdir((BConstants::BACKUP_TOOL_RECEIVE_DIR).data(), S_IRWXU) != 0) { in InitPathCapFile()
H A Dtools_op.cpp92 path = string(isWholeRestore? BConstants::BACKUP_TOOL_RECEIVE_DIR : in GetFIleNums()
H A Dtools_op_restore.cpp126 …string tmpPath = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + fileInfo.owner + "/" + fileInfo.fil… in OnFileReady()
215 string path = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + bundleName; in RestoreApp()
H A Dtools_op_restore_async.cpp110 …string tmpPath = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + fileInfo.owner + "/" + formatFileNa… in OnFileReady()
257 string path = string(BConstants::BACKUP_TOOL_RECEIVE_DIR) + bundleName; in RestoreApp()
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_resources/
H A Db_constants.h124 static inline std::string_view BACKUP_TOOL_RECEIVE_DIR = "/data/backup/received/"; variable