Home
last modified time | relevance | path

Searched refs:updated_marker (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/updater/
Ddynamic_partitions.cpp352 std::string updated_marker = Paths::Get().stash_directory_base() + kMetadataUpdatedMarker; in UpdateDynamicPartitionsFn() local
355 int result = stat(updated_marker.c_str(), &sb); in UpdateDynamicPartitionsFn()
363 if (!android::base::RemoveFileIfExists(updated_marker, &err)) { in UpdateDynamicPartitionsFn()
364 LOG(ERROR) << "Failed to remove dynamic partition metadata updated marker " << updated_marker in UpdateDynamicPartitionsFn()
423 if (!SetUpdatedMarker(updated_marker)) { in UpdateDynamicPartitionsFn()
Dblockimg.cpp1714 std::string updated_marker = GetStashFileName(params.stashbase + ".UPDATED", "", ""); in PerformBlockImageUpdate() local
1717 int result = stat(updated_marker.c_str(), &sb); in PerformBlockImageUpdate()
1726 if (!android::base::RemoveFileIfExists(updated_marker, &err)) { in PerformBlockImageUpdate()
1727 LOG(ERROR) << "Failed to remove partition updated marker " << updated_marker << ": " << err; in PerformBlockImageUpdate()
1932 if (!SetUpdatedMarker(updated_marker)) { in PerformBlockImageUpdate()
/bootable/recovery/tests/component/
Dupdater_test.cpp189 std::string updated_marker{ temp_stash_base_.path }; in TearDown() local
190 updated_marker += "/" + GetSha1(image_temp_file_.path) + ".UPDATED"; in TearDown()
191 ASSERT_TRUE(android::base::RemoveFileIfExists(updated_marker)); in TearDown()
1020 std::string updated_marker{ temp_stash_base_.path }; in TearDown() local
1021 updated_marker += "/" + GetSha1(image_temp_file_.path) + ".UPDATED"; in TearDown()
1022 ASSERT_TRUE(android::base::RemoveFileIfExists(updated_marker)); in TearDown()