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.cpp484 for (int i = 0; i < SENSOR_REGISTRATIONS_BUF_SIZE; ++i) { in onFirstRef()
700 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
701 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
707 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
708 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
712 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump()
713 SENSOR_REGISTRATIONS_BUF_SIZE; in dump()
831 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
837 curr = (curr + 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % SENSOR_REGISTRATIONS_BUF_SIZE; in dumpProtoLocked()
2156 mNextSensorRegIndex = (mNextSensorRegIndex + 1) % SENSOR_REGISTRATIONS_BUF_SIZE; in enable()
[all …]
DSensorService.h65 #define SENSOR_REGISTRATIONS_BUF_SIZE 500 macro