Home
last modified time | relevance | path

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

/system/chre/apps/sensor_world/
Dsensor_world.cc268 size_t statusIndex = 0; variable
411 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in handleProximityEvent()
414 chreGetSensorSamplingStatus(sensors[statusIndex].handle, &status); in handleProximityEvent()
416 sensors[statusIndex].info.sensorName, success, status.enabled, in handleProximityEvent()
419 statusIndex = (statusIndex + 1) % ARRAY_SIZE(sensors); in handleProximityEvent()