[roll] Roll fuchsia [starnix] implement `epoll()`-related `FileOps`

Implement `wait_async()`, `cancel_wait()`, and `query_events()`,
so that programs can use the `epoll` APIs to block until an
input device has events ready to read.

While there: improve diagnostics in the case where the `TouchSource`
server disconnects the client. In particular, explicitly recognize
the case where the client sees the PEER_CLOSED and READABLE signals
simultaneously, rather than handling that in the catch-all for
unrecognized `on_closed()` results.

Original-Bug: 123784
Test: fx test -o starnix-tests --test-filter="device::input::test::*"
Test: manual (see below)

Manual test
-----------
1. Booted starnix image with this change.
2. Used mouse in emulator.
3. Saw log message "read() on input device".

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/822010
Original-Revision: 0d0935ed334cd78b53f955984f7dbfa1125a449f
GitOrigin-RevId: 5fcb59c82737283cfd9afe1cdc9cfcddc0982553
Change-Id: Ib413c0266c3358110c8b14697ad7752fc53234fd
1 file changed
tree: adcb79e577f5ab2bb9f10c86df6fffcf20365a79
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.