Searched refs:misc_device (Results 1 – 3 of 3) sorted by relevance
43 const char* misc_device; member94 bool LoadBootloaderControl(const char* misc_device, bootloader_control* buffer) { in LoadBootloaderControl() argument95 android::base::unique_fd fd(open(misc_device, O_RDONLY)); in LoadBootloaderControl()97 PLOG(ERROR) << "failed to open " << misc_device; in LoadBootloaderControl()101 PLOG(ERROR) << "failed to lseek " << misc_device; in LoadBootloaderControl()105 PLOG(ERROR) << "failed to read " << misc_device; in LoadBootloaderControl()111 bool UpdateAndSaveBootloaderControl(const char* misc_device, bootloader_control* buffer) { in UpdateAndSaveBootloaderControl() argument113 android::base::unique_fd fd(open(misc_device, O_WRONLY | O_SYNC)); in UpdateAndSaveBootloaderControl()115 PLOG(ERROR) << "failed to open " << misc_device; in UpdateAndSaveBootloaderControl()119 PLOG(ERROR) << "failed to lseek " << misc_device; in UpdateAndSaveBootloaderControl()[all …]
39 void SetMiscBlockDeviceForTest(std::string_view misc_device) { in SetMiscBlockDeviceForTest() argument40 g_misc_device_for_test = misc_device; in SetMiscBlockDeviceForTest()
28 extern void SetMiscBlockDeviceForTest(std::string_view misc_device);