Lines Matching refs:flush
350 // Clear all pending flush connections for all active sensors. If one of the active
351 // connections has called flush() and the underlying sensor has been disabled before a
352 // flush complete event is returned, we need to remove the connection from this queue.
619 // Map flush_complete_events in the buffer to SensorEventConnections which called flush
1270 // Call flush() before calling activate() on the sensor. Wait for a first
1271 // flush complete event before sending events on this connection. Ignore
1272 // one-shot sensors which don't support flush(). Ignore on-change sensors
1275 // already active, don't call flush().
1280 status_t err_flush = sensor->flush(connection.get(), handle);
1387 // Loop through all sensors for this connection and call flush on each of them.
1395 ALOGE("flush called on a one-shot sensor");
1400 // For older devices just increment pending flush count which will send a trivial
1401 // flush complete event.
1408 status_t err_flush = sensor->flush(connection.get(), handle);