Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery.cpp271 std::string wipe_package; in ReadWipePackage() local
273 if (!read_wipe_package(&wipe_package, wipe_package_size, &err_str)) { in ReadWipePackage()
279 std::vector<uint8_t>(wipe_package.begin(), wipe_package.end()), nullptr); in ReadWipePackage()
286 static bool CheckWipePackage(Package* wipe_package) { in CheckWipePackage() argument
287 if (!verify_package(wipe_package, ui)) { in CheckWipePackage()
292 ZipArchiveHandle zip = wipe_package->GetZipArchiveHandle(); in CheckWipePackage()
307 std::vector<std::string> GetWipePartitionList(Package* wipe_package) { in GetWipePartitionList() argument
308 ZipArchiveHandle zip = wipe_package->GetZipArchiveHandle(); in GetWipePartitionList()
359 auto wipe_package = ReadWipePackage(wipe_package_size); in wipe_ab_device() local
360 if (!wipe_package) { in wipe_ab_device()
[all …]
/bootable/recovery/tests/component/
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.cpp120 std::string wipe_package; in TEST() local
121 ASSERT_TRUE(android::base::ReadFileToString(temp_file.path, &wipe_package)); in TEST()
124 std::vector<uint8_t>(wipe_package.begin(), wipe_package.end()), nullptr); in TEST()
/bootable/recovery/install/include/install/
Dinstall.h62 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()