Home
last modified time | relevance | path

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

/system/chre/apps/sensor_world/
Dsensor_world.cc206 size_t statusIndex = 0; variable
390 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in nanoappHandleEvent()
392 bool success = chreGetSensorSamplingStatus(sensors[statusIndex].handle, in nanoappHandleEvent()
395 sensors[statusIndex].info.sensorName, success, status.enabled, in nanoappHandleEvent()
398 statusIndex = (statusIndex + 1) % ARRAY_SIZE(sensors); in nanoappHandleEvent()