Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java103 private static final int SENSORS_EVENT_SIZE = 104; field in SensorDirectReportTest
107 private static final int SHARED_MEMORY_SIZE = SENSORS_EVENT_COUNT * SENSORS_EVENT_SIZE;
915 offset += (events.size() * SENSORS_EVENT_SIZE ) % SHARED_MEMORY_SIZE; in runReconfigureTest()
978 if (!readSharedMemory(memType, secondary, offset, SENSORS_EVENT_SIZE)) { in collectSensorEventsRealtime()
992 offset += SENSORS_EVENT_SIZE; in collectSensorEventsRealtime()
993 if (offset + SENSORS_EVENT_SIZE > SHARED_MEMORY_SIZE) { in collectSensorEventsRealtime()
1013 byte[] lastArray = new byte[SENSORS_EVENT_SIZE]; in checkAtomicCounterUpdate()
1017 if (!readSharedMemory(memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE) in checkAtomicCounterUpdate()
1026 for (i = 0; i < SENSORS_EVENT_SIZE; ++i) { in checkAtomicCounterUpdate()
1034 byte[] currentArray = new byte[SENSORS_EVENT_SIZE]; in checkAtomicCounterUpdate()
[all …]