Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp127 int looperEvents = 0; in setFileDescriptorEvents() local
129 looperEvents |= Looper::EVENT_INPUT; in setFileDescriptorEvents()
132 looperEvents |= Looper::EVENT_OUTPUT; in setFileDescriptorEvents()
134 mLooper->addFd(fd, Looper::POLL_CALLBACK, looperEvents, this, in setFileDescriptorEvents()
141 int NativeMessageQueue::handleEvent(int fd, int looperEvents, void* data) { in handleEvent() argument
143 if (looperEvents & Looper::EVENT_INPUT) { in handleEvent()
146 if (looperEvents & Looper::EVENT_OUTPUT) { in handleEvent()
149 if (looperEvents & (Looper::EVENT_ERROR | Looper::EVENT_HANGUP | Looper::EVENT_INVALID)) { in handleEvent()