Home
last modified time | relevance | path

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

/bootable/recovery/boot_control/
Dboot_control.cpp60 sizeof(bootloader_control::slot_info) / sizeof(bootloader_control::slot_info[0]);
89 uint32_t BootloaderControlLECRC(const bootloader_control* boot_ctrl) { in BootloaderControlLECRC()
91 CRC32(reinterpret_cast<const uint8_t*>(boot_ctrl), offsetof(bootloader_control, crc32_le))); in BootloaderControlLECRC()
94 bool LoadBootloaderControl(const char* misc_device, bootloader_control* buffer) { in LoadBootloaderControl()
104 if (!android::base::ReadFully(fd.get(), buffer, sizeof(bootloader_control))) { in LoadBootloaderControl()
111 bool UpdateAndSaveBootloaderControl(const char* misc_device, bootloader_control* buffer) { in UpdateAndSaveBootloaderControl()
122 if (!android::base::WriteFully(fd.get(), buffer, sizeof(bootloader_control))) { in UpdateAndSaveBootloaderControl()
130 bootloader_control* boot_ctrl) { in InitDefaultBootloaderControl()
223 bootloader_control boot_ctrl; in BootControl_lazyInitialization()
259 bootloader_control bootctrl; in BootControl_markBootSuccessful()
[all …]
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h154 struct bootloader_control { struct
177 static_assert(sizeof(struct bootloader_control) == argument