Home
last modified time | relevance | path

Searched refs:workPath (Results 1 – 15 of 15) sorted by relevance

/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp74 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetLogDir() local
76 if (workPath.back() != '/') { in GetLogDir()
77 workPath = workPath + "/"; in GetLogDir()
79 std::string logDestDir = workPath + "sys_event/"; in GetLogDir()
84 logDestDir = workPath; in GetLogDir()
86 logDestDir.c_str(), workPath.c_str()); in GetLogDir()
/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
Dlog_store_unit_test.cpp35 std::string workPath = std::string(LOG_FILE_PATH); in GetLogDir() local
36 if (workPath.back() != '/') { in GetLogDir()
37 workPath = workPath + "/"; in GetLogDir()
39 std::string logDestDir = workPath; in GetLogDir()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Ddata_share_test.cpp42 std::string workPath = std::string(TEST_FILE_PATH); in GetTestDir() local
43 if (workPath.back() != '/') { in GetTestDir()
44 workPath = workPath + "/"; in GetTestDir()
46 workPath.append(testCaseName); in GetTestDir()
47 workPath.append("/"); in GetTestDir()
48 std::string testDir = workPath; in GetTestDir()
/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/
Drunning_status_logger_test.cpp48 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetLogDir() local
50 if (workPath.back() != '/') { in GetLogDir()
51 workPath = workPath + "/"; in GetLogDir()
53 std::string logDestDir = workPath + "sys_event/"; in GetLogDir()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Dusage_event_cacher.cpp23 UsageEventCacher::UsageEventCacher(const std::string& workPath) : dbHelper_(nullptr) in UsageEventCacher() argument
25 dbHelper_ = std::make_unique<EventDbHelper>(workPath); in UsageEventCacher()
Devent_db_helper.cpp57 EventDbHelper::EventDbHelper(const std::string workPath) : dbPath_(workPath), rdbStore_(nullptr) in EventDbHelper() argument
67 std::string workPath = dbPath_; in InitDbStore() local
68 if (workPath.back() != '/') { in InitDbStore()
76 dbPath_ = workPath; in InitDbStore()
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
Dadapter_utility_ohos_test.cpp39 std::string workPath = std::string(LOG_FILE_PATH); in GetLogDir() local
40 if (workPath.back() != '/') { in GetLogDir()
41 workPath = workPath + "/"; in GetLogDir()
43 workPath.append(testCaseName); in GetLogDir()
44 workPath.append("/"); in GetLogDir()
45 std::string logDestDir = workPath; in GetLogDir()
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
Dutility_common_utils_test.cpp35 std::string workPath = std::string(LOG_FILE_PATH); in GetLogDir() local
36 if (workPath.back() != '/') { in GetLogDir()
37 workPath = workPath + "/"; in GetLogDir()
39 workPath.append(testCaseName); in GetLogDir()
40 workPath.append("/"); in GetLogDir()
41 std::string logDestDir = workPath; in GetLogDir()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
Dusage_event_cacher.h31 UsageEventCacher(const std::string& workPath);
Devent_db_helper.h30 EventDbHelper(const std::string workPath);
/base/hiviewdfx/hiview/core/
Devent_json_parser.cpp350 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetSequenceFile() local
352 if (workPath.back() != '/') { in GetSequenceFile()
353 workPath = workPath + "/"; in GetSequenceFile()
355 return workPath + "sys_event_db/" + SEQ_PERSISTS_FILE_NAME; in GetSequenceFile()
Dhiview_platform.cpp762 …ewPlatform::ValidateAndCreateDirectories(const std::string& localPath, const std::string& workPath, in ValidateAndCreateDirectories() argument
766 ValidateAndCreateDirectory(defaultWorkDir_, workPath); in ValidateAndCreateDirectories()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c710 char workPath[HKS_MAX_DIRENT_FILE_LEN] = ""; in MakeUserAndProcessNamePath() local
729 ret = MakeSubPath(mainRootPath, userProcess, workPath, HKS_MAX_DIRENT_FILE_LEN); in MakeUserAndProcessNamePath()
732 ret = MakeDirIfNotExist(workPath); in MakeUserAndProcessNamePath()
743 ret = MakeSubPath(mainRootPath, userProcess, workPath, HKS_MAX_DIRENT_FILE_LEN); in MakeUserAndProcessNamePath()
746 HKS_IF_NOT_SUCC_RETURN(MakeDirIfNotExist(workPath), HKS_ERROR_NO_PERMISSION) in MakeUserAndProcessNamePath()
752 const char *storageName, struct HksStoreFileInfo *fileInfo, char *userProcess, char *workPath) in GetStoreBakPath() argument
762 (void)memset_s(workPath, HKS_MAX_DIRENT_FILE_LEN, 0, HKS_MAX_DIRENT_FILE_LEN); in GetStoreBakPath()
773 ret = MakeSubPath(bakRootPath, userProcess, workPath, HKS_MAX_DIRENT_FILE_LEN); in GetStoreBakPath()
776 ret = MakeDirIfNotExist(workPath); in GetStoreBakPath()
794 char workPath[HKS_MAX_DIRENT_FILE_LEN] = ""; in GetStorePath() local
[all …]
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_database.cpp78 … std::string workPath = context->GetHiViewDirectory(HiviewContext::DirectoryType::WORK_DIRECTORY); in GetDatabaseDir() local
79 dir = FileUtil::IncludeTrailingPathDelimiter(workPath) + "sys_event_db" + FILE_DELIMIT_STR; in GetDatabaseDir()
84 dir = workPath; in GetDatabaseDir()
/base/hiviewdfx/hiview/core/include/
Dhiview_platform.h183 void ValidateAndCreateDirectories(const std::string& localPath, const std::string& workPath,