Home
last modified time | relevance | path

Searched refs:workPath (Results 1 - 25 of 30) sorted by relevance

12

/base/hiviewdfx/hiview/base/running_status_logger/
H A 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/adapter/plugins/eventservice/service/test/unittest/common/
H A 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/logstore/test/unittest/common/
H A 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/base/running_status_logger/test/unittest/common/
H A 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/
H A Dusage_event_cacher.cpp23 UsageEventCacher::UsageEventCacher(const std::string& workPath) : dbHelper_(nullptr) in UsageEventCacher() argument
25 dbHelper_ = std::make_unique<EventDbHelper>(workPath); in UsageEventCacher()
H A Devent_db_helper.cpp50 EventDbHelper::EventDbHelper(const std::string workPath) : dbPath_(workPath), rdbStore_(nullptr) in EventDbHelper() argument
60 std::string workPath = dbPath_; in InitDbStore() local
61 if (workPath.back() != '/') { in InitDbStore()
69 dbPath_ = workPath; in InitDbStore()
H A Dfold_app_usage_event_factory.cpp39 FoldAppUsageEventFactory::FoldAppUsageEventFactory(const std::string& workPath) in FoldAppUsageEventFactory() argument
41 dbHelper_ = std::make_unique<FoldAppUsageDbHelper>(workPath); in FoldAppUsageEventFactory()
H A Dfold_app_usage_db_helper.cpp128 FoldAppUsageDbHelper::FoldAppUsageDbHelper(const std::string& workPath) in FoldAppUsageDbHelper() argument
130 dbPath_ = workPath; in FoldAppUsageDbHelper()
131 if (workPath.back() != '/') { in FoldAppUsageDbHelper()
132 dbPath_ = workPath + "/"; in FoldAppUsageDbHelper()
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_collection_task.cpp36 CpuCollectionTask::CpuCollectionTask(const std::string& workPath) : workPath_(workPath) in CpuCollectionTask() argument
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
H A 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/unified_collector/task/include/
H A Dcpu_collection_task.h29 CpuCollectionTask(const std::string& workPath);
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dusage_event_cacher.h31 UsageEventCacher(const std::string& workPath);
H A Dfold_app_usage_event_factory.h29 FoldAppUsageEventFactory(const std::string& workPath);
H A Dfold_event_cacher.h31 FoldEventCacher(const std::string& workPath);
H A Dfold_app_usage_db_helper.h65 FoldAppUsageDbHelper(const std::string& workPath);
H A Devent_db_helper.h31 EventDbHelper(const std::string workPath);
/base/hiviewdfx/hiview/plugins/unified_collector/storage/include/
H A Dcpu_storage.h36 CpuStorage(const std::string& workPath);
/base/hiviewdfx/hiview/plugins/usage_event_report/include/
H A Dusage_event_report.h56 void InitFoldEventCacher(const std::string& workPath);
/base/hiviewdfx/hiview/plugins/usage_event_report/
H A Dusage_event_report.cpp141 void UsageEventReport::InitFoldEventCacher(const std::string& workPath) in InitFoldEventCacher() argument
147 foldEventCacher_ = std::make_unique<FoldEventCacher>(workPath); in InitFoldEventCacher()
148 foldAppUsageFactory_ = std::make_unique<FoldAppUsageEventFactory>(workPath); in InitFoldEventCacher()
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dadapter_utility_ohos_test.cpp62 std::string workPath = std::string(LOG_FILE_PATH); in GetLogDir() local
63 if (workPath.back() != '/') { in GetLogDir()
64 workPath = workPath + "/"; in GetLogDir()
66 workPath.append(testCaseName); in GetLogDir()
67 workPath.append("/"); in GetLogDir()
68 std::string logDestDir = workPath; in GetLogDir()
/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/include/
H A Ddaily_db_helper.h33 DailyDbHelper(const std::string& workPath);
/base/hiviewdfx/hiview/plugins/sysevent_source/control/include/
H A Ddaily_controller.h26 DailyController(const std::string& workPath, const std::string& configPath);
/base/hiviewdfx/hiview/plugins/sysevent_source/control/
H A Ddaily_controller.cpp29 DailyController::DailyController(const std::string& workPath, const std::string& configPath) in DailyController() argument
31 dbHelper_ = std::make_unique<DailyDbHelper>(workPath); in DailyController()
/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/
H A Ddaily_db_helper.cpp73 DailyDbHelper::DailyDbHelper(const std::string& workPath) : workPath_(workPath), dbStore_(nullptr) in DailyDbHelper() argument
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_database.cpp103 std::string workPath = context->GetHiViewDirectory(HiviewContext::DirectoryType::WORK_DIRECTORY); in GetDatabaseDir() local
104 dir = FileUtil::IncludeTrailingPathDelimiter(workPath) + "sys_event_db" + FILE_DELIMIT_STR; in GetDatabaseDir()
109 dir = workPath; in GetDatabaseDir()

Completed in 11 milliseconds

12