Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp142 int looperEvents = 0; in setFileDescriptorEvents() local
144 looperEvents |= Looper::EVENT_INPUT; in setFileDescriptorEvents()
147 looperEvents |= Looper::EVENT_OUTPUT; in setFileDescriptorEvents()
149 mLooper->addFd(fd, Looper::POLL_CALLBACK, looperEvents, in setFileDescriptorEvents()
157 int NativeMessageQueue::handleEvent(int fd, int looperEvents, void* data) { in handleEvent() argument
159 if (looperEvents & Looper::EVENT_INPUT) { in handleEvent()
162 if (looperEvents & Looper::EVENT_OUTPUT) { in handleEvent()
165 if (looperEvents & (Looper::EVENT_ERROR | Looper::EVENT_HANGUP | Looper::EVENT_INVALID)) { in handleEvent()