Searched refs:mSizeInBytes (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libaaudio/src/binding/ |
D | SharedRegionParcelable.cpp | 39 mSizeInBytes(parcelable.sizeInBytes) {} in SharedRegionParcelable() 45 result.sizeInBytes = mSizeInBytes; in parcelable() 52 mSizeInBytes = std::get<SIZE>(memoryInfoTuple); in setup() 59 mSizeInBytes}; in getMemoryInfo() 64 if (mSizeInBytes == 0) { in resolve() 73 return memoryParcel->resolve(mOffsetInBytes, mSizeInBytes, regionAddressPtr); in resolve() 77 if (mSizeInBytes < 0 || mSizeInBytes >= MAX_MMAP_SIZE_BYTES) { in validate() 78 ALOGE("invalid mSizeInBytes = %d", mSizeInBytes); in validate() 81 if (mSizeInBytes > 0) { in validate() 95 ALOGD("mSizeInBytes = %d -----", mSizeInBytes); in dump() [all …]
|
D | SharedMemoryParcelable.cpp | 42 mSizeInBytes = parcelable.size; in SharedMemoryParcelable() 49 result.size = mSizeInBytes; in parcelable() 56 result.setup(mFd, static_cast<int32_t>(mSizeInBytes)); in dup() 64 mSizeInBytes = sizeInBytes; in setup() 68 setup(sharedMemoryParcelable.mFd, sharedMemoryParcelable.mSizeInBytes); in setup() 73 int err = munmap(mResolvedAddress, mSizeInBytes); in close() 92 mResolvedAddress = (uint8_t *) mmap(nullptr, mSizeInBytes, PROT_READ | PROT_WRITE, in resolveSharedMemory() 96 fd.get(), mSizeInBytes, strerror(errno)); in resolveSharedMemory() 107 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { in resolve() 110 offsetInBytes, sizeInBytes, mSizeInBytes); in resolve() [all …]
|
D | SharedRegionParcelable.h | 78 int32_t mSizeInBytes = 0; variable
|
D | SharedMemoryParcelable.h | 82 int64_t mSizeInBytes = 0; variable
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionRingBuffer.h | 37 size_t size() const { return mSizeInBytes; } in size() 40 void setSize(size_t newSize) { mSizeInBytes = newSize; } in setSize() 75 while (mUsedInBytes + protoSize > mSizeInBytes) { in emplace() 111 size_t mSizeInBytes = 0U; variable
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.h | 71 size_t getSizeInBytes() const { return mSizeInBytes; } in getSizeInBytes() 79 size_t mSizeInBytes = 0; variable
|
D | Sound.cpp | 211 &channelMask, mHeap, &mSizeInBytes); in doLoad() 226 __func__, mHeap->getBase(), mSizeInBytes, sampleRate, channelCount); in doLoad() 227 mData = new MemoryBase(mHeap, 0, mSizeInBytes); in doLoad()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 277 private int mSizeInBytes; field in PageContentRepository.PageContentLruCache 290 mSizeInBytes -= page.getSizeInBytes(); in removeRenderedPage() 303 if (mSizeInBytes + contentSizeInBytes > mMaxSizeInBytes) { in putRenderedPage() 307 mSizeInBytes += contentSizeInBytes; in putRenderedPage() 330 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded() 338 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded() 343 return mSizeInBytes; in getSizeInBytes()
|