Home
last modified time | relevance | path

Searched refs:ZipFileLevel (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dhiview_zip_util.h25 enum class ZipFileLevel { enum
36 int32_t AddFileInZip(const std::string& srcFile, ZipFileLevel zipFileLevel);
39 std::string GetDstFilePath(const std::string& srcFile, ZipFileLevel zipFileLevel);
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dhiview_zip_util.cpp48 int32_t HiviewZipUnit::AddFileInZip(const std::string& srcFile, ZipFileLevel zipFileLevel) in AddFileInZip()
101 std::string HiviewZipUnit::GetDstFilePath(const std::string& srcFile, ZipFileLevel zipFileLevel) in GetDstFilePath()
103 if (zipFileLevel == ZipFileLevel::KEEP_NONE_PARENT_PATH) { in GetDstFilePath()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_database.cpp153 …if (int32_t ret = zipUnit.AddFileInZip(seqFilePath, ZipFileLevel::KEEP_NONE_PARENT_PATH); ret != 0… in Backup()
167 … if (int32_t ret = zipUnit.AddFileInZip(eventFile, ZipFileLevel::KEEP_ONE_PARENT_PATH); ret != 0) { in Backup()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dpanic_report_recovery.cpp198 if (hiviewZipUnit.AddFileInZip(path, ZipFileLevel::KEEP_NONE_PARENT_PATH) != 0) { in AddFileToZip()
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp593 ASSERT_EQ(zipUnit.AddFileInZip(testSourceFile1, ZipFileLevel::KEEP_NONE_PARENT_PATH), 0);
594 ASSERT_EQ(zipUnit.AddFileInZip(testSourceFile2, ZipFileLevel::KEEP_ONE_PARENT_PATH), 0);
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/
H A Dexport_json_file_writer.cpp214 if (int32_t ret = zipUnit.AddFileInZip(src, ZipFileLevel::KEEP_NONE_PARENT_PATH); ret != 0) { in ZipDbFile()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dlibhiviewbase.map423 …r, std::__h::char_traits<char>, std::__h::allocator<char>> const&, OHOS::HiviewDFX::ZipFileLevel)";