Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DMemoryFile.java49 private SharedMemory mSharedMemory; field in MemoryFile
62 mSharedMemory = SharedMemory.create(name, length); in MemoryFile()
63 mMapping = mSharedMemory.mapReadWrite(); in MemoryFile()
75 mSharedMemory.close(); in close()
102 if (native_pin(mSharedMemory.getFileDescriptor(), true)) { in beginAccess()
110 native_pin(mSharedMemory.getFileDescriptor(), false); in endAccess()
120 return mSharedMemory.getSize(); in length()
152 native_pin(mSharedMemory.getFileDescriptor(), !allowPurging); in allowPurging()
231 return mSharedMemory.getFileDescriptor(); in getFileDescriptor()
255 if (mOffset >= mSharedMemory.getSize()) { in available()
[all …]
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp36 if (mSharedMemory != nullptr) { in ~SharedRingBuffer()
37 munmap(mSharedMemory, mSharedMemorySizeInBytes); in ~SharedRingBuffer()
38 mSharedMemory = nullptr; in ~SharedRingBuffer()
74 mSharedMemory = tmpPtr; in allocate()
78 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET]; in allocate()
80 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET]; in allocate()
81 uint8_t *dataAddress = &mSharedMemory[SHARED_RINGBUFFER_DATA_OFFSET]; in allocate()
DSharedRingBuffer.h67 uint8_t *mSharedMemory = nullptr; // mmap variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37711 Landroid/os/MemoryFile;->mSharedMemory:Landroid/os/SharedMemory;