| /base/hiviewdfx/hiview/base/running_status_logger/ |
| D | running_status_logger.cpp | 74 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/ |
| D | log_store_unit_test.cpp | 35 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/ |
| D | data_share_test.cpp | 42 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/ |
| D | running_status_logger_test.cpp | 48 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/ |
| D | usage_event_cacher.cpp | 23 UsageEventCacher::UsageEventCacher(const std::string& workPath) : dbHelper_(nullptr) in UsageEventCacher() argument 25 dbHelper_ = std::make_unique<EventDbHelper>(workPath); in UsageEventCacher()
|
| D | event_db_helper.cpp | 57 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/ |
| D | adapter_utility_ohos_test.cpp | 39 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/ |
| D | utility_common_utils_test.cpp | 35 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/ |
| D | usage_event_cacher.h | 31 UsageEventCacher(const std::string& workPath);
|
| D | event_db_helper.h | 30 EventDbHelper(const std::string workPath);
|
| /base/hiviewdfx/hiview/core/ |
| D | event_json_parser.cpp | 350 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()
|
| D | hiview_platform.cpp | 762 …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/ |
| D | hks_storage.c | 710 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/ |
| D | sys_event_database.cpp | 78 … 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/ |
| D | hiview_platform.h | 183 void ValidateAndCreateDirectories(const std::string& localPath, const std::string& workPath,
|