Lines Matching refs:queue
199 * Creates a new sensor event queue and associate it with a looper.
205 * Destroys the event queue and free all resources associated to it.
207 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
215 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
220 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
229 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
233 * sensor queue. Returns 1 if the queue has events; 0 if
236 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue);
239 * Returns the next available events from the queue. Returns a negative
245 * ssize_t numEvent = ASensorEventQueue_getEvents(queue, &event, 1);
248 * ssize_t numEvent = ASensorEventQueue_getEvents(queue, eventBuffer, 8);
251 ssize_t ASensorEventQueue_getEvents(ASensorEventQueue* queue,