Searched refs:newContent (Results 1 – 1 of 1) sorted by relevance
217 std::string oldContent, newContent; in abort_metadata_file() local235 newContent = "0"; in abort_metadata_file()236 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in abort_metadata_file()718 std::string oldContent, newContent; in cp_markBootAttempt() local734 newContent = std::to_string(retry); in cp_markBootAttempt()735 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in cp_markBootAttempt()