Searched refs:fdi (Results 1 – 4 of 4) sorted by relevance
63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()64 mDataLocator.fdi.length) != NO_ERROR) { in onPrepare()69 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()70 (void) ::close(mDataLocator.fdi.fd); in onPrepare()71 mDataLocator.fdi.fd = -1; in onPrepare()72 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
105 mDataLocator.fdi.fd = fd; in setDataSource()118 mDataLocator.fdi.offset = offset; in setDataSource()121 mDataLocator.fdi.length = sb.st_size; in setDataSource()123 mDataLocator.fdi.length = sb.st_size - offset; in setDataSource()125 mDataLocator.fdi.length = length; in setDataSource()128 mDataLocator.fdi.mCloseAfterUse = closeAfterUse; in setDataSource()274 if (mDataLocatorType == kDataLocatorFd && mDataLocator.fdi.mCloseAfterUse) { in resetDataLocator()275 (void) ::close(mDataLocator.fdi.fd); in resetDataLocator()
202 FdInfo fdi; member207 FdInfo fdi; member
204 int fd = mDataLocator.fdi.fd; in onPrepare()205 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()206 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length); in onPrepare()