Searched refs:num_events (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 306 int num_events = 0; in waitEvents() local 310 while (num_events < min_events) { in waitEvents() 349 num_events += this_events; in waitEvents() 379 unsigned num_events = 0; in cancelEvents() local 387 num_events++; in cancelEvents() 390 if (num_events != end - start) { in cancelEvents() 394 int evs = TEMP_FAILURE_RETRY(io_getevents(mCtx, num_events, AIO_BUFS_MAX, events, nullptr)); in cancelEvents() 395 if (static_cast<unsigned>(evs) != num_events) { in cancelEvents() 401 if (num_events && ::read(mEventFd, &ev_cnt, sizeof(ev_cnt)) == -1) in cancelEvents() 487 unsigned num_events = 0; in receiveFile() local [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | epoll_event_dispatcher.cpp | 100 const int num_events = epoll_wait(epoll_fd_.Get(), events, kMaxNumEvents, -1); in EventThread() local 101 if (num_events < 0 && errno != EINTR) in EventThread() 105 num_events); in EventThread() 107 for (int i = 0; i < num_events; i++) { in EventThread()
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 279 const int num_events = ret; in Start() local 280 for (int i = 0; i < num_events; i++) { in Start()
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 174 const int num_events = ret; in WaitForBuffers() local 179 for (int i = 0; i < num_events; i++) { in WaitForBuffers() 187 id(), num_events, i, event_fd, index); in WaitForBuffers()
|