Lines Matching refs:count
114 int pollEvents(sensors_event_t* data, int count);
273 int sensors_poll_context_t::pollEvents(sensors_event_t *data, int count) in pollEvents() argument
280 for (int i = 0; count && i < numSensorDrivers; i++) { in pollEvents()
287 nb = ((MPLSensor*) sensor)->readEvents(data, count); in pollEvents()
289 count -= nb; in pollEvents()
296 nb = ((MPLSensor*) sensor)->readEvents(data, count); in pollEvents()
298 count -= nb; in pollEvents()
303 nb = ((MPLSensor*) sensor)->readDmpOrientEvents(data, count); in pollEvents()
306 count -= nb; in pollEvents()
312 nb = ((MPLSensor*) sensor)->readDmpSignificantMotionEvents(data, count); in pollEvents()
314 count -= nb; in pollEvents()
319 …nb = ((MPLSensor*) sensor)->readDmpPedometerEvents(data, count, ID_P, SENSOR_TYPE_STEP_DETECTOR, 0… in pollEvents()
321 count -= nb; in pollEvents()
326 nb = sensor->readEvents(data, count); in pollEvents()
327 if (nb < count) { in pollEvents()
331 count -= nb; in pollEvents()
336 nb, count, nbEvents, data->timestamp, data->data[0]); in pollEvents()
343 …nb = ((MPLSensor*) mSensor[mpl])->readDmpPedometerEvents(data, count, ID_SC, SENSOR_TYPE_STEP_COUN… in pollEvents()
345 nb, count, nbEvents, data->timestamp, data->data[0]); in pollEvents()
347 count -= nb; in pollEvents()
352 if (count) { in pollEvents()
368 } while (n && count); in pollEvents()
413 sensors_event_t* data, int count) in poll__poll() argument
416 return ctx->pollEvents(data, count); in poll__poll()