/aosp_15_r20/system/libbase/ |
H A D | file_test.cpp | 236 TEST(file, RemoveFileIfExists) { in TEST() argument 242 ASSERT_TRUE(android::base::RemoveFileIfExists(tf.path, &err)) << err; in TEST() 243 ASSERT_TRUE(android::base::RemoveFileIfExists(tf.path)); in TEST() 245 ASSERT_FALSE(android::base::RemoveFileIfExists(td.path)); in TEST() 246 ASSERT_FALSE(android::base::RemoveFileIfExists(td.path, &err)); in TEST() 255 ASSERT_TRUE(android::base::RemoveFileIfExists(std::string{tf.path} + "/abc", &err)); in TEST() 276 ASSERT_FALSE(android::base::RemoveFileIfExists(tf.path, &err)); in TEST() 280 ASSERT_TRUE(android::base::RemoveFileIfExists(tf.path, &err)); in TEST()
|
/aosp_15_r20/system/core/fs_mgr/libfiemap/ |
H A D | metadata.cpp | 110 if (exported->partitions.empty() && android::base::RemoveFileIfExists(metadata_file)) { in SaveMetadata() 125 if (!android::base::RemoveFileIfExists(metadata_file, &err)) { in RemoveAllMetadata()
|
H A D | split_fiemap_writer.cpp | 200 ok &= android::base::RemoveFileIfExists(file, message); in RemoveSplitFiles() 204 ok &= android::base::RemoveFileIfExists(file_path, message); in RemoveSplitFiles()
|
/aosp_15_r20/system/gsid/ |
H A D | gsi_service.cpp | 62 using android::base::RemoveFileIfExists; 156 if (!RemoveFileIfExists(GetCompleteIndication(dsu_slot), &message)) { in openInstall() 566 if (!android::base::RemoveFileIfExists(kDsuOneShotBootFile, &error)) { in SetBootMode() 990 if (!RemoveFileIfExists(file, &message)) { in RemoveGsiFiles() 999 if (!RemoveFileIfExists(DsuMetadataKeyDirFile(dsu_slot), &message)) { in RemoveGsiFiles()
|
H A D | libgsi.cpp | 71 android::base::RemoveFileIfExists(kGsiBootedIndicatorFile); in CanBootIntoGsi()
|
/aosp_15_r20/bootable/deprecated-ota/tests/unit/ |
H A D | applypatch_test.cpp | 73 ASSERT_TRUE(android::base::RemoveFileIfExists(cache_temp_source.path)); in TearDown() 195 ASSERT_TRUE(android::base::RemoveFileIfExists(file)); in TearDown()
|
/aosp_15_r20/system/apex/apexd/ |
H A D | apexd.cpp | 102 using android::base::RemoveFileIfExists; 2476 RemoveFileIfExists(decompressed_apex_path); in ProcessCompressedApex() 2496 RemoveFileIfExists(ota_apex_path); in ProcessCompressedApex() 2521 RemoveFileIfExists(decompressed_apex_path); in ProcessCompressedApex() 2539 [&]() { RemoveFileIfExists(decompression_dest); }); in ProcessCompressedApex() 3126 RemoveFileIfExists(ota_apex); in ReserveSpaceForCompressedApex() 3133 RemoveFileIfExists(file_path); in ReserveSpaceForCompressedApex() 3150 RemoveFileIfExists(file_path); in ReserveSpaceForCompressedApex() 3159 RemoveFileIfExists(file_path); in ReserveSpaceForCompressedApex()
|
H A D | apex_file.cpp | 43 using android::base::RemoveFileIfExists; 441 [&dest_path] { RemoveFileIfExists(dest_path); }); in Decompress()
|
H A D | apex_classpath.cpp | 61 android::base::RemoveFileIfExists(temp_output_path); in DeriveClassPath()
|
/aosp_15_r20/system/core/fastboot/ |
H A D | storage.cpp | 56 if (!android::base::RemoveFileIfExists(devices_path_)) { in Clear()
|
/aosp_15_r20/prebuilts/module_sdk/art/7/common_os/include/system/libbase/include/android-base/ |
D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/module_sdk/art/1/common_os/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/module_sdk/art/13/common_os/include/system/libbase/include/android-base/ |
D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v34/arm/include/system/libbase/include/android-base/ |
D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v32/x86/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/system/libbase/include/android-base/ |
H A D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v31/x86/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v30/x86/include/system/core/base/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/module_sdk/art/13/include/system/libbase/include/android-base/ |
D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/module_sdk/art/3/common_os/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/module_sdk/art/current/host-exports/include/system/libbase/include/android-base/ |
D | file.h | 110 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/system/libbase/include/android-base/ |
D | file.h | 109 bool RemoveFileIfExists(const std::string& path, std::string* err = nullptr);
|