Home
last modified time | relevance | path

Searched refs:mDataLocator (Results 1 – 5 of 5) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp59 mDataLocator.uriRef, in onPrepare()
70 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset, in onPrepare()
71 mDataLocator.fdi.length) != NO_ERROR) { in onPrepare()
76 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()
77 (void) ::close(mDataLocator.fdi.fd); in onPrepare()
78 mDataLocator.fdi.fd = -1; in onPrepare()
79 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
Dandroid_GenericPlayer.cpp95 mDataLocator.uriRef = uri; in setDataSource()
106 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_AudioSfDecoder.cpp194 NULL /* XXX httpService */, mDataLocator.uriRef); in onPrepare()
196 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef); in onPrepare()
206 int fd = mDataLocator.fdi.fd; in onPrepare()
207 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()
208 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
212 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length); in onPrepare()
Dandroid_GenericPlayer.h97 DataLocator2 mDataLocator; variable
Dandroid_GenericMediaPlayer.cpp578 isLocalSource = !isDistantProtocol(mDataLocator.uriRef); in afterMediaPlayerPreparedSuccessfully()