Searched refs:ufd (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/media/native/midi/ |
H A D | amidi.cpp | 48 unique_fd ufd; // The unique file descriptor associated with the port. member 259 unique_fd ufd; in AMIDI_openPort() local 261 ? device->server->openOutputPort(portToken, portNumber, &ufd) in AMIDI_openPort() 262 : device->server->openInputPort(portToken, portNumber, &ufd); in AMIDI_openPort() 272 port->ufd = std::move(ufd); in AMIDI_openPort() 329 struct pollfd checkFds[1] = { { mPort->ufd, POLLIN, 0 } }; in receive() 336 ssize_t readCount = TEMP_FAILURE_RETRY(read(mPort->ufd, readBuffer, sizeof(readBuffer))); in receive() 422 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, in AMidiInputPort_sendWithTimestamp() 446 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, &opCode, in AMidiInputPort_sendFlush()
|
/aosp14/system/core/init/ |
H A D | subcontext.cpp | 121 pollfd ufd[1]; in MainLoop() local 122 ufd[0].events = POLLIN; in MainLoop() 123 ufd[0].fd = init_fd_; in MainLoop() 126 ufd[0].revents = 0; in MainLoop() 127 int nr = TEMP_FAILURE_RETRY(poll(ufd, arraysize(ufd), -1)); in MainLoop()
|
H A D | uevent_listener.cpp | 187 pollfd ufd = { in Poll() local 195 ufd.revents = 0; in Poll() 207 int nr = poll(&ufd, 1, timeout_ms); in Poll() 213 if (ufd.revents & POLLIN) { in Poll()
|
H A D | property_service.cpp | 297 struct pollfd ufd = { in PollIn() local 303 int nr = poll(&ufd, 1, *timeout_ms); in PollIn()
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | AssetsProvider.cpp | 200 base::unique_fd ufd; in OpenInternal() local 205 ufd = base::unique_fd(dup(fd)); in OpenInternal() 206 if (!ufd.ok()) { in OpenInternal() 212 auto asset = Asset::createFromUncompressedMap(std::move(asset_map), mode, std::move(ufd)); in OpenInternal()
|