Searched refs:modernFd (Results 1 – 3 of 3) sorted by relevance
308 try (ParcelFileDescriptor modernFd = FileUtils.convertToModernFd(fd)) { in setDataSource() argument309 if (modernFd == null) { in setDataSource()312 _setDataSource(modernFd.getFileDescriptor(), offset, length); in setDataSource()
1540 ParcelFileDescriptor modernFd = FileUtils.convertToModernFd(fileDescriptor); in ExifInterface() local1541 if (modernFd != null) { in ExifInterface()1542 fileDescriptor = modernFd.getFileDescriptor(); in ExifInterface()1551 if (isSeekableFD(fileDescriptor) && modernFd == null) { in ExifInterface()1575 if (modernFd != null) { in ExifInterface()1576 modernFd.close(); in ExifInterface()2569 ParcelFileDescriptor modernFd = null; in initForFilename() local2575 modernFd = FileUtils.convertToModernFd(in.getFD()); in initForFilename()2576 if (modernFd != null) { in initForFilename()2578 in = new FileInputStream(modernFd.getFileDescriptor()); in initForFilename()[all …]
1295 try (ParcelFileDescriptor modernFd = FileUtils.convertToModernFd(fd)) { in setDataSource() argument1296 if (modernFd == null) { in setDataSource()1299 _setDataSource(modernFd.getFileDescriptor(), offset, length); in setDataSource()