Searched refs:misc_blk_device (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 85 static bool read_misc_partition(void* p, size_t size, const std::string& misc_blk_device, in read_misc_partition() argument 87 if (!wait_for_device(misc_blk_device, err)) { in read_misc_partition() 90 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY)); in read_misc_partition() 92 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), in read_misc_partition() 97 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), in read_misc_partition() 102 *err = android::base::StringPrintf("failed to read %s: %s", misc_blk_device.c_str(), in read_misc_partition() 109 static bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device, in write_misc_partition() argument 111 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY)); in write_misc_partition() 113 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), in write_misc_partition() 118 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), in write_misc_partition() [all …]
|
/bootable/recovery/bootloader_message/include/bootloader_message/ |
D | bootloader_message.h | 197 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, 205 const std::string& misc_blk_device, std::string* err);
|