Home
last modified time | relevance | path

Searched refs:DeleteFile (Results 1 – 25 of 39) sorted by relevance

12

/system/webservd/webservd/
Dtemp_file_manager.cc53 CHECK(file_deleter_->DeleteFile(file)); in DeleteFiles()
56 bool FileDeleter::DeleteFile(const base::FilePath& path) { in DeleteFile() function in webservd::FileDeleter
57 return base::DeleteFile(path, false); in DeleteFile()
Dtemp_file_manager.h36 virtual bool DeleteFile(const base::FilePath& path) = 0;
74 bool DeleteFile(const base::FilePath& path) override;
Dlog_manager.cc236 PLOG_IF(WARNING, !base::DeleteFile(*front_it, false)) in PerformLogMaintenance()
/system/core/metricsd/uploader/
Dupload_service.cc155 base::DeleteFile(staged_log_path_, false); in SendStagedLog()
169 base::DeleteFile(staged_log_path_, false); in SendStagedLog()
176 base::DeleteFile(staged_log_path_, false); in Reset()
222 if (!base::DeleteFile(saved_log_path_, false)) { in StageCurrentLog()
247 CHECK(base::DeleteFile(staged_log_path_, false)) in RemoveFailedLog()
Dmetrics_log.cc43 base::DeleteFile(saved_log, false); in LoadFromFile()
Dupload_service_test.cc271 base::DeleteFile(base::FilePath(tmp_file), false); in TEST_F()
274 base::DeleteFile(base::FilePath(tmp_file), false); in TEST_F()
/system/connectivity/shill/
Dcertificate_file.cc57 base::DeleteFile(output_file_, false); in ~CertificateFile()
128 base::DeleteFile(root_directory_, true); in WriteFile()
133 base::DeleteFile(output_file_, false); in WriteFile()
153 base::DeleteFile(output_file, false); in WriteFile()
Dresolver.cc114 return base::DeleteFile(path_, false); in ClearDNS()
/system/core/crash_reporter/
Dunclean_shutdown_collector.cc52 if (!base::DeleteFile(FilePath(unclean_shutdown_file_), false)) { in DeleteUncleanShutdownFiles()
58 base::DeleteFile(powerd_suspended_file_, false); in DeleteUncleanShutdownFiles()
Dcrash_collector_test.cc219 base::DeleteFile(meta_file, false); in TEST_F()
235 base::DeleteFile(FilePath(output_file), false); in TEST_F()
240 base::DeleteFile(FilePath(output_file), false); in TEST_F()
Duser_collector.cc200 base::DeleteFile(diag_log_path, false); in EnqueueCollectionErrorLog()
361 base::DeleteFile(core_path, false); in CopyStdinToCoreFile()
498 base::DeleteFile(container_dir, true); in ConvertAndEnqueueCrash()
547 base::DeleteFile(core_path, false); in ConvertAndEnqueueCrash()
553 base::DeleteFile(container_dir, true); in ConvertAndEnqueueCrash()
Dunclean_shutdown_collector_test.cc66 base::DeleteFile(test_unclean_, true); in SetUp()
Dkernel_collector.cc133 base::DeleteFile(ramoops_record, false); in ReadRecordToString()
/system/connectivity/shill/dhcp/
Ddhcp_provider.cc163 base::DeleteFile(root_.Append( in DestroyLease()
167 base::DeleteFile(root_.Append( in DestroyLease()
Ddhcpv6_config.cc125 base::DeleteFile(root().Append( in CleanupClientState()
129 base::DeleteFile(root().Append( in CleanupClientState()
Ddhcpv4_config.cc216 base::DeleteFile(root().Append( in CleanupClientState()
220 base::DeleteFile(root().Append( in CleanupClientState()
/system/core/metricsd/
Dmetrics_library_test.cc40 ASSERT_TRUE(base::DeleteFile(lib_.consent_file_, false)); in SetMetricsConsent()
Dmetrics_collector.cc285 if (!base::DeleteFile( in OnDisableMetrics()
361 base::DeleteFile(crash_detected, false); // not recursive in CheckSystemCrash()
/system/update_engine/
Dfake_p2p_manager_configuration.h44 !base::DeleteFile(base::FilePath(p2p_dir_), true)) { in ~FakeP2PManagerConfiguration()
Dmain.cc52 base::DeleteFile(base::FilePath(symlink_path), true); in SetupLogSymlink()
Domaha_response_handler_action_unittest.cc359 ASSERT_TRUE(base::DeleteFile(base::FilePath(test_dir), true)); in TEST_F()
401 ASSERT_TRUE(base::DeleteFile(base::FilePath(test_dir), true)); in TEST_F()
/system/update_engine/common/
Dprefs.cc108 TEST_AND_RETURN_FALSE(base::DeleteFile(filename, false)); in Delete()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.cc268 if (!base::DeleteFile(base::FilePath(fs_mount_dir_), false)) { in Cleanup()
Dpostinstall_runner_action_unittest.cc104 EXPECT_TRUE(base::DeleteFile(base::FilePath(working_dir_), true)); in TearDown()
/system/connectivity/shill/vpn/
Dopenvpn_driver.cc213 base::DeleteFile(tls_auth_file_, false); in Cleanup()
217 base::DeleteFile(openvpn_config_file_, false); in Cleanup()
298 base::DeleteFile(openvpn_config_directory_, true); in WriteConfigFile()

12