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.cpp356 for (int i = 0; i < SENSOR_REGISTRATIONS_BUF_SIZE; ++i) { in onFirstRef()
591 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
592 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
598 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
599 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
603 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
604 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
722 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
728 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
1870 mNextSensorRegIndex = (mNextSensorRegIndex + 1) % SENSOR_REGISTRATIONS_BUF_SIZE; in enable()
[all …]
DSensorService.h63 #define SENSOR_REGISTRATIONS_BUF_SIZE 200 macro