Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp153 int newWatchedEvents = mPollEnv->CallIntMethod(mPollObj, in handleEvent() local
155 if (!newWatchedEvents) { in handleEvent()
158 if (newWatchedEvents != oldWatchedEvents) { in handleEvent()
159 setFileDescriptorEvents(fd, newWatchedEvents); in handleEvent()
/frameworks/base/core/java/android/os/
DMessageQueue.java293 int newWatchedEvents = listener.onFileDescriptorEvents( in dispatchEvents() local
295 if (newWatchedEvents != 0) { in dispatchEvents()
296 newWatchedEvents |= OnFileDescriptorEventListener.EVENT_ERROR; in dispatchEvents()
301 if (newWatchedEvents != oldWatchedEvents) { in dispatchEvents()
306 record.mEvents = newWatchedEvents; in dispatchEvents()
307 if (newWatchedEvents == 0) { in dispatchEvents()
315 return newWatchedEvents; in dispatchEvents()