Searched refs:kOpenFlags (Results 1 – 2 of 2) sorted by relevance
335 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in CreateLoopDevice() local336 android::base::unique_fd file_fd(open(file.c_str(), kOpenFlags)); in CreateLoopDevice()401 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in MapWithLoopDeviceList() local402 unique_fd fd(open(block_device.c_str(), kOpenFlags)); in MapWithLoopDeviceList()
244 static const int kOpenFlags = in ExportFiles() local246 unique_fd fd(open(file_path.c_str(), kOpenFlags, 0644)); in ExportFiles()