Searched refs:mDataLocator (Results 1 – 5 of 5) sorted by relevance
67 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()
95 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()
197 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()
98 DataLocator2 mDataLocator; variable
581 isLocalSource = !isDistantProtocol(mDataLocator.uriRef); in afterMediaPlayerPreparedSuccessfully()