[roll] Roll fuchsia [input][lib] Add option to input_report_reader to drop unread reports

Add a template option to input_report_reader to drop old reports when
when too many reports are waiting to be read. This prevents a
potentially infinite number of unread reports from accumulating when
clients aren't reading fast enough, or are not reading at all. The
default template value maintains the current behavior, so this change
should have no effect on existing drivers.

Also make SendReportToAllReaders return the total number of reports that
were dropped due to InputReportReader report queues being full.

Original-Bug: 133483
Test: fx test -o lib-input-report-reader-test
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/917306
Original-Revision: 05a509b214bc0c47646e171fd444f163364b9301
GitOrigin-RevId: 281587d61c56f48e2752fbbbf319d02073be67c3
Change-Id: Idae7af927c25837b30acf741d4cc8ca8b63c231e
1 file changed
tree: 8a3c026089ccafc0120aadbcdb69b031cef9f711
  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.