Searched refs:GetControlFileOrOpen (Results 1 – 4 of 4) sorted by relevance
63 unique_fd fd = GetControlFileOrOpen(block_device.c_str(), O_RDONLY); in GetBlockDeviceInfo()109 return GetControlFileOrOpen(path.c_str(), flags | O_CLOEXEC); in Open()
100 ::android::base::unique_fd GetControlFileOrOpen(std::string_view path, int flags);
62 unique_fd fd = GetControlFileOrOpen(file, O_RDONLY | O_CLOEXEC); in IsEmptySuperImage()105 unique_fd fd = GetControlFileOrOpen(image_file.c_str(), O_RDONLY | O_CLOEXEC); in ReadFromImageFile()446 unique_fd source_fd = GetControlFileOrOpen(file.c_str(), O_RDONLY | O_CLOEXEC | O_BINARY); in OpenImageFile()
210 base::unique_fd GetControlFileOrOpen(std::string_view path, int flags) { in GetControlFileOrOpen() function