Home
last modified time | relevance | path

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

/aosp14/system/core/trusty/keymaster/ipc/
H A Dtrusty_keymaster_ipc.cpp99 pfd.revents = 0; in trusty_keymaster_call_2()
113 } else if (pfd.revents != POLLOUT) { in trusty_keymaster_call_2()
114 ALOGW("unexpected poll() result: %d", pfd.revents); in trusty_keymaster_call_2()
168 pfd.revents = 0; in trusty_keymaster_call_2()
182 } else if (pfd.revents != POLLIN) { in trusty_keymaster_call_2()
183 ALOGW("unexpected poll() result: %d", pfd.revents); in trusty_keymaster_call_2()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
H A Dsnapuserd_server.cpp321 if (watched_fds_[0].revents) { in Run()
327 if (iter->revents && !HandleClient(iter->fd, iter->revents)) { in Run()
372 bool SnapuserdServer::HandleClient(android::base::borrowed_fd fd, int revents) { in HandleClient() argument
373 if (revents & POLLHUP) { in HandleClient()
383 LOG(ERROR) << "Encountered error handling client message, revents: " << revents; in HandleClient()
H A Dsnapuserd_server.h108 bool HandleClient(android::base::borrowed_fd fd, int revents);
/aosp14/system/core/libsysutils/src/
H A DSocketListener.cpp175 if (fds[0].revents & (POLLIN | POLLERR)) { in runListener()
183 if (mListen && (fds[1].revents & (POLLIN | POLLERR))) { in runListener()
202 if (p.revents & (POLLIN | POLLERR)) { in runListener()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_server.cpp411 if (watched_fds_[0].revents) { in Run()
417 if (iter->revents && !HandleClient(iter->fd, iter->revents)) { in Run()
465 bool UserSnapshotServer::HandleClient(android::base::borrowed_fd fd, int revents) { in HandleClient() argument
470 if (str.empty() && (revents & POLLHUP)) { in HandleClient()
475 LOG(ERROR) << "Encountered error handling client message, revents: " << revents; in HandleClient()
H A Dsnapuserd_server.h108 bool HandleClient(android::base::borrowed_fd fd, int revents);
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaMidiDevice.java238 if ((pfd.revents & (OsConstants.POLLERR in openLocked()
241 } else if ((pfd.revents & OsConstants.POLLIN) != 0) { in openLocked()
243 pfd.revents = 0; in openLocked()
/aosp14/system/core/init/
H A Duevent_listener.cpp195 ufd.revents = 0; in Poll()
213 if (ufd.revents & POLLIN) { in Poll()
H A Dsubcontext.cpp126 ufd[0].revents = 0; in MainLoop()
/aosp14/system/core/fs_mgr/
H A Dfile_wait.cpp157 .revents = 0, in WaitImpl()
167 if (event.revents & POLLERR) { in WaitImpl()
/aosp14/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp88 if ((pfds.revents & POLLERR) != 0) { in read()
197 if ((pfds[i].revents & POLLERR) != 0) { in readProcessedDataInStream()
/aosp14/system/core/trusty/metrics/
H A Dmetrics.cpp69 if (!(pfd.revents & POLLIN)) { in WaitForEvent()
H A Dmetrics_test.cpp123 ASSERT_TRUE(pfds[1].revents & POLLIN); in TEST_F()
/aosp14/frameworks/base/native/android/
H A Dsensor.cpp268 pfd.revents = 0; in ASensorEventQueue_hasEvents()
275 if (pfd.revents != POLLIN) in ASensorEventQueue_hasEvents()
/aosp14/system/core/toolbox/
H A Dgetevent.c660 if(ufds[0].revents & POLLIN) { in getevent_main()
664 if(ufds[i].revents) { in getevent_main()
665 if(ufds[i].revents & POLLIN) { in getevent_main()
/aosp14/system/core/libusbhost/
H A Dusbhost.c745 struct pollfd p = {.fd = dev->fd, .events = POLLOUT, .revents = 0}; in usb_request_wait()
749 if (res != 1 || p.revents != POLLOUT) { in usb_request_wait()
750 D("[ poll - event %d, error %d]\n", p.revents, errno); in usb_request_wait()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java581 fds[0].revents = 0; in handleParentProc()
593 if ((fds[0].revents & POLLIN) != 0) { in handleParentProc()
H A DZygoteServer.java504 if ((pollFDs[pollIndex].revents & POLLIN) == 0) { in runSelectLoop()
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_os_ZygoteCommandBuffer.cpp459 if ((fd_structs[SESSION_IDX].revents & POLLIN) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
463 } else if (poll_res == 0 || (fd_structs[ZYGOTE_IDX].revents & POLLIN) == 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
/aosp14/system/core/debuggerd/client/
H A Ddebuggerd_client.cpp263 .fd = pipe_read.get(), .events = POLLIN, .revents = 0, in debuggerd_trigger_dump()
/aosp14/system/core/libsync/
H A Dsync.c140 if (fds.revents & (POLLERR | POLLNVAL)) { in sync_wait()
/aosp14/system/core/libnetutils/
H A Ddhcpclient.c422 pfd.revents = 0; in dhcp_init_ifc()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp591 if (pfds[1].revents == POLLIN) { in waitForData()
596 if (pfds[0].revents == POLLIN) { in waitForData()
/aosp14/frameworks/base/core/java/android/os/
H A DProcess.java1577 fds[0].revents = 0; in waitForProcessDeath()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...