Searched refs:sensorEvents (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/util/sensortest/ |
D | sensortest.cpp | 198 ASensorEvent sensorEvents[16]; in main() local 226 … if ((numSensorEvents = ASensorEventQueue_getEvents(sensorEventQueue, sensorEvents, 16)) < 0) { in main() 231 if ((configListIndex = findSensorTypeInConfigList(sensorEvents[i].type)) < 0) { in main() 232 printf("Received unexpected event for type %d\n", sensorEvents[i].type); in main() 237 printf("[%d] = %f, %f, %f @ %" PRId64 "\n", sensorEvents[i].type, in main() 238 sensorEvents[i].data[0], sensorEvents[i].data[1], in main() 239 sensorEvents[i].data[2], sensorEvents[i].timestamp); in main()
|