Lines Matching refs:wipe_package
42 std::vector<std::string> GetWipePartitionList(Package* wipe_package) { in GetWipePartitionList() argument
43 ZipArchiveHandle zip = wipe_package->GetZipArchiveHandle(); in GetWipePartitionList()
135 std::string wipe_package; in ReadWipePackage() local
136 if (std::string err_str; !read_wipe_package(&wipe_package, wipe_package_size, &err_str)) { in ReadWipePackage()
142 std::vector<uint8_t>(wipe_package.begin(), wipe_package.end()), nullptr); in ReadWipePackage()
149 static bool CheckWipePackage(Package* wipe_package, RecoveryUI* ui) { in CheckWipePackage() argument
150 if (!verify_package(wipe_package, ui)) { in CheckWipePackage()
155 ZipArchiveHandle zip = wipe_package->GetZipArchiveHandle(); in CheckWipePackage()
175 auto wipe_package = ReadWipePackage(wipe_package_size); in WipeAbDevice() local
176 if (!wipe_package) { in WipeAbDevice()
181 if (!CheckWipePackage(wipe_package.get(), ui)) { in WipeAbDevice()
186 auto partition_list = GetWipePartitionList(wipe_package.get()); in WipeAbDevice()