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

/system/media/wilhelm/src/android/
H A Dandroid_LocAVPlayer.cpp53 } else if (mPlayer->setDataSource(mDataLocator.uriRef, NULL /*headers*/) != NO_ERROR) {
63 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset,
64 mDataLocator.fdi.length) != NO_ERROR) {
69 if (mDataLocator.fdi.mCloseAfterUse) {
70 (void) ::close(mDataLocator.fdi.fd);
71 mDataLocator.fdi.fd = -1;
72 mDataLocator.fdi.mCloseAfterUse = false;
H A Dandroid_AudioSfDecoder.cpp192 dataSource = DataSource::CreateFromURI(mDataLocator.uriRef);
194 SL_LOGE("AudioSfDecoder::onPrepare(): Error opening %s", mDataLocator.uriRef);
204 int fd = mDataLocator.fdi.fd;
205 if (mDataLocator.fdi.mCloseAfterUse) {
206 mDataLocator.fdi.mCloseAfterUse = false;
210 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
H A Dandroid_GenericPlayer.cpp92 mDataLocator.uriRef = uri;
103 mDataLocator.fdi.fd = fd;
116 mDataLocator.fdi.offset = offset;
119 mDataLocator.fdi.length = sb.st_size;
121 mDataLocator.fdi.length = sb.st_size - offset;
123 mDataLocator.fdi.length = length;
126 mDataLocator.fdi.mCloseAfterUse = closeAfterUse;
263 if (mDataLocatorType == kDataLocatorFd && mDataLocator.fdi.mCloseAfterUse) {
264 (void) ::close(mDataLocator.fdi.fd);
265 // would be redundant, as we're about to invalidate the union mDataLocator
[all...]
H A Dandroid_GenericPlayer.h94 DataLocator2 mDataLocator; member in class:android::GenericPlayer
H A Dandroid_GenericMediaPlayer.cpp498 isLocalSource = !isDistantProtocol(mDataLocator.uriRef);

Completed in 98 milliseconds