Home | History | Annotate | Download | only in boot_control

Lines Matching defs:base

24 #include <android-base/file.h>
25 #include <android-base/logging.h>
26 #include <android-base/properties.h>
27 #include <android-base/stringprintf.h>
28 #include <android-base/unique_fd.h>
35 // The base struct needs to be first in the list.
36 boot_control_module_t base;
95 android::base::unique_fd fd(open(misc_device, O_RDONLY));
104 if (!android::base::ReadFully(fd.get(), buffer, sizeof(bootloader_control))) {
113 android::base::unique_fd fd(open(misc_device, O_WRONLY | O_SYNC));
122 if (!android::base::WriteFully(fd.get(), buffer, sizeof(bootloader_control))) {
216 std::string suffix_prop = android::base::GetProperty("ro.boot.slot_suffix", "");
375 .base =