Searched refs:pollOnce (Results 1 - 5 of 5) sorted by last modified time

/system/core/include/utils/
H A DLooper.h227 * pollOnce() is prepared to handle callback-less events itself.
263 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
264 inline int pollOnce(int timeoutMillis) { function in class:android::Looper
265 return pollOnce(timeoutMillis, NULL, NULL, NULL);
269 * Like pollOnce(), but performs all pending callbacks until all
291 * "ident" is an identifier for this event, which is returned from pollOnce().
467 // This state is only used privately by pollOnce and does not require a lock since
/system/core/libutils/
H A DLooper.cpp178 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) {
189 ALOGD("%p ~ pollOnce - returning signalled identifier %d: "
202 ALOGD("%p ~ pollOnce - returning result %d", this, result);
216 ALOGD("%p ~ pollOnce - waiting: timeoutMillis=%d", this, timeoutMillis);
228 ALOGD("%p ~ pollOnce - next message in %" PRId64 "ns, adjusted timeout: timeoutMillis=%d",
270 ALOGD("%p ~ pollOnce - timeout", this);
278 ALOGD("%p ~ pollOnce - handling events from %d fds", this, eventCount);
325 ALOGD("%p ~ pollOnce - sending message: handler=%p, what=%d",
352 ALOGD("%p ~ pollOnce - invoking fd event callback %p: fd=%d, events=0x%x, data=%p",
376 result = pollOnce(timeoutMilli
[all...]
/system/core/libutils/include/utils/
H A DLooper.h227 * pollOnce() is prepared to handle callback-less events itself.
263 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
264 inline int pollOnce(int timeoutMillis) { function in class:android::Looper
265 return pollOnce(timeoutMillis, NULL, NULL, NULL);
269 * Like pollOnce(), but performs all pending callbacks until all
291 * "ident" is an identifier for this event, which is returned from pollOnce().
467 // This state is only used privately by pollOnce and does not require a lock since
/system/core/libutils/tests/
H A DLooper_test.cpp116 StopWatch stopWatch("pollOnce");
117 int result = mLooper->pollOnce(100);
123 << "pollOnce result should be LOOPER_POLL_TIMEOUT";
129 StopWatch stopWatch("pollOnce");
130 int result = mLooper->pollOnce(1000);
136 << "pollOnce result should be Looper::POLL_CALLBACK because loop was awoken";
143 StopWatch stopWatch("pollOnce");
144 int result = mLooper->pollOnce(1000);
150 << "pollOnce result should be Looper::POLL_CALLBACK because loop was awoken";
154 StopWatch stopWatch("pollOnce");
[all...]
/system/connectivity/wificond/
H A Dlooper_backed_event_loop.cpp126 looper_->pollOnce(-1);
131 looper_->pollOnce(timeout_millis);

Completed in 109 milliseconds