Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DSharedMemoryProxy.cpp33 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()
DSharedRingBuffer.cpp37 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()
DSharedMemoryWrapper.cpp78 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()
DSharedMemoryProxy.h48 int32_t mSharedMemorySizeInBytes = 0; variable
DSharedRingBuffer.h68 int32_t mSharedMemorySizeInBytes = 0; variable
DSharedMemoryWrapper.h83 int32_t mSharedMemorySizeInBytes = 0; variable