Searched refs:newContent (Results 1 – 1 of 1) sorted by relevance
193 std::string oldContent, newContent; in abort_metadata_file() local211 newContent = "0"; in abort_metadata_file()212 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in abort_metadata_file()692 std::string oldContent, newContent; in cp_markBootAttempt() local710 newContent = std::to_string(retry); in cp_markBootAttempt()711 if (!android::base::WriteStringToFile(newContent, kMetadataCPFile)) in cp_markBootAttempt()