Searched refs:SENSORS_EVENT_SIZE (Results 1 – 3 of 3) sorted by relevance
100 private static final int SENSORS_EVENT_SIZE = 104; field in SensorDirectReportTest104 private static final int SHARED_MEMORY_SIZE = SENSORS_EVENT_COUNT * SENSORS_EVENT_SIZE;1094 offset += (events.size() * SENSORS_EVENT_SIZE ) % SHARED_MEMORY_SIZE; in runReconfigureTest()1157 if (!readSharedMemory(memType, secondary, offset, SENSORS_EVENT_SIZE)) { in collectSensorEventsRealtime()1171 offset += SENSORS_EVENT_SIZE; in collectSensorEventsRealtime()1172 if (offset + SENSORS_EVENT_SIZE > SHARED_MEMORY_SIZE) { in collectSensorEventsRealtime()1192 byte[] lastArray = new byte[SENSORS_EVENT_SIZE]; in checkAtomicCounterUpdate()1196 if (!readSharedMemory(memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE) in checkAtomicCounterUpdate()1205 for (i = 0; i < SENSORS_EVENT_SIZE; ++i) { in checkAtomicCounterUpdate()1213 byte[] currentArray = new byte[SENSORS_EVENT_SIZE]; in checkAtomicCounterUpdate()[all …]
57 public static final int SENSORS_EVENT_SIZE = 104; field in SensorRatePermissionDirectReportTestHelper158 int sharedMemorySize = sensorEventCount * SENSORS_EVENT_SIZE; in getSensorEvents()180 int sharedMemorySize = sensorEventCount * SENSORS_EVENT_SIZE; in readEventsFromHardwareBuffer()
145 SensorRatePermissionDirectReportTestHelper.SENSORS_EVENT_SIZE; in testSamplingRateMicToggleOffOnOff()