Lines Matching refs:fd
90 AssetFileDescriptor fd = null;
93 fd = resolver.openAssetFileDescriptor(uri, "r");
94 if (fd == null) {
100 if (fd.getDeclaredLength() < 0) {
101 setDataSource(fd.getFileDescriptor());
104 fd.getFileDescriptor(),
105 fd.getStartOffset(),
106 fd.getDeclaredLength());
112 if (fd != null) {
113 fd.close();
180 * @param fd the FileDescriptor for the file you want to extract from.
182 public final void setDataSource(FileDescriptor fd) throws IOException {
183 setDataSource(fd, 0, 0x7ffffffffffffffL);
191 * @param fd the FileDescriptor for the file you want to extract from.
196 FileDescriptor fd, long offset, long length) throws IOException;