/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 | 64 mMemory.clear(); // don't set the dead object flag. in ~RemoteMediaBufferWrapper() 361 if (length >= (supportNonblockingRead() && buf->mMemory != nullptr ? in onTransact() 363 if (buf->mMemory != nullptr) { in onTransact() 372 || transferBuf->mMemory == nullptr) { in onTransact() 397 uint64_t index = mIndexCache.lookup(transferBuf->mMemory); in onTransact() 399 index = mIndexCache.insert(transferBuf->mMemory); in onTransact() 402 reply->writeStrongBinder(IInterface::asBinder(transferBuf->mMemory)); in onTransact() 420 ALOGV_IF(buf->mMemory != nullptr, in onTransact() 422 buf, buf->mMemory->size(), length); in onTransact()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl)); in MediaBuffer() 66 if (mMemory == NULL) { in MediaBuffer() 74 mData = (uint8_t *)mMemory->pointer() + sizeof(SharedControl); in MediaBuffer() 108 if (mMemory.get() != nullptr) { in release() 188 if (mOwnsData && mData != NULL && mMemory == NULL) { in ~MediaBuffer() 198 if (mMemory.get() != nullptr) { in ~MediaBuffer()
|
/frameworks/av/include/media/stagefright/ |
D | MediaBuffer.h | 68 mMemory = mem; in MediaBuffer() 103 return isDeadObject(mMemory); in isDeadObject() 132 if (mMemory.get() == nullptr) return; in resolvePendingRelease() 146 sp<IMemory> mMemory; variable 223 return reinterpret_cast<SharedControl *>(mMemory->pointer()); in getSharedControl()
|
/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/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/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() 698 sp<IMemory> eventMemory = event->mMemory; in onCallbackEvent()
|
D | SoundTriggerHwService.h | 96 sp<IMemory> mMemory; variable
|