/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_event_set.cpp | 117 std::array<pollfd, 3> pfds = {{{pollin_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents() 118 {pollhup_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents() 130 ((pfds[0].revents & POLLIN) ? EPOLLIN : 0) | in PollPendingEvents() 131 ((pfds[1].revents & POLLIN) ? EPOLLHUP : 0) | in PollPendingEvents() 145 {pollhup_event_fd_.Get(), POLLIN}}; in GetEventSources()
|
D | service_framework_tests.cpp | 647 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F() 655 ASSERT_TRUE((POLLIN & pfd.revents) != 0); in TEST_F() 668 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F()
|
/frameworks/native/cmds/lshal/ |
D | PipeRelay.cpp | 59 pfd[0] = {.fd = rfd.get(), .events = POLLIN}; in thread() 70 if (pfd[0].revents & POLLIN) { in thread() 93 if ((pfd[0].revents & POLLIN) == 0) { in thread()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteServer.java | 19 import static android.system.OsConstants.POLLIN; 432 pollFDs[pollIndex].events = (short) POLLIN; in runSelectLoop() 441 pollFDs[pollIndex].events = (short) POLLIN; in runSelectLoop() 452 pollFDs[pollIndex].events = (short) POLLIN; in runSelectLoop() 504 if ((pollFDs[pollIndex].revents & POLLIN) == 0) { in runSelectLoop()
|
D | ZygoteConnection.java | 21 import static android.system.OsConstants.POLLIN; 583 fds[0].events = (short) POLLIN; in handleParentProc() 596 if ((fds[0].revents & POLLIN) != 0) { in handleParentProc()
|
/frameworks/native/libs/binder/ |
D | RpcTransportTipcAndroid.cpp | 47 pollfd pfd{.fd = mSocket.fd.get(), .events = static_cast<int16_t>(POLLIN), .revents = 0}; in pollRead() 65 if (pfd.revents & POLLIN) { in pollRead() 125 POLLIN, altPoll); in interruptableReadFully()
|
D | UtilsHost.cpp | 128 if (pfd->revents & POLLIN) { in execute() 148 *outPollFd = {.fd = ret.outPipe.get(), .events = POLLIN}; in execute() 152 *errPollFd = {.fd = ret.errPipe.get(), .events = POLLIN}; in execute()
|
D | RpcTransportRaw.cpp | 82 return interruptableReadOrWrite(mSocket, fdTrigger, iovs, niovs, recv, "recvmsg", POLLIN, in interruptableReadFully()
|
D | RpcTransportTls.cpp | 197 return handlePoll(POLLIN | additionalEvent, fd, fdTrigger, fnString, altPoll); in pollForSslError() 364 "SSL_write", POLLIN, altPoll); in interruptableWriteFully()
|
/frameworks/base/cmds/incidentd/src/ |
D | FdBuffer.cpp | 56 struct pollfd pfds = {.fd = fd, .events = POLLIN}; in read() 148 {.fd = fd, .events = POLLIN}, in readProcessedDataInStream() 150 {.fd = fromFd.get(), .events = POLLIN}, in readProcessedDataInStream()
|
/frameworks/rs/ |
D | rsThreadIO.cpp | 111 p[0].events = POLLIN; in playCoreCommands() 114 p[1].events = POLLIN; in playCoreCommands()
|
D | rsFifoSocket.cpp | 94 p.events = POLLIN; in isEmpty()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ZygoteCommandBuffer.cpp | 418 fd_structs[ZYGOTE_IDX].events = POLLIN; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() 420 fd_structs[SESSION_IDX].events = POLLIN; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() 469 if ((fd_structs[SESSION_IDX].revents & POLLIN) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() 477 } else if (poll_res == 0 || (fd_structs[ZYGOTE_IDX].revents & POLLIN) == 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
|
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 291 mPollFds[0].events = POLLIN; in start() 293 mPollFds[1].events = POLLIN; in start() 320 if (mPollFds[0].revents & POLLIN) { in waitEvents() 326 if (mPollFds[1].revents & POLLIN) { in waitEvents()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaMidiDevice.java | 204 pollfd.events = (short) OsConstants.POLLIN; in openLocked() 241 } else if ((pfd.revents & OsConstants.POLLIN) != 0) { in openLocked()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 267 pfd.events = POLLIN; in ASensorEventQueue_hasEvents() 275 if (pfd.revents != POLLIN) in ASensorEventQueue_hasEvents()
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 317 const auto status = service_->ModifyChannelEvents(channel_id_, 0, POLLIN); in SignalAvailable() 330 const auto status = service_->ModifyChannelEvents(channel_id_, POLLIN, 0); in ClearAvailable()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateInternal.cpp | 167 pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in DumpFileFromFdToFd()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 567 struct pollfd pfds[2] = {{fd, POLLIN, 0}, {mEventFd, POLLIN, 0}}; in waitForData() 589 if (pfds[1].revents == POLLIN) { in waitForData() 594 if (pfds[0].revents == POLLIN) { in waitForData()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Fence.cpp | 642 pfd.events = POLLIN; in waitEvent() 657 if (pfd.revents & ~POLLIN) { in waitEvent()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 471 struct pollfd pfds = {.fd = fd.get(), .events = POLLIN}; in probablyHasInput() 483 return (pfds.revents & POLLIN) != 0; in probablyHasInput() 490 struct pollfd pfds = {.fd = fd.get(), .events = POLLIN}; in waitForMessage()
|
/frameworks/native/libs/binder/tests/ |
D | binderDriverInterfaceTest.cpp | 138 pfd.events = POLLIN; in binderWaitForReadData()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 329 struct pollfd checkFds[1] = { { mPort->ufd, POLLIN, 0 } }; in receive()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 502 struct pollfd pfd = {.fd = serviceDumpFd, .events = POLLIN}; in writeDump()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 50 pollfd p = {buffer->event_fd(), POLLIN, 0}; in PollBufferEvent() 641 pollfd p = {fd, POLLIN, 0}; in PollFd()
|