Home
last modified time | relevance | path

Searched refs:fdi (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp79 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()
80 mDataLocator.fdi.length) != NO_ERROR) { in onPrepare()
85 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()
86 (void) ::close(mDataLocator.fdi.fd); in onPrepare()
87 mDataLocator.fdi.fd = -1; in onPrepare()
88 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
Dandroid_GenericPlayer.cpp106 mDataLocator.fdi.fd = fd; in setDataSource()
119 mDataLocator.fdi.offset = offset; in setDataSource()
122 mDataLocator.fdi.length = sb.st_size; in setDataSource()
124 mDataLocator.fdi.length = sb.st_size - offset; in setDataSource()
126 mDataLocator.fdi.length = length; in setDataSource()
129 mDataLocator.fdi.mCloseAfterUse = closeAfterUse; in setDataSource()
275 if (mDataLocatorType == kDataLocatorFd && mDataLocator.fdi.mCloseAfterUse) { in resetDataLocator()
276 (void) ::close(mDataLocator.fdi.fd); in resetDataLocator()
Dandroid_defs.h204 FdInfo fdi; member
209 FdInfo fdi; member
Dandroid_AudioSfDecoder.cpp216 int fd = mDataLocator.fdi.fd; in onPrepare()
217 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()
218 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
222 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length); in onPrepare()