Searched refs:mSharedMemorySizeInBytes (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/oboeservice/ |
D | SharedMemoryProxy.cpp | 33 munmap(mOriginalSharedMemory, mSharedMemorySizeInBytes); in ~SharedMemoryProxy() 37 munmap(mProxySharedMemory, mSharedMemorySizeInBytes); in ~SharedMemoryProxy() 45 mSharedMemorySizeInBytes = capacityInBytes; in open() 47 mProxyFileDescriptor = ashmem_create_region("AAudioProxyDataBuffer", mSharedMemorySizeInBytes); in open() 61 mOriginalSharedMemory = (uint8_t *) mmap(nullptr, mSharedMemorySizeInBytes, in open() 72 mProxySharedMemory = (uint8_t *) mmap(mOriginalSharedMemory, mSharedMemorySizeInBytes, in open() 78 munmap(mOriginalSharedMemory, mSharedMemorySizeInBytes); in open()
|
D | SharedRingBuffer.cpp | 37 munmap(mSharedMemory, mSharedMemorySizeInBytes); in ~SharedRingBuffer() 48 mSharedMemorySizeInBytes = mDataMemorySizeInBytes + (2 * (sizeof(fifo_counter_t))); in allocate() 49 mFileDescriptor.reset(ashmem_create_region("AAudioSharedRingBuffer", mSharedMemorySizeInBytes)); in allocate() 65 auto tmpPtr = (uint8_t *) mmap(nullptr, mSharedMemorySizeInBytes, in allocate() 88 int fdIndex = endpointParcelable->addFileDescriptor(mFileDescriptor, mSharedMemorySizeInBytes); in fillParcelable()
|
D | SharedMemoryWrapper.cpp | 78 mSharedMemorySizeInBytes = bytesPerFrame * capacityInFrames; in setupFifoBuffer() 79 auto tmpPtr = (uint8_t *) mmap(nullptr, mSharedMemorySizeInBytes, in setupFifoBuffer() 98 munmap(mSharedMemory, mSharedMemorySizeInBytes); in reset() 110 endpointParcelable->addFileDescriptor(mDataFd, mSharedMemorySizeInBytes); in fillParcelable()
|
D | SharedMemoryProxy.h | 48 int32_t mSharedMemorySizeInBytes = 0; variable
|
D | SharedRingBuffer.h | 68 int32_t mSharedMemorySizeInBytes = 0; variable
|
D | SharedMemoryWrapper.h | 83 int32_t mSharedMemorySizeInBytes = 0; variable
|