Searched defs:readAt (Results 1 - 18 of 18) sorted by path

/frameworks/av/media/libmedia/
H A DIDataSource.cpp52 virtual ssize_t readAt(off64_t offset, size_t size) { function in struct:android::BpDataSource
146 reply->writeInt64(readAt(offset, size));
H A DIMediaHTTPConnection.cpp90 virtual ssize_t readAt(off64_t offset, void *buffer, size_t size) { function in struct:android::BpMediaHTTPConnection
100 ALOGE("remote readAt failed");
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { function
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
73 return mDataSource->readAt(offset, buffer, size);
93 mEasFile.readAt = ::readAt;
/frameworks/av/media/libnbaio/
H A DNBLog.cpp33 int NBLog::Entry::readAt(size_t offset) const function in class:android::NBLog::Entry
190 mShared->mBuffer[rear + i] = entry->readAt(i);
194 mShared->mBuffer[i] = entry->readAt(written + i);
348 // log to push it out. Consider keeping the timestamp/body between calls to readAt().
/frameworks/av/media/libstagefright/
H A DCallbackDataSource.cpp53 ssize_t CallbackDataSource::readAt(off64_t offset, void* data, size_t size) { function in class:android::CallbackDataSource
67 mIDataSource->readAt(offset + totalNumRead, numToRead);
125 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { function in class:android::TinyCacheSource
127 return mSource->readAt(offset, data, size);
144 const ssize_t readMore = readAt(offset + remaining,
155 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize);
H A DDataURISource.cpp88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { function in class:android::DataURISource
H A DFileSource.cpp130 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::FileSource
H A DMPEG4Extractor.cpp184 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
232 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::MPEG4DataSource
240 return mSource->readAt(offset, data, size);
265 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
495 if (mDataSource->readAt(offset, &header, size) == (ssize_t)size) {
603 if (DataSource->readAt(offset, &data, 1) < 1) {
618 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
636 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
647 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
656 if (mDataSource->readAt(data_offse
[all...]
H A DMediaExtractor.cpp86 virtual ssize_t readAt(off64_t offset, size_t size);
120 ssize_t RemoteDataSource::readAt(off64_t offset, size_t size) { function in class:android::RemoteDataSource
121 ALOGV("readAt(%" PRId64 ", %zu)", offset, size);
122 return mSource->readAt(offset, mMemory->pointer(), size);
H A DNuCachedSource2.cpp224 // So whenever we call DataSource::readAt it may end up in a call to
225 // IMediaHTTPConnection::readAt and therefore call back into JAVA.
269 // explicitly signal mCondition so that the pending readAt()
362 ssize_t n = mSource->readAt(
514 ssize_t NuCachedSource2::readAt(off64_t offset, void *data, size_t size) { function in class:android::NuCachedSource2
517 ALOGV("readAt offset %lld, size %zu", (long long)offset, size);
598 // data could be on the stack of the caller to NuCachedSource2::readAt(),
H A DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::ThrottledSource
37 ssize_t n = mSource->readAt(offset, data, size);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp89 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { function in class:android::MediaHTTP
106 ssize_t n = mHTTPConnection->readAt(
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::LiveDataSource
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp43 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { function in struct:android::MemorySource
128 if (source->readAt(
188 if (source->readAt(offset + sizeof(header), mData, mSize) != (ssize_t)mSize) {
911 if (source->readAt(size - V1_TAG_SIZE, mData, V1_TAG_SIZE)
/frameworks/base/media/java/android/media/
H A DMediaDataSource.java51 public abstract int readAt(long position, byte[] buffer, int offset, int size) method in class:MediaDataSource
H A DMediaHTTPConnection.java309 public int readAt(long offset, int size) { method in class:MediaHTTPConnection
313 private int readAt(long offset, byte[] data, int size) { method in class:MediaHTTPConnection
335 Log.d(TAG, "readAt " + offset + " / " + size + " => " + n);
340 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
343 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
346 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
350 Log.d(TAG, "readAt " + offset + " / " + size + " => -1");
356 Log.d(TAG, "readAt " + offset + " / " + size + " => -1");
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.cpp43 mReadMethod = env->GetMethodID(mediaDataSourceClass.get(), "readAt", "(J[BII)I");
72 ssize_t JMediaDataSource::readAt(off64_t offset, size_t size) { function in class:android::JMediaDataSource
86 ALOGW("An exception occurred in readAt()");
94 ALOGW("An error occurred in readAt()");
103 ALOGE("readAt read too many bytes.");
108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread);
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.cpp57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::BufferQueueSource
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);

Completed in 6150 milliseconds