Searched defs:readAt (Results 1 - 20 of 20) sorted by relevance

/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.java315 public int readAt(long offset, int size) { method in class:MediaHTTPConnection
319 private int readAt(long offset, byte[] data, int size) { method in class:MediaHTTPConnection
341 Log.d(TAG, "readAt " + offset + " / " + size + " => " + n);
346 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
349 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
352 Log.w(TAG, "readAt " + offset + " / " + size + " => " + e);
356 Log.d(TAG, "readAt " + offset + " / " + size + " => -1");
362 Log.d(TAG, "readAt " + offset + " / " + size + " => -1");
/frameworks/av/media/libmedia/
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;
H A DIDataSource.cpp53 virtual ssize_t readAt(off64_t offset, size_t size) { function in struct:android::BpDataSource
155 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");
128 ALOGE("readAt got a NULL buffer");
132 ALOGE("readAt got a NULL mMemory->pointer()");
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { function in class:android::DataURISource
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);
H A DFileSource.cpp131 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::FileSource
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);
129 ssize_t TinyCacheSource::readAt(off64_t offset, void* data, size_t size) { function in class:android::TinyCacheSource
131 return mSource->readAt(offset, data, size);
148 const ssize_t readMore = readAt(offset + remaining,
159 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize);
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 DMPEG4Extractor.cpp191 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
239 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::MPEG4DataSource
247 return mSource->readAt(offset, data, size);
272 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
482 if (mDataSource->readAt(offset, &header, size) == (ssize_t)size) {
613 if (DataSource->readAt(offset, &data, 1) < 1) {
628 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
646 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
657 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
666 if (mDataSource->readAt(data_offse
[all...]
/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/av/include/media/stagefright/
H A DRemoteDataSource.h46 virtual ssize_t readAt(off64_t offset, size_t size) { function in class:android::RemoteDataSource
47 ALOGV("readAt(%lld, %zu)", (long long)offset, size);
51 return mSource->readAt(offset, mMemory->pointer(), size);
/frameworks/av/media/libstagefright/foundation/include/
H A DRemoteDataSource.h46 virtual ssize_t readAt(off64_t offset, size_t size) { function in class:android::RemoteDataSource
47 ALOGV("readAt(%lld, %zu)", (long long)offset, size);
51 return mSource->readAt(offset, mMemory->pointer(), size);
/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/include/
H A DRemoteDataSource.h46 virtual ssize_t readAt(off64_t offset, size_t size) { function in class:android::RemoteDataSource
47 ALOGV("readAt(%lld, %zu)", (long long)offset, size);
51 return mSource->readAt(offset, mMemory->pointer(), size);
/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);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp93 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { function in class:android::MediaHTTP
110 ssize_t n = mHTTPConnection->readAt(
/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
131 if (source->readAt(
191 if (source->readAt(offset + sizeof(header), mData, mSize) != (ssize_t)mSize) {
967 if (source->readAt(size - V1_TAG_SIZE, mData, V1_TAG_SIZE)
/frameworks/av/media/libnbaio/
H A DNBLog.cpp37 int NBLog::Entry::readAt(size_t offset) const function in class:android::NBLog::Entry
475 temp[i] = entry->readAt(i);
719 // log to push it out. Consider keeping the timestamp/body between calls to readAt().

Completed in 324 milliseconds