Home
last modified time | relevance | path

Searched refs:wipe_package (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/install/
Dwipe_device.cpp42 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()
[all …]
/bootable/recovery/tests/unit/
Duncrypt_test.cpp191 TemporaryFile wipe_package; in TEST_F() local
192 ASSERT_TRUE(android::base::WriteStringToFile(std::string(345, 'a'), wipe_package.path)); in TEST_F()
195 message = "--wipe_ab\n--wipe_package="s + wipe_package.path + "\n--reason=wipePackage"s; in TEST_F()
Dinstall_test.cpp98 std::string wipe_package; in TEST() local
99 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &wipe_package)); in TEST()
102 std::vector<uint8_t>(wipe_package.begin(), wipe_package.end()), nullptr); in TEST()
/bootable/recovery/install/include/install/
Dwipe_device.h29 std::vector<std::string> GetWipePartitionList(Package* wipe_package);
/bootable/recovery/uncrypt/
Duncrypt.cpp585 std::string wipe_package; in setup_bcb() local
589 if (!android::base::ReadFileToString(path, &wipe_package)) { in setup_bcb()
593 option = android::base::StringPrintf("--wipe_package_size=%zu", wipe_package.size()); in setup_bcb()
604 if (!wipe_package.empty() && !write_wipe_package(wipe_package, &err)) { in setup_bcb()