/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_backup.cpp | 44 if (FileUtil::FileExists(backupTmpFile_) && !FileUtil::RemoveFile(backupTmpFile_)) { in Backup() 51 FileUtil::RemoveFile(backupTmpFile_); in Backup() 57 FileUtil::RemoveFile(backupBakFile_); in Backup() 60 FileUtil::RemoveFile(backupTmpFile_); in Backup() 67 FileUtil::RemoveFile(backupTmpFile_); in Backup() 73 FileUtil::RemoveFile(backupBakFile_); in Backup() 112 FileUtil::RemoveFile(backupTmpFile_); in CheckBackupFile() 113 FileUtil::RemoveFile(backupBakFile_); in CheckBackupFile()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fbex_test/ |
H A D | fbex_test.cpp | 87 OHOS::RemoveFile(FBEX_UECE_PATH); 104 EXPECT_TRUE(OHOS::RemoveFile(FBEX_UECE_PATH)); 132 EXPECT_TRUE(OHOS::RemoveFile(FBEX_CMD_PATH)); 158 EXPECT_TRUE(OHOS::RemoveFile(FBEX_CMD_PATH)); 182 EXPECT_TRUE(OHOS::RemoveFile(FBEX_UECE_PATH)); 215 EXPECT_TRUE(OHOS::RemoveFile(FBEX_UECE_PATH)); 237 EXPECT_TRUE(OHOS::RemoveFile(FBEX_UECE_PATH)); 267 EXPECT_TRUE(OHOS::RemoveFile(FBEX_UECE_PATH)); 334 EXPECT_TRUE(OHOS::RemoveFile(FBEX_CMD_PATH)); 451 EXPECT_TRUE(OHOS::RemoveFile(FBEX_CMD_PATH)); [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 58 if (!BundleFileUtils::RemoveFile(codePath)) { in ExtractHap() 158 bool result = IsValideCodePath(codePath) && BundleFileUtils::RemoveFile(codePath); in RemoveInstallDirectory() 160 result = IsValideDataPath(dataPath) && BundleFileUtils::RemoveFile(dataPath) && result; in RemoveInstallDirectory() 186 BundleFileUtils::RemoveFile(filePath); in StoreContentToFile() 235 BundleFileUtils::RemoveFile(static_cast<char *>(realOldPath)); in MoveFile() 240 int32_t BundleDaemonHandler::RemoveFile(const char *filePath) in RemoveFile() function in OHOS::BundleDaemonHandler 252 if (!BundleFileUtils::RemoveFile(realFilePath)) { in RemoveFile()
|
H A D | bundle_file_utils.cpp | 107 bool BundleFileUtils::RemoveFile(const char *path) in RemoveFile() function in OHOS::BundleFileUtils 123 if (dirName.length() >= PATH_MAX || !RemoveFile(dirName.c_str())) { in RemoveFile() 140 if (!RemoveFile(newFile)) { in RenameFile()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/backup/src/ |
H A D | backup_manager.cpp | 179 RemoveFile(tmpPath.c_str()); in SaveData() 183 RemoveFile(backupPath.c_str()); in SaveData() 191 RemoveFile(tmpPath.c_str()); in RollBackData() 192 RemoveFile(backupPath.c_str()); in RollBackData() 199 RemoveFile(tmpPath.c_str()); in CleanData() 200 RemoveFile(backupPath.c_str()); in CleanData() 318 bool BackupManager::RemoveFile(const std::string &path) in RemoveFile() function in OHOS::DistributedData::BackupManager
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
H A D | database_oper.cpp | 146 if (RemoveFile(endCtrlFileName) != E_OK) { in RekeyRecover() 274 …OS::RemoveFile(filePath); // Pack file failed, need rollback delete Intermediate state package file in ExecuteExport() 288 OS::RemoveFile(filePath); in ExecuteExport() 328 if (RemoveFile(fileName) != E_OK) { // LCOV_EXCL_BR_LINE in RecoverPrehandle() 363 int DatabaseOper::RemoveFile(const std::string &fileName) in RemoveFile() function in DistributedDB::DatabaseOper 369 if (OS::RemoveFile(fileName) != E_OK) { in RemoveFile() 394 if (RemoveFile(dbFile) != E_OK) { // LCOV_EXCL_BR_LINE in RemoveDbFiles() 400 if (RemoveFile(dbFile) != E_OK) { // LCOV_EXCL_BR_LINE in RemoveDbFiles() 406 if (RemoveFile(dbFile) != E_OK) { // LCOV_EXCL_BR_LINE in RemoveDbFiles() 476 if (RemoveFile(fileName) != E_OK) { in RecoverImportedBackFiles() [all …]
|
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | kernel_interface_test.cpp | 129 KernelInterface::GetInstance().RemoveFile(path); 136 KernelInterface::GetInstance().RemoveFile(path); 139 ret = ret && KernelInterface::GetInstance().RemoveFile(path); 149 KernelInterface::GetInstance().RemoveFile(path); 175 KernelInterface::GetInstance().RemoveFile(path); 182 KernelInterface::GetInstance().RemoveFile(path); 203 KernelInterface::GetInstance().RemoveFile(path); 223 KernelInterface::GetInstance().RemoveFile(path2); 224 bool ret = KernelInterface::GetInstance().RemoveFile(path1); 225 ret = ret && KernelInterface::GetInstance().RemoveFile(path2); [all …]
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_directory_test.cpp | 286 EXPECT_EQ(RemoveFile(linktofile), true); 301 EXPECT_EQ(RemoveFile(sourceFile), true); 302 EXPECT_EQ(RemoveFile(symlinkFile), true); 374 ret = RemoveFile(filename); 421 ret = RemoveFile(targetname); 444 ret = RemoveFile(targetname);
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | hiview_db_util.cpp | 40 if (!FileUtil::RemoveFile(dbFiles[i])) { in ClearDbFilesByTimestampOrder() 112 if (!FileUtil::RemoveFile(dbFile)) { in MoveDbFilesToUploadDir() 129 if (!FileUtil::RemoveFile(dbPath)) { in MoveDbFileToUploadDir()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/ |
H A D | app_event_log_cleaner.cpp | 55 if (!FileUtil::RemoveFile(delFile)) { in ClearSpace() 70 if (!FileUtil::RemoveFile(file)) { in ClearData()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/ |
H A D | cpu_storage_test.cpp | 75 FileUtil::RemoveFile(DB_PATH); 92 FileUtil::RemoveFile(DB_PATH); 124 FileUtil::RemoveFile(DB_PATH);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | metadata_stream_test.cpp | 160 void RemoveFile(const std::string &filePath) in RemoveFile() function 228 RemoveFile(filePath.c_str()); in TearDown() 229 RemoveFile(filePathDest.c_str()); in TearDown() 483 RemoveFile(filePath); 516 RemoveFile(nonExistFilePath.c_str()); 530 RemoveFile(nonExistFilePath.c_str()); 810 RemoveFile(filePath.c_str()); 848 RemoveFile(filePath.c_str()); 889 RemoveFile(filePath.c_str()); 1073 RemoveFile(tempFile.c_str()); [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_asset_send_listener.cpp | 62 …SoftBusHandlerAsset::GetInstance().RemoveFile(fileList[0], !SoftBusAssetSendListener::isSingleFile… in OnSendAssetFinished() 84 …SoftBusHandlerAsset::GetInstance().RemoveFile(fileList[0], !SoftBusAssetSendListener::isSingleFile… in OnSendAssetError()
|
/ohos5.0/base/hiviewdfx/hiview/core/test/unittest/common/ |
H A D | param_update_test.cpp | 84 FileUtil::RemoveFile(TEST_CONFIG_FILE); in TearDown() 105 FileUtil::RemoveFile(TEST_CONFIG_FILE);
|
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_function_test.cpp | 177 EXPECT_EQ(true, DhcpFunction::RemoveFile(strFile)); 180 EXPECT_EQ(false, DhcpFunction::RemoveFile(strFile)); 192 EXPECT_EQ(true, DhcpFunction::RemoveFile(strFile)); 198 EXPECT_EQ(false, DhcpFunction::RemoveFile(strFile));
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
H A D | freeze_detector_test.cpp | 89 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile() 95 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile() 101 FileUtil::RemoveFile(i); in GetFreezeDectorTestFile() 118 FileUtil::RemoveFile(decLogPath); in GetFreezeDectorTestFile()
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_directory_test.rs | 118 directory_ex::ffi::RemoveFile(&file1); in test_get_dir_files_001() 119 directory_ex::ffi::RemoveFile(&file2); in test_get_dir_files_001() 158 ret = directory_ex::ffi::RemoveFile(&filename); in test_remove_file_001()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_publish/ |
H A D | event_publish.cpp | 135 FileUtil::RemoveFile(destPath); in CopyExternalLog() 344 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox() 350 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox() 359 (void)FileUtil::RemoveFile(srcPath); in SendEventToSandBox() 385 (void)FileUtil::RemoveFile(srcPath); in PushEvent()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_database_upgrader.cpp | 114 if (OS::RemoveFile(dbFilePath) != E_OK) { in TransferDatabasePath() 143 (OS::RemoveFile(secOptUpgradeFile) != E_OK)) { in EndUpgrade() 341 if (OS::CheckPathExistence(secOptUpgradeFile) && (OS::RemoveFile(secOptUpgradeFile) != E_OK)) { in SetSecOption() 363 int errCode = OS::RemoveFile(upgradeLockFile); in MoveDatabaseToNewDir()
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/ |
H A D | directory_benchmark_test.cpp | 196 RemoveFile(resultfile[0]); in BENCHMARK_F() 265 ret = RemoveFile(filename); in BENCHMARK_F() 316 ret = RemoveFile(targetname); in BENCHMARK_F() 343 ret = RemoveFile(targetname); in BENCHMARK_F()
|
/ohos5.0/base/hiviewdfx/hiview/base/logstore/ |
H A D | log_store_ex.cpp | 121 FileUtil::RemoveFile(it->path_); in DoDeleteLogFiles() 174 return FileUtil::RemoveFile(path); in RemoveLogFile()
|
/ohos5.0/base/hiviewdfx/hiview/base/running_status_logger/ |
H A D | running_status_logger.cpp | 102 if ((allLogFiles.size() == logFileCntLimit) && !FileUtil::RemoveFile(allLogFiles.front())) { in GetLogWroteDestFile() 122 if ((allLogFiles.size() == logFileCntLimit) && !FileUtil::RemoveFile(allLogFiles.front())) { in GetLogWroteDestFile()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/io/dev/ |
H A D | FileMonitor.cpp | 208 RemoveFile(ref); in RemovePath() 240 bool FileMonitor::RemoveFile(const std::string& aPath) in RemoveFile() function in ige::FileMonitor 316 RemoveFile(ref); in scanModifications()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/expire/ |
H A D | event_delete_handler.cpp | 42 FileUtil::RemoveFile(file); in Delete()
|
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
H A D | file_util.h | 29 bool RemoveFile(const std::string& file);
|