Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/
DUtilsHost.cpp126 auto handlePoll = [](unique_fd* fd, const pollfd* pfd, std::string* s) { in execute()
142 pollfd fds[2]; in execute()
143 pollfd *outPollFd = nullptr, *errPollFd = nullptr; in execute()
DFdTrigger.cpp70 pollfd pfd[]{ in triggerablePoll()
DRpcTransportTipcAndroid.cpp47 pollfd pfd{.fd = mSocket.fd.get(), .events = static_cast<int16_t>(POLLIN), .revents = 0}; in pollRead()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaMidiDevice.java202 StructPollfd pollfd = new StructPollfd(); in openLocked() local
203 pollfd.fd = fd; in openLocked()
204 pollfd.events = (short) OsConstants.POLLIN; in openLocked()
205 mPollFDs[i] = pollfd; in openLocked()
/frameworks/rs/
DrsFifoSocket.cpp92 struct pollfd p; in isEmpty()
DrsThreadIO.cpp109 struct pollfd p[2]; in playCoreCommands()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp56 struct pollfd pfds = {.fd = fd, .events = POLLIN}; in read()
147 struct pollfd pfds[] = { in readProcessedDataInStream()
/frameworks/av/media/mtp/
DMtpFfsHandle.h77 struct pollfd mPollFds[2];
/frameworks/native/cmds/lshal/
DPipeRelay.cpp58 pollfd pfd[2]; in thread()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp135 pollfd pfd = pollfd(); in binderWaitForReadData()
DbinderLibTest.cpp290 pollfd pfd = pollfd(); in waitForReadData()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp117 std::array<pollfd, 3> pfds = {{{pollin_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents()
Dservice_framework_tests.cpp647 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F()
668 pollfd pfd{client->event_fd(), POLLIN, 0}; in TEST_F()
Dipc_helper.cpp428 pollfd pfd = {fd.Get(), POLLIN, 0}; in WaitForEndpoint()
/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp167 pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in DumpFileFromFdToFd()
/frameworks/base/native/android/
Dsensor.cpp265 struct pollfd pfd; in ASensorEventQueue_hasEvents()
/frameworks/base/media/native/midi/
Damidi.cpp329 struct pollfd checkFds[1] = { { mPort->ufd, POLLIN, 0 } }; in receive()
/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteCommandBuffer.cpp414 struct pollfd fd_structs[2]; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp640 struct pollfd pfd; in waitEvent()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp502 struct pollfd pfd = {.fd = serviceDumpFd, .events = POLLIN}; in writeDump()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp50 pollfd p = {buffer->event_fd(), POLLIN, 0}; in PollBufferEvent()
641 pollfd p = {fd, POLLIN, 0}; in PollFd()
/frameworks/native/libs/input/
DInputTransport.cpp471 struct pollfd pfds = {.fd = fd.get(), .events = POLLIN}; in probablyHasInput()
490 struct pollfd pfds = {.fd = fd.get(), .events = POLLIN}; in waitForMessage()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp567 struct pollfd pfds[2] = {{fd, POLLIN, 0}, {mEventFd, POLLIN, 0}}; in waitForData()
/frameworks/native/cmds/installd/
Dutils.cpp1190 struct pollfd pfd; in wait_child_with_timeout()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1933 struct pollfd pfd = { mInotifyFd, POLLIN, 0 }; in doThreadLoop()

12