Home
last modified time | relevance | path

Searched refs:package_data (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/bootloader_message/
Dbootloader_message.cpp238 bool read_wipe_package(std::string* package_data, size_t size, std::string* err) { in read_wipe_package() argument
243 package_data->resize(size); in read_wipe_package()
244 return read_misc_partition(&(*package_data)[0], size, misc_blk_device, in read_wipe_package()
248 bool write_wipe_package(const std::string& package_data, std::string* err) { in write_wipe_package() argument
255 if (package_data.size() > kMaximumWipePackageSize) { in write_wipe_package()
256 *err = "Wipe package size " + std::to_string(package_data.size()) + " exceeds " + in write_wipe_package()
260 return write_misc_partition(package_data.data(), package_data.size(), misc_blk_device, in write_wipe_package()
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h166 bool read_wipe_package(std::string* package_data, size_t size, std::string* err);
169 bool write_wipe_package(const std::string& package_data, std::string* err);