Home
last modified time | relevance | path

Searched refs:EVENT_INPUT (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/system/core/libutils/
H A DLooper_test.cpp188 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
207 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
221 EXPECT_EQ(Looper::EVENT_INPUT, handler.events) in TEST_F()
229 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
248 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
264 EXPECT_EQ(Looper::EVENT_INPUT, handler.events) in TEST_F()
273 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
290 EXPECT_EQ(Looper::EVENT_INPUT, handler.events) in TEST_F()
298 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
320 handler.setCallback(mLooper, pipe.receiveFd, Looper::EVENT_INPUT); in TEST_F()
[all …]
H A DLooper.cpp291 if (epollEvents & EPOLLIN) events |= EVENT_INPUT; in pollInner()
661 if (events & EVENT_INPUT) epollEvents |= EPOLLIN; in initEventItem()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DLmkdConnection.java20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
155 EVENT_INPUT | EVENT_ERROR, in connect()
171 if ((events & EVENT_INPUT) != 0) { in fileDescriptorEventHandler()
193 return (EVENT_INPUT | EVENT_ERROR); in fileDescriptorEventHandler()
H A DPhantomProcessList.java20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
348 proc.mPidFd, EVENT_INPUT | EVENT_ERROR, in getOrCreatePhantomProcessIfNeededLocked()
373 if ((events & EVENT_INPUT) != 0) { in onPhantomProcessFdEvent()
/aosp12/frameworks/native/cmds/servicemanager/
H A Dmain.cpp50 Looper::EVENT_INPUT, in setupTo()
89 Looper::EVENT_INPUT, in setupTo()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
H A DFdEventsReader.java20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
75 private static final int FD_EVENTS = EVENT_INPUT | EVENT_ERROR;
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DFdEventsReader.java20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
72 private static final int FD_EVENTS = EVENT_INPUT | EVENT_ERROR;
/aosp12/system/hwservicemanager/
H A Dservice.cpp79 Looper::EVENT_INPUT, in setupTo()
118 Looper::EVENT_INPUT, in setupTo()
/aosp12/frameworks/native/services/displayservice/
H A DDisplayEventReceiver.cpp52 Looper::EVENT_INPUT, in AttachedEvent()
87 if (!(events & Looper::EVENT_INPUT)) { in handleEvent()
/aosp12/frameworks/native/libs/gui/
H A DDisplayEventDispatcher.cpp51 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, this, NULL); in initialize()
109 if (!(events & Looper::EVENT_INPUT)) { in handleEvent()
/aosp12/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp129 looperEvents |= Looper::EVENT_INPUT; in setFileDescriptorEvents()
143 if (looperEvents & Looper::EVENT_INPUT) { in handleEvent()
/aosp12/frameworks/base/libs/input/
H A DPointerControllerContext.cpp132 if (!(events & Looper::EVENT_INPUT)) { in handleEvent()
158 Looper::EVENT_INPUT, mContext.mCallback, nullptr); in initializeDisplayEventReceiver()
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/
H A DTcpKeepaliveController.java23 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
83 private static final int FD_EVENTS = EVENT_INPUT | EVENT_ERROR;
/aosp12/system/connectivity/wificond/
H A Dlooper_backed_event_loop.cpp99 event = Looper::EVENT_INPUT; in WatchFileDescriptor()
/aosp12/frameworks/base/libs/hwui/tests/common/
H A DTestContext.cpp68 mLooper->addFd(mDisplayEventReceiver.getFd(), EVENT_ID, Looper::EVENT_INPUT, nullptr, nullptr); in TestContext()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp223 mLooper->addFd(AChoreographer_getFd(mChoreographer), 0, Looper::EVENT_INPUT, in initializeChoreographer()
375 if (!(events & Looper::EVENT_INPUT)) { in choreographerCallback()
/aosp12/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java308 OnFileDescriptorEventListener.EVENT_INPUT, new OnFileDescriptorEventListener() { in fromFd()
312 if ((events & OnFileDescriptorEventListener.EVENT_INPUT) != 0) { in fromFd()
324 return EVENT_INPUT; in fromFd()
H A DMessageQueue.java976 public static final int EVENT_INPUT = 1 << 0; field
1010 EVENT_INPUT,
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DDnsResolver.java28 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
61 private static final int FD_EVENTS = EVENT_INPUT | EVENT_ERROR;
/aosp12/system/core/libutils/include/utils/
H A DLooper.h181 EVENT_INPUT = 1 << 0, enumerator
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DConnectionDetector.cpp125 if (wd < 0 || !mLooper->addFd(mInotifyFd, POLL_IDENT, Looper::EVENT_INPUT, nullptr, nullptr)) { in FileConnectionDetector()
/aosp12/hardware/google/pixel/thermal/utils/
H A Dthermal_watcher.cpp354 looper_->addFd(uevent_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatch()
395 looper_->addFd(thermal_genl_fd_.get(), 0, Looper::EVENT_INPUT, nullptr, nullptr); in registerFilesToWatchNl()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DMessageQueue.cpp93 tube.getFd(), 0, Looper::EVENT_INPUT, in setInjector()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBootReceiver.java202 return OnFileDescriptorEventListener.EVENT_INPUT; in onReceive()
210 return OnFileDescriptorEventListener.EVENT_INPUT; in onReceive()
215 tracefd, OnFileDescriptorEventListener.EVENT_INPUT, traceCallback); in onReceive()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
H A DIpReachabilityMonitorTest.kt137 listener.onFileDescriptorEvents(fd, OnFileDescriptorEventListener.EVENT_INPUT)

12