Home
last modified time | relevance | path

Searched refs:FileExists (Results 1 – 25 of 58) sorted by relevance

123

/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/
Dsmart_parser_module_test.cpp64 ASSERT_EQ(FileUtil::FileExists(faultFile), true);
65 ASSERT_EQ(FileUtil::FileExists(trustStack), true);
104 ASSERT_EQ(FileUtil::FileExists(faultFile), true);
105 ASSERT_EQ(FileUtil::FileExists(trustStack), true);
144 ASSERT_EQ(FileUtil::FileExists(faultFile), true);
145 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
188 ASSERT_EQ(FileUtil::FileExists(faultFile), true);
189 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
223 ASSERT_EQ(FileUtil::FileExists(faultFile), true);
224 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
[all …]
/base/hiviewdfx/hiview/core/param_update/src/
Dlog_sign_tools.cpp34 if (!FileUtil::FileExists(pubKeyPath)) { in VerifyFileSign()
39 if (!FileUtil::FileExists(signPath)) { in VerifyFileSign()
44 if (!FileUtil::FileExists(digestPath)) { in VerifyFileSign()
/base/hiviewdfx/hiview/framework/native/unified_collection/calculator/
Dio_calculator.cpp34 if (FileUtil::FileExists(filePath)) { in GetEMMCSize()
39 if (FileUtil::FileExists(filePath)) { in GetEMMCSize()
/base/hiviewdfx/hiview/base/event_publish/
Devent_publish.cpp96 if (!FileUtil::FileExists(desPath)) { in SendEventToSandBox()
121 if (!FileUtil::FileExists(PATH_DIR) && !FileUtil::ForceCreateDirectory(PATH_DIR)) { in PushEvent()
127 if (!FileUtil::FileExists(desPath)) { in PushEvent()
/base/powermgr/battery_manager/charger/src/
Dbattery_vibrate.cpp42 if (FileExists(VIBRATOR_PLAYMODE_PATH)) { in InitVibration()
48 if (FileExists(VIBRATOR_DURATIONMODE_PATH)) { in InitVibration()
/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/
Devent_server_test.cpp49 if (!FileUtil::FileExists("/dev/bbox")) {
/base/hiviewdfx/hiview/base/utility/
Dfreeze_json_util.cpp56 if (!FileUtil::FileExists(LOGGER_FREEZEJSON_LOG_PATH)) { in GetFd()
67 if (!FileUtil::FileExists(filePath)) { in DelFile()
146 if (!FileUtil::FileExists(filePath)) { in LoadCollectorFromFile()
Dfile_util.cpp80 bool FileExists(const std::string& fileName) in FileExists() function
82 return OHOS::FileExists(fileName); in FileExists()
269 if (FileExists(path)) { in CreateFile()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dlog_util.cpp112 !FileUtil::FileExists(realFileName)) { in GetFileFd()
121 return FileUtil::FileExists(file); in FileExist()
/base/hiviewdfx/hiview/adapter/service/idl/test/unittest/common/
Dadapter_loglibrary_test_tools.cpp30 if (!FileUtil::FileExists(dir)) { in CreateDir()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
Dtrace_utils.cpp235 if (!FileUtil::FileExists(tmpDirPath)) { in CheckAndCreateDirectory()
296 if (!FileUtil::FileExists(UNIFIED_SPECIAL_PATH)) { in CopyToSpecialPath()
322 if (!FileUtil::FileExists(UNIFIED_SHARE_PATH)) { in GetUnifiedShareFiles()
365 if (!FileUtil::FileExists(UNIFIED_SPECIAL_PATH)) { in GetUnifiedSpecialFiles()
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_test.cpp231 if (!FileUtil::FileExists(logPath)) {
282 if (!FileUtil::FileExists(logPath)) {
323 if (!FileUtil::FileExists(logPath)) {
362 if (!FileUtil::FileExists(logPath)) {
/base/update/updater/test/unittest/updater_ui_test/lang/
Dui_language_unittest.cpp147 EXPECT_EQ(OHOS::FileExists(KEY_EMPTY_JSON), true) << KEY_EMPTY_JSON << " not exist";
159 EXPECT_EQ(OHOS::FileExists(STR_NO_EXIST_JSON), true) << STR_NO_EXIST_JSON << " not exist";
171 EXPECT_EQ(OHOS::FileExists(ALL_CORRECT_JSON), true) << ALL_CORRECT_JSON << " not exist";
180 EXPECT_EQ(OHOS::FileExists(filePath), true) << filePath << " not exist";
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_doc.cpp98 if (curFile_.empty() || !FileUtil::FileExists(curFile_)) { in InitReader()
167 …if (FileUtil::CreateFile(filePath, FileUtil::FILE_PERM_660) != 0 && !FileUtil::FileExists(filePath… in CreateCurFile()
/base/hiviewdfx/hiview/plugins/faultlogger/common/
Dlog_analyzer.cpp36 !FileUtil::FileExists(info.logPath) && !info.summary.empty()) { in AnalysisFaultlog()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/
Dfaultlogger_client_test.cpp65 return FileUtil::FileExists(path); in CheckLogFileExist()
/base/account/os_account/services/accountmgr/src/
Daccount_helper_data.cpp38 if (!FileExists(ACCOUNTMGR_HELPER_JSON_FILE)) { in ParseJsonData()
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
Dperf_collector_test.cpp79 ASSERT_EQ(FileUtil::FileExists(filepath), true);
/base/hiviewdfx/hiview/core/platform_config/
Dhiview_platform_config.cpp60 if (!FileUtil::FileExists(configPath_) || FileUtil::IsDirectory(configPath_)) { in ParsesConfig()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_store.cpp87 if (!FileUtil::FileExists(dirPath_) && !FileUtil::ForceCreateDirectory(dirPath_)) { in CreateDbStore()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Ddmesg_catcher.cpp105 if (FileUtil::FileExists(fullPath)) { in DmesgSaveTofile()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dvendor.cpp142 if (!FileUtil::FileExists(filePath)) { in MergeFreezeJsonFile()
223 if (FileUtil::FileExists(filePath) == false) { in InitLogBody()
259 if (FileUtil::FileExists(retPath)) { in MergeEventLog()
/base/hiviewdfx/hiview/base/test/unittest/common/
Ddispatch_config_test.cpp81 if (!FileUtil::FileExists(TEST_FILE_DIR)) { in SetUp()
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_ability.cpp226 if (!FileUtil::FileExists(sourceFile)) { in CopyOrMoveFile()
251 if (!FileUtil::FileExists(sourceFile)) { in Remove()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_unittest.cpp210 ASSERT_EQ(FileUtil::FileExists(fileName), true);
216 ASSERT_EQ(FileUtil::FileExists(appeventInfofileName), true);
640 ASSERT_TRUE(FileUtil::FileExists(fileName));
667 ASSERT_FALSE(FileUtil::FileExists(fileName));
702 ASSERT_TRUE(FileUtil::FileExists(fileName));

123