Home
last modified time | relevance | path

Searched refs:RemoveFileIfExists (Results 1 – 4 of 4) sorted by relevance

/system/core/base/
Dfile_test.cpp106 ASSERT_TRUE(android::base::RemoveFileIfExists(tf.path, &err)) << err; in TEST()
107 ASSERT_TRUE(android::base::RemoveFileIfExists(tf.path)); in TEST()
109 ASSERT_FALSE(android::base::RemoveFileIfExists(td.path)); in TEST()
110 ASSERT_FALSE(android::base::RemoveFileIfExists(td.path, &err)); in TEST()
Dfile.cpp148 bool RemoveFileIfExists(const std::string& path, std::string* err) { in RemoveFileIfExists() function
/system/core/base/include/android-base/
Dfile.h44 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
/system/extras/simpleperf/
Drecord_file_writer.cpp39 if (!android::base::RemoveFileIfExists(filename, &err)) { in CreateInstance()