Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Ddynamic_partitions.cpp105 std::string updated_marker = Paths::Get().stash_directory_base() + kMetadataUpdatedMarker; in UpdateDynamicPartitionsFn() local
108 int result = stat(updated_marker.c_str(), &sb); in UpdateDynamicPartitionsFn()
116 if (!android::base::RemoveFileIfExists(updated_marker, &err)) { in UpdateDynamicPartitionsFn()
117 LOG(ERROR) << "Failed to remove dynamic partition metadata updated marker " << updated_marker in UpdateDynamicPartitionsFn()
128 if (!SetUpdatedMarker(updated_marker)) { in UpdateDynamicPartitionsFn()
Dblockimg.cpp1720 std::string updated_marker = GetStashFileName(params.stashbase + ".UPDATED", "", ""); in PerformBlockImageUpdate() local
1723 int result = stat(updated_marker.c_str(), &sb); in PerformBlockImageUpdate()
1731 if (!android::base::RemoveFileIfExists(updated_marker, &err)) { in PerformBlockImageUpdate()
1732 LOG(ERROR) << "Failed to remove partition updated marker " << updated_marker << ": " << err; in PerformBlockImageUpdate()
1941 if (!SetUpdatedMarker(updated_marker)) { in PerformBlockImageUpdate()
/bootable/recovery/tests/unit/
Dupdater_test.cpp158 std::string updated_marker{ temp_stash_base_.path }; in TearDown() local
159 updated_marker += "/" + GetSha1(image_temp_file_.path) + ".UPDATED"; in TearDown()
160 ASSERT_TRUE(android::base::RemoveFileIfExists(updated_marker)); in TearDown()