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.cpp296 for (int i = 0; i < SENSOR_REGISTRATIONS_BUF_SIZE; ++i) { in onFirstRef()
529 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
530 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
536 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
537 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
541 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
542 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
660 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
666 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
1820 mNextSensorRegIndex = (mNextSensorRegIndex + 1) % SENSOR_REGISTRATIONS_BUF_SIZE; in enable()
[all …]
DSensorService.h62 #define SENSOR_REGISTRATIONS_BUF_SIZE 200 macro