Searched refs:newContent (Results 1 – 1 of 1) sorted by relevance
218 std::string oldContent, newContent; in abort_metadata_file() local236 newContent = "0"; in abort_metadata_file()237 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in abort_metadata_file()719 std::string oldContent, newContent; in cp_markBootAttempt() local735 newContent = std::to_string(retry); in cp_markBootAttempt()736 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in cp_markBootAttempt()