Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp67 mediaHTTPService, mDataLocator.uriRef, NULL /*headers*/); in onPrepare()
79 } 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.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.cpp197 NULL /* XXX httpService */, mDataLocator.uriRef); in onPrepare()
199 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef); in onPrepare()
209 int fd = mDataLocator.fdi.fd; in onPrepare()
210 if (mDataLocator.fdi.mCloseAfterUse) { in onPrepare()
211 mDataLocator.fdi.mCloseAfterUse = false; in onPrepare()
215 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length); in onPrepare()
Dandroid_GenericPlayer.h98 DataLocator2 mDataLocator; variable
Dandroid_GenericMediaPlayer.cpp581 isLocalSource = !isDistantProtocol(mDataLocator.uriRef); in afterMediaPlayerPreparedSuccessfully()