Searched refs:misc_device (Results 1 – 2 of 2) sorted by relevance
116 base::FilePath misc_device; in GetPartitionDevice() local117 if (!utils::DeviceForMountPoint("/misc", &misc_device)) in GetPartitionDevice()120 if (!utils::IsSymlink(misc_device.value().c_str())) { in GetPartitionDevice()121 LOG(ERROR) << "Device file " << misc_device.value() << " for /misc " in GetPartitionDevice()133 base::FilePath path = misc_device.DirName().Append(partition_name + suffix); in GetPartitionDevice()
51 base::FilePath misc_device; in WriteBootloaderRecoveryMessage() local52 if (!utils::DeviceForMountPoint("/misc", &misc_device)) in WriteBootloaderRecoveryMessage()65 HANDLE_EINTR(open(misc_device.value().c_str(), O_WRONLY | O_SYNC, 0600)); in WriteBootloaderRecoveryMessage()