Home
last modified time | relevance | path

Searched refs:logPath (Results 1 - 6 of 6) sorted by relevance

/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/
H A Dhi_audit.cpp40 const std::string HIAUDIT_LOG_NAME = HIAUDIT_CONFIG.logPath + HIAUDIT_CONFIG.logName + "_audit.csv";
41 const std::string HIAUDIT_LOG_NAME_EXT = HIAUDIT_CONFIG_EXT.logPath + HIAUDIT_CONFIG_EXT.logName + "_audit.csv";
75 std::string logFilePath = hiAuditConfig_.logPath + hiAuditConfig_.logName + "_audit.csv"; in Init()
144 std::string logFilePath = hiAuditConfig_.logPath + hiAuditConfig_.logName + "_audit.csv"; in GetWriteFilePath()
161 DIR *dir = opendir(hiAuditConfig_.logPath.c_str()); in CleanOldAuditFile()
172 oldestAuditFile = hiAuditConfig_.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
176 stat((hiAuditConfig_.logPath + std::string(ptr->d_name)).c_str(), &st); in CleanOldAuditFile()
180 oldestAuditFile = HIAUDIT_CONFIG.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
207 std::string zipFileName = hiAuditConfig_.logPath + hiAuditConfig_.logName + "_audit_" + in ZipAuditLog()
209 std::string logFilePath = hiAuditConfig_.logPath in ZipAuditLog()
[all...]
/foundation/arkui/ui_lite/test/autotest/src/
H A Dauto_test_manager.cpp45 const char logPath[] = ".\\auto_test_log.txt"; in SetUpTestCase() local
46 CompareTools::SetLogPath(logPath, sizeof(logPath)); in SetUpTestCase()
48 const char logPath[] = "./auto_test_log.txt"; in SetUpTestCase() local
49 CompareTools::SetLogPath(logPath, sizeof(logPath)); in SetUpTestCase()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dhi_audit.cpp32 std::string logPath; member
44 const std::string HIAUDIT_LOG_NAME = HIAUDIT_CONFIG.logPath + HIAUDIT_CONFIG.logName + "_audit.csv";
66 if (access(HIAUDIT_CONFIG.logPath.c_str(), F_OK) != 0) { in Init()
67 int32_t ret = mkdir(HIAUDIT_CONFIG.logPath.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in Init()
69 LOGE("Failed to create directory %{public}s.", HIAUDIT_CONFIG.logPath.c_str()); in Init()
153 DIR* dir = opendir(HIAUDIT_CONFIG.logPath.c_str()); in CleanOldAuditFile()
167 oldestAuditFile = HIAUDIT_CONFIG.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
171 stat((HIAUDIT_CONFIG.logPath + std::string(ptr->d_name)).c_str(), &st); in CleanOldAuditFile()
175 oldestAuditFile = HIAUDIT_CONFIG.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
198 std::string zipFileName = HIAUDIT_CONFIG.logPath in ZipAuditLog()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dhi_audit.cpp32 std::string logPath; member
43 const std::string HIAUDIT_LOG_NAME = HIAUDIT_CONFIG.logPath + HIAUDIT_CONFIG.logName + "_audit.csv";
65 if (access(HIAUDIT_CONFIG.logPath.c_str(), F_OK) != 0) { in Init()
66 int ret = mkdir(HIAUDIT_CONFIG.logPath.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in Init()
68 MEDIA_ERR_LOG("Failed to create directory %{public}s.", HIAUDIT_CONFIG.logPath.c_str()); in Init()
151 DIR* dir = opendir(HIAUDIT_CONFIG.logPath.c_str()); in CleanOldAuditFile()
161 oldestAuditFile = HIAUDIT_CONFIG.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
165 stat((HIAUDIT_CONFIG.logPath + std::string(ptr->d_name)).c_str(), &st); in CleanOldAuditFile()
169 oldestAuditFile = HIAUDIT_CONFIG.logPath + std::string(ptr->d_name); in CleanOldAuditFile()
192 std::string zipFileName = HIAUDIT_CONFIG.logPath in ZipAuditLog()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/log_storage_test/src/
H A Dhi_audit_test.cpp30 std::string logPath; member
38 const std::string HIAUDIT_LOG_NAME = HIAUDIT_CONFIG.logPath + HIAUDIT_CONFIG.logName + "_audit.csv";
47 if (access(HIAUDIT_CONFIG.logPath.c_str(), F_OK) == 0) { in SetUp()
48 std::string command = "rm -rf " + HIAUDIT_CONFIG.logPath; in SetUp()
59 ASSERT_EQ(mkdir(HIAUDIT_CONFIG.logPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH), 0); in HWTEST_F()
/foundation/filemanagement/app_file_service/utils/include/b_hiaudit/
H A Dhi_audit.h29 std::string logPath; member

Completed in 3 milliseconds