Searched refs:GetControlFileOrOpen (Results 1 – 4 of 4) sorted by relevance
48 unique_fd fd = GetControlFileOrOpen(block_device.c_str(), O_RDONLY); in GetBlockDeviceInfo()88 return GetControlFileOrOpen(path.c_str(), flags | O_CLOEXEC); in Open()
96 ::android::base::unique_fd GetControlFileOrOpen(const char* path, int flags);
178 base::unique_fd GetControlFileOrOpen(const char* path, int flags) { in GetControlFileOrOpen() function
71 unique_fd fd = GetControlFileOrOpen(image_file.c_str(), O_RDONLY | O_CLOEXEC); in ReadFromImageFile()412 android::base::unique_fd source_fd = GetControlFileOrOpen(file.c_str(), O_RDONLY | O_CLOEXEC); in OpenImageFile()