Home
last modified time | relevance | path

Searched refs:mSharedMemorySizeInBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/oboeservice/
DSharedMemoryProxy.cpp29 munmap(mOriginalSharedMemory, mSharedMemorySizeInBytes); in ~SharedMemoryProxy()
33 munmap(mProxySharedMemory, mSharedMemorySizeInBytes); in ~SharedMemoryProxy()
41 mSharedMemorySizeInBytes = capacityInBytes; in open()
43 mProxyFileDescriptor = ashmem_create_region("AAudioProxyDataBuffer", mSharedMemorySizeInBytes); in open()
57 mOriginalSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in open()
68 mProxySharedMemory = (uint8_t *) mmap(mOriginalSharedMemory, mSharedMemorySizeInBytes, in open()
74 munmap(mOriginalSharedMemory, mSharedMemorySizeInBytes); in open()
DSharedRingBuffer.cpp35 munmap(mSharedMemory, mSharedMemorySizeInBytes); in ~SharedRingBuffer()
46 mSharedMemorySizeInBytes = mDataMemorySizeInBytes + (2 * (sizeof(fifo_counter_t))); in allocate()
47 mFileDescriptor.reset(ashmem_create_region("AAudioSharedRingBuffer", mSharedMemorySizeInBytes)); in allocate()
62 mSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in allocate()
86 int fdIndex = endpointParcelable.addFileDescriptor(mFileDescriptor, mSharedMemorySizeInBytes); in fillParcelable()
DSharedMemoryProxy.h48 int32_t mSharedMemorySizeInBytes = 0; variable
DSharedRingBuffer.h58 int32_t mSharedMemorySizeInBytes = 0; variable