Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp274 for (int i = 0; i < SENSOR_REGISTRATIONS_BUF_SIZE; ++i) { in onFirstRef()
495 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
496 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
502 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
503 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
507 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
508 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
1426 mNextSensorRegIndex = (mNextSensorRegIndex + 1) % SENSOR_REGISTRATIONS_BUF_SIZE; in enable()
1450 mNextSensorRegIndex = (mNextSensorRegIndex + 1) % SENSOR_REGISTRATIONS_BUF_SIZE; in disable()
DSensorService.h57 #define SENSOR_REGISTRATIONS_BUF_SIZE 200 macro