Home
last modified time | relevance | path

Searched refs:PackageFile (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_file_package_test.cpp185 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA…
188 …errCode = PackageFile::UnpackFile(g_packageResultPath + PACKAGE_RESULT_FILE_NAME, g_unpackResultPa…
204 int errCode = PackageFile::PackageFiles(g_sourcePath + NON_EXIST_PATH,
219 int errCode = PackageFile::PackageFiles(g_sourcePath,
238 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA…
276 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA…
279 errCode = PackageFile::UnpackFile(g_packageResultPath + PACKAGE_RESULT_FILE_NAME,
294 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA…
305 …errCode = PackageFile::UnpackFile(g_packageResultPath + PACKAGE_RESULT_FILE_NAME, g_unpackResultPa…
319 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA…
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dpackage_file.h26 class PackageFile {
28 PackageFile() {} in PackageFile() function
29 ~PackageFile() {} in ~PackageFile()
H A Dpackage_file.cpp428 int PackageFile::PackageFiles(const string &sourcePath, const string &targetFile, in PackageFiles()
439 int PackageFile::GetPackageVersion(const std::string &sourceFile, uint32_t &version) in GetPackageVersion()
474 int PackageFile::ExePackage(const string &sourcePath, const string &targetFile, const FileInfo &fil… in ExePackage()
528 int PackageFile::UnpackFile(const string &sourceFile, const string &targetPath, FileInfo &fileInfo) in UnpackFile()
570 int PackageFile::CopyFilePermissionsIfNeed(bool targetExists, const std::string &sourcePath, in CopyFilePermissionsIfNeed()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Ddatabase_oper.cpp442 errCode = PackageFile::UnpackFile(srcFile, info.unpackedDir, fileInfo); in UnpackAndCheckImportedFile()
573 int errCode = PackageFile::PackageFiles(fileDir, packedFile, fileInfo); in PackExportedDatabase()