Searched refs:SHARED_MEMORY_SIZE (Results 1 – 1 of 1) sorted by relevance
107 private static final int SHARED_MEMORY_SIZE = SENSORS_EVENT_COUNT * SENSORS_EVENT_SIZE; field in SensorDirectReportTest168 mByteBuffer = ByteBuffer.allocate(SHARED_MEMORY_SIZE); in setUp()915 offset += (events.size() * SENSORS_EVENT_SIZE ) % SHARED_MEMORY_SIZE; in runReconfigureTest()993 if (offset + SENSORS_EVENT_SIZE > SHARED_MEMORY_SIZE) { in collectSensorEventsRealtime()1077 if (offset + SENSORS_EVENT_SIZE > SHARED_MEMORY_SIZE) { in checkAtomicCounterUpdate()1090 memFile = new MemoryFile("Sensor Channel", SHARED_MEMORY_SIZE); in allocateMemoryFile()1101 SHARED_MEMORY_SIZE, 1 /* height */, HardwareBuffer.BLOB, 1 /* layer */, in allocateHardwareBuffer()1162 return readSharedMemory(memType, secondary, 0, SHARED_MEMORY_SIZE); in readSharedMemory()1200 while (offset <= SHARED_MEMORY_SIZE - SENSORS_EVENT_SIZE) { in checkSharedMemoryContent()1642 while (offset <= SHARED_MEMORY_SIZE - SENSORS_EVENT_SIZE) {