Lines Matching defs:fd
77 file.fd = 0;
147 int fd = open(path, O_RDONLY | O_LARGEFILE);
149 if (fd < 0) {
153 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL);
154 close(fd);
206 MediaAlbumArt *StagefrightMediaScanner::extractAlbumArt(int fd) {
207 ALOGV("extractAlbumArt %d", fd);
209 off64_t size = lseek64(fd, 0, SEEK_END);
213 lseek64(fd, 0, SEEK_SET);
216 if (mRetriever->setDataSource(fd, 0, size) == OK) {