Searched defs:pollOnce (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp40 void pollOnce(JNIEnv* env, int timeoutMillis);
95 void NativeMessageQueue::pollOnce(JNIEnv* env, int timeoutMillis) { function in class:android::NativeMessageQueue
97 mLooper->pollOnce(timeoutMillis);
157 nativeMessageQueue->pollOnce(env, timeoutMillis);
/frameworks/native/include/utils/
H A DLooper.h138 * pollOnce() is prepared to handle callback-less events itself.
174 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
175 inline int pollOnce(int timeoutMillis) { function in class:android::Looper
176 return pollOnce(timeoutMillis, NULL, NULL, NULL);
180 * Like pollOnce(), but performs all pending callbacks until all
202 * "ident" is an identifier for this event, which is returned from pollOnce().
361 // This state is only used privately by pollOnce and does not require a lock since
/frameworks/native/libs/utils/
H A DLooper.cpp157 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { function in class:Looper
168 ALOGD("%p ~ pollOnce - returning signalled identifier %d: "
181 ALOGD("%p ~ pollOnce - returning result %d", this, result);
195 ALOGD("%p ~ pollOnce - waiting: timeoutMillis=%d", this, timeoutMillis);
207 ALOGD("%p ~ pollOnce - next message in %lldns, adjusted timeout: timeoutMillis=%d",
236 ALOGD("%p ~ pollOnce - timeout", this);
244 ALOGD("%p ~ pollOnce - handling events from %d fds", this, eventCount);
291 ALOGD("%p ~ pollOnce - sending message: handler=%p, what=%d",
318 ALOGD("%p ~ pollOnce - invoking fd event callback %p: fd=%d, events=0x%x, data=%p",
338 result = pollOnce(timeoutMilli
[all...]

Completed in 1245 milliseconds