Lines Matching refs:fd
88 AssetFileDescriptor fd = null;
91 fd = resolver.openAssetFileDescriptor(uri, "r");
92 if (fd == null) {
98 if (fd.getDeclaredLength() < 0) {
99 setDataSource(fd.getFileDescriptor());
102 fd.getFileDescriptor(),
103 fd.getStartOffset(),
104 fd.getDeclaredLength());
110 if (fd != null) {
111 fd.close();
166 * @param fd the FileDescriptor for the file you want to extract from.
168 public final void setDataSource(FileDescriptor fd) throws IOException {
169 setDataSource(fd, 0, 0x7ffffffffffffffL);
177 * @param fd the FileDescriptor for the file you want to extract from.
182 FileDescriptor fd, long offset, long length) throws IOException;