Searched refs:mSharedMemory (Results 1 – 7 of 7) 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()77 auto readCounterAddress = (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET]; in allocate()78 auto writeCounterAddress = (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET]; in allocate()79 uint8_t *dataAddress = &mSharedMemory[SHARED_RINGBUFFER_DATA_OFFSET]; in allocate()
87 mSharedMemory = tmpPtr; in setupFifoBuffer()91 mWriteCounterAddress, mSharedMemory); in setupFifoBuffer()97 if (mSharedMemory != nullptr) { in reset()98 munmap(mSharedMemory, mSharedMemorySizeInBytes); in reset()99 mSharedMemory = nullptr; in reset()
67 uint8_t *mSharedMemory = nullptr; // mmap variable
82 uint8_t* mSharedMemory = nullptr; variable
223 private final SharedMemory mSharedMemory; field in VirtualSensorDirectChannelWriter.SharedMemoryWrapper233 mSharedMemory = sharedMemory; in SharedMemoryWrapper()234 mMemoryMapping = mSharedMemory.mapReadWrite(); in SharedMemoryWrapper()240 mSharedMemory.close(); in close()266 if (mWriteOffset + SENSOR_EVENT_SIZE >= mSharedMemory.getSize()) { in write()
37068 Landroid/os/MemoryFile;->mSharedMemory:Landroid/os/SharedMemory;