/cts/tests/app/src/android/app/cts/ |
ActivityManagerMemoryInfoTest.java | 24 protected ActivityManager.MemoryInfo mMemory; 29 mMemory = new ActivityManager.MemoryInfo(); 33 assertEquals(0, mMemory.describeContents()); 38 mMemory.availMem = AVAILMEM; 40 mMemory.threshold = THRESHOLD; 42 mMemory.lowMemory = LOWMEMORY; 44 mMemory.writeToParcel(parcel, 0); 54 mMemory.writeToParcel(null, 0); 63 mMemory.availMem = AVAILMEM; 65 mMemory.threshold = THRESHOLD [all...] |
/frameworks/base/media/jni/ |
android_media_MediaHTTPConnection.h | 50 sp<IMemory> mMemory;
|
android_media_MediaDataSource.cpp | 36 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { 55 mMemory = memoryDealer->allocate(kBufferSize); 56 if (mMemory == NULL) { 69 return mMemory; 75 if (mJavaObjStatus != OK || mMemory == NULL) { 109 env->GetByteArrayRegion(mByteArrayObj, 0, numread, (jbyte*)mMemory->pointer());
|
android_media_MediaDataSource.h | 63 sp<IMemory> mMemory;
|
android_media_MediaHTTPConnection.cpp | 45 mMemory = mDealer->allocate(kBufferSize); 65 return mMemory;
|
/frameworks/av/media/libmedia/ |
IMediaHTTPConnection.cpp | 77 mMemory = interface_cast<IMemory>(binder); 79 return mMemory != NULL; 123 if (len > mMemory->size()) { 124 ALOGE("got %zu, but memory has %zu", len, mMemory->size()); 128 memcpy(buffer, mMemory->pointer(), len); 190 sp<IMemory> mMemory;
|
IMediaSource.cpp | 64 mMemory.clear(); // don't set the dead object flag. 361 if (length >= (supportNonblockingRead() && buf->mMemory != nullptr ? 363 if (buf->mMemory != nullptr) { 372 || transferBuf->mMemory == nullptr) { 397 uint64_t index = mIndexCache.lookup(transferBuf->mMemory); 399 index = mIndexCache.insert(transferBuf->mMemory); 402 reply->writeStrongBinder(IInterface::asBinder(transferBuf->mMemory)); 420 ALOGV_IF(buf->mMemory != nullptr, 422 buf, buf->mMemory->size(), length);
|
/frameworks/av/media/libstagefright/foundation/ |
MediaBuffer.cpp | 65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl)); 66 if (mMemory == NULL) { 74 mData = (uint8_t *)mMemory->pointer() + sizeof(SharedControl); 108 if (mMemory.get() != nullptr) { 188 if (mOwnsData && mData != NULL && mMemory == NULL) { 198 if (mMemory.get() != nullptr) {
|
/frameworks/av/include/media/stagefright/ |
MediaBuffer.h | 67 // delegate and override mMemory 68 mMemory = mem; 103 return isDeadObject(mMemory); 132 if (mMemory.get() == nullptr) return; 146 sp<IMemory> mMemory; 223 return reinterpret_cast<SharedControl *>(mMemory->pointer());
|
/frameworks/av/media/libstagefright/ |
CallbackDataSource.cpp | 36 mMemory = mIDataSource->getIMemory(); 47 if (mMemory == NULL) { 54 if (mMemory == NULL) { 58 // IDataSource can only read up to mMemory->size() bytes at a time, but this 62 const size_t bufferSize = mMemory->size(); 80 memcpy(((uint8_t*)data) + totalNumRead, mMemory->pointer(), numRead);
|
MediaExtractor.cpp | 94 sp<IMemory> mMemory; 108 mMemory = memoryDealer->allocate(kBufferSize); 109 if (mMemory == NULL) { 118 return mMemory; 122 return mSource->readAt(offset, mMemory->pointer(), size);
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 669 if (0 < mMemory.getCnt()) { 716 index = mMemory.getMatchBufIndex((void*)buffer); 725 index = mMemory.getMatchBufIndex((void*)buffer); 739 rc = mMemory.markFrameNumber(index, frameNumber); 763 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { 779 rc = mMemory.registerBuffer(buffer, streamType); 829 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); 830 resultFrameNumber = mMemory.getFrameNumber(frameIndex); 843 rc = mMemory.unregisterBuffer(frameIndex); 861 return &mMemory; [all...] |
QCamera3Channel.h | 161 QCamera3GrallocMemory mMemory; 196 QCamera3HeapMemory *mMemory; 261 QCamera3HeapMemory *mMemory; 329 QCamera3GrallocMemory mMemory; 396 QCamera3HeapMemory *mMemory; 423 QCamera3HeapMemory *mMemory;
|
QCamera3PostProc.h | 106 int32_t init(QCamera3Memory *mMemory,
|
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 729 mMemory(numBuffers), 745 int32_t rc = m_postprocessor.init(&mMemory); 831 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); 832 resultFrameNumber = mMemory.getFrameNumber(frameIndex); 834 int32_t lowestFrameNumber = mMemory.getOldestFrameNumber(oldestBufIndex); 866 rc = mMemory.unregisterBuffer(frameIndex); 888 resultFrameNumber = mMemory.getFrameNumber(frameIndex); 889 lowestFrameNumber = mMemory.getOldestFrameNumber(oldestBufIndex); 924 mMemory.deallocate(); 947 bufIdx = mMemory.getBufferIndex(frameNumber) [all...] |
QCamera3Channel.h | 252 QCamera3StreamMem mMemory; //output buffer allocated by fwk 342 QCamera3StreamMem *mMemory; 413 QCamera3StreamMem *mMemory; 612 QCamera3StreamMem *mMemory; 653 QCamera3StreamMem *mMemory;
|
QCamera3PostProc.h | 114 int32_t init(QCamera3StreamMem *mMemory);
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 526 mMemory(numBuffers), 538 int32_t rc = m_postprocessor.init(&mMemory, mPostProcMask); 609 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); 610 resultFrameNumber = mMemory.getFrameNumber(frameIndex); 630 rc = mMemory.unregisterBuffer(frameIndex); 662 mMemory.deallocate(); 741 index = mMemory.getMatchBufIndex((void*)buffer); 750 index = mMemory.getMatchBufIndex((void*)buffer); 762 rc = mMemory.markFrameNumber(index, frameNumber); 817 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) [all...] |
QCamera3Channel.h | 209 QCamera3StreamMem mMemory; //output buffer allocated by fwk 293 QCamera3StreamMem *mMemory; 361 QCamera3StreamMem *mMemory; 546 QCamera3StreamMem *mMemory; 581 QCamera3StreamMem *mMemory;
|
QCamera3PostProc.h | 116 int32_t init(QCamera3StreamMem *mMemory,
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 526 mMemory(numBuffers), 538 int32_t rc = m_postprocessor.init(&mMemory, mPostProcMask); 609 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); 610 resultFrameNumber = mMemory.getFrameNumber(frameIndex); 630 rc = mMemory.unregisterBuffer(frameIndex); 662 mMemory.deallocate(); 741 index = mMemory.getMatchBufIndex((void*)buffer); 750 index = mMemory.getMatchBufIndex((void*)buffer); 762 rc = mMemory.markFrameNumber(index, frameNumber); 817 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) [all...] |
QCamera3Channel.h | 209 QCamera3StreamMem mMemory; //output buffer allocated by fwk 293 QCamera3StreamMem *mMemory; 361 QCamera3StreamMem *mMemory; 546 QCamera3StreamMem *mMemory; 581 QCamera3StreamMem *mMemory;
|
QCamera3PostProc.h | 116 int32_t init(QCamera3StreamMem *mMemory,
|
/frameworks/av/media/libstagefright/include/ |
CallbackDataSource.h | 48 sp<IMemory> mMemory;
|
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.h | 38 sp<IMemory> mMemory;
|