Home
last modified time | relevance | path

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

/aosp14/system/core/fs_mgr/libfiemap/
H A Dmetadata.cpp110 if (exported->partitions.empty() && android::base::RemoveFileIfExists(metadata_file)) { in SaveMetadata()
131 if (!android::base::RemoveFileIfExists(metadata_file, &err)) { in RemoveAllMetadata()
H A Dsplit_fiemap_writer.cpp199 ok &= android::base::RemoveFileIfExists(file, message); in RemoveSplitFiles()
202 ok &= android::base::RemoveFileIfExists(file_path, message); in RemoveSplitFiles()
H A Dimage_manager.cpp290 if (!android::base::RemoveFileIfExists(status_file)) { in DeleteBackingImage()
632 if (!android::base::RemoveFileIfExists(status_file, &message)) { in UnmapImageDevice()
/aosp14/system/core/fastboot/
H A Dstorage.cpp60 if (!android::base::RemoveFileIfExists(devices_path_)) { in Clear()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_stats.cpp62 if (!android::base::RemoveFileIfExists(path_, &error)) { in DeleteState()
H A Dsnapshot.cpp273 static bool RemoveFileIfExists(const std::string& path) { in RemoveFileIfExists() function
275 if (!android::base::RemoveFileIfExists(path, &message)) { in RemoveFileIfExists()
308 RemoveFileIfExists(file); in RemoveAllUpdateState()
343 if (!RemoveFileIfExists(GetRollbackIndicatorPath())) { in FinishedSnapshotWrites()
728 if (!android::base::RemoveFileIfExists(file_path, &error)) { in DeleteSnapshot()
4090 return RemoveFileIfExists(path); in UpdateForwardMergeIndicator()
H A Dsnapshot_test.cpp267 android::base::RemoveFileIfExists(status_file); in CleanupSnapshotArtifacts()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/
H A Dsnapuserd_client.cpp318 if (!android::base::RemoveFileIfExists(filePath, &error)) { in RemoveTransitionedDaemonIndicator()
/aosp14/system/core/storaged/
H A Dstoraged.cpp233 RemoveFileIfExists(proto_path(user_id), nullptr); in remove_user_ce()