/frameworks/base/media/jni/ |
D | android_media_MediaDataSource.cpp | 36 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource() 55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource() 56 if (mMemory == NULL) { in JMediaDataSource() 69 return mMemory; in getIMemory() 75 if (mJavaObjStatus != OK || mMemory == NULL) { in readAt() 109 env->GetByteArrayRegion(mByteArrayObj, 0, numread, (jbyte*)mMemory->pointer()); in readAt()
|
D | android_media_MediaHTTPConnection.cpp | 45 mMemory = mDealer->allocate(kBufferSize); in JMediaHTTPConnection() 65 return mMemory; in getIMemory()
|
D | android_media_MediaHTTPConnection.h | 50 sp<IMemory> mMemory; member
|
D | android_media_MediaDataSource.h | 63 sp<IMemory> mMemory; variable
|
/frameworks/av/media/libmedia/ |
D | IMediaHTTPConnection.cpp | 77 mMemory = interface_cast<IMemory>(binder); in connect() 79 return mMemory != NULL; in connect() 123 if (len > mMemory->size()) { in readAt() 124 ALOGE("got %zu, but memory has %zu", len, mMemory->size()); in readAt() 128 memcpy(buffer, mMemory->pointer(), len); in readAt() 190 sp<IMemory> mMemory; member
|
D | IMediaSource.cpp | 89 sp<IMemory> mMemory; member in android::RemoteMediaBufferWrapper 95 mMemory = mem; in RemoteMediaBufferWrapper() 100 mMemory.clear(); in ~RemoteMediaBufferWrapper() 320 if (transferBuf->mMemory == NULL) { in onTransact() 333 if (ret != OK || newBuf == NULL || newBuf->mMemory == NULL) { in onTransact() 352 reply->writeStrongBinder(IInterface::asBinder(transferBuf->mMemory)); in onTransact() 356 if (buf->mMemory == NULL) { in onTransact() 361 if (buf->mMemory != NULL) { in onTransact() 362 … ALOGV("%zu shared mem available, but only %zu used", buf->mMemory->size(), buf->range_length()); in onTransact()
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 36 mMemory = mIDataSource->getIMemory(); in CallbackDataSource() 47 if (mMemory == NULL) { in initCheck() 54 if (mMemory == NULL) { in readAt() 62 const size_t bufferSize = mMemory->size(); in readAt() 80 memcpy(((uint8_t*)data) + totalNumRead, mMemory->pointer(), numRead); in readAt()
|
D | MediaExtractor.cpp | 94 sp<IMemory> mMemory; member in android::RemoteDataSource 108 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource() 109 if (mMemory == NULL) { in RemoteDataSource() 118 return mMemory; in getIMemory() 122 return mSource->readAt(offset, mMemory->pointer(), size); in readAt()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 61 mMemory = memoryDealer->allocate(size); in MediaBuffer() 62 if (mMemory == NULL) { in MediaBuffer() 69 mData = mMemory->pointer(); in MediaBuffer() 177 if (mOwnsData && mData != NULL && mMemory == NULL) { in ~MediaBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | CallbackDataSource.h | 48 sp<IMemory> mMemory; variable
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.h | 38 sp<IMemory> mMemory; member
|
D | OMXHarness.cpp | 193 buffer.mMemory = dealer->allocate(def.nBufferSize); in allocatePortBuffers() 195 CHECK(buffer.mMemory != NULL); in allocatePortBuffers() 198 node, portIndex, buffer.mMemory, &buffer.mID, buffer.mMemory->size()); in allocatePortBuffers()
|
/frameworks/av/include/media/stagefright/ |
D | MediaBuffer.h | 127 sp<IMemory> mMemory; variable
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 411 event->mMemory.clear(); in onCallbackEvent() 426 mEventQueue[0]->mMemory.clear(); in ~CallbackThread() 479 : mType(type), mMemory(memory), mModule(module) in CallbackEvent() 676 sp<IMemory> eventMemory = event->mMemory; in onCallbackEvent()
|
D | SoundTriggerHwService.h | 96 sp<IMemory> mMemory; variable
|