Searched refs:eventsRead (Results 1 – 1 of 1) sorted by relevance
334 int eventsRead = 0; in poll() local338 while (eventsRead == 0) { in poll()339 while (empties < queueCount && eventsRead < maxReads) { in poll()346 this->copy_event_remap_handle(&data[eventsRead], event, nextReadIndex); in poll()347 if (data[eventsRead].sensor == -1) { in poll()351 eventsRead++; in poll()357 if (eventsRead == 0) { in poll()367 ALOGV("poll returning %d events.", eventsRead); in poll()369 return eventsRead; in poll()