Searched refs:mSharedMemory (Results 1 – 4 of 4) sorted by relevance
49 private SharedMemory mSharedMemory; field in MemoryFile62 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 …]
36 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()
67 uint8_t *mSharedMemory = nullptr; // mmap variable
37711 Landroid/os/MemoryFile;->mSharedMemory:Landroid/os/SharedMemory;