Searched refs:pollOnce (Results 1 - 10 of 10) sorted by relevance

/frameworks/native/libs/utils/tests/
H A DLooper_test.cpp116 StopWatch stopWatch("pollOnce");
117 int result = mLooper->pollOnce(100);
123 << "pollOnce result should be ALOOPER_POLL_TIMEOUT";
129 StopWatch stopWatch("pollOnce");
130 int result = mLooper->pollOnce(1000);
136 << "pollOnce result should be ALOOPER_POLL_CALLBACK because loop was awoken";
143 StopWatch stopWatch("pollOnce");
144 int result = mLooper->pollOnce(1000);
150 << "pollOnce result should be ALOOPER_POLL_CALLBACK because loop was awoken";
154 StopWatch stopWatch("pollOnce");
[all...]
/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/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp62 int32_t ret = loop->pollOnce(-1);
/frameworks/base/native/android/
H A Dlooper.cpp52 return looper->pollOnce(timeoutMillis, outFd, outEvents, outData);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp88 int32_t ret = loop->pollOnce(-1);
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp85 result = looper->pollOnce(-1, NULL, &events, NULL);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp105 int32_t ret = mLooper->pollOnce(-1);
117 ALOGE("Looper::pollOnce() returned unknown status %d", ret);
/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...]
/frameworks/base/services/input/
H A DInputDispatcher.cpp243 mLooper->pollOnce(timeoutMillis);

Completed in 913 milliseconds