Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp53 } else if (mPlayer->setDataSource(mDataLocator.uriRef, NULL /*headers*/) != NO_ERROR) { in onPrepare()
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()
Dandroid_GenericPlayer.cpp94 mDataLocator.uriRef = uri; in setDataSource()
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()
Dandroid_AudioSfDecoder.cpp192 dataSource = DataSource::CreateFromURI(mDataLocator.uriRef); in onPrepare()
194 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef); in onPrepare()
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()
Dandroid_GenericPlayer.h97 DataLocator2 mDataLocator; variable
Dandroid_GenericMediaPlayer.cpp578 isLocalSource = !isDistantProtocol(mDataLocator.uriRef); in afterMediaPlayerPreparedSuccessfully()