Home
last modified time | relevance | path

Searched refs:pollOnce (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp48 void pollOnce(JNIEnv* env, jobject obj, int timeoutMillis);
122 void NativeMessageQueue::pollOnce(JNIEnv* env, jobject pollObj, int timeoutMillis) { in pollOnce() function in android::NativeMessageQueue
125 mLooper->pollOnce(timeoutMillis); in pollOnce()
225 nativeMessageQueue->pollOnce(env, obj, timeoutMillis); in android_os_MessageQueue_nativePollOnce()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.h36 int pollOnce(int timeoutMillis, int *outFd, int *outEvents, void **outData);
DALooper.cpp43 int ALooper::pollOnce( in pollOnce() function in ALooper
DASensorManager.cpp452 int res = getTheLooper()->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp72 int32_t ret = loop->pollOnce(-1); in main()
/frameworks/base/libs/hwui/platform/android/thread/
DThreadBase.h64 int result = mLooper->pollOnce(timeout); in waitForWork()
/frameworks/base/native/android/
Dlooper.cpp60 return looper->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
/frameworks/native/libs/gui/tests/
DChoreographer_test.cpp66 pollResult = looper->pollOnce(16); in TEST_F()
DRegionSampling_test.cpp123 auto rc = looper->pollOnce(poll_interval); in __anon53ee6fa30302()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp136 mLooper->pollOnce(-1); in waitForVsync()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp132 int32_t ret = loop->pollOnce(-1); in main()
/frameworks/native/services/inputflinger/
DInputFilterCallbacks.cpp61 mLooper->pollOnce(toMillisecondTimeoutDelay(now, when)); in sleepUntil()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp101 result = looper->pollOnce(-1, nullptr, &events, nullptr); in waitForEvent()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp151 int32_t ret = mLooper->pollOnce(-1); in waitMessage()
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp273 const int ret = mLooper->pollOnce(-1 /* no timeout */, nullptr /* outFd */, in threadFunc()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp228 mLooper->pollOnce(100); in loopThread()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp274 mLooper->pollOnce(/*timeoutMillis=*/LOOP_INDEFINITELY); in runLooper()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1777 mLooper->pollOnce(0); in processDisplayEvents()
/frameworks/native/services/sensorservice/
DSensorService.cpp1373 int ret = looper->pollOnce(timeout); in threadLoop()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1010 mLooper->pollOnce(timeoutMillis); in dispatchOnce()