[roll] Roll fuchsia [i2c-hid] Migrate i2c-hid.cc to new WireSyncClient API

This is part of a migration to stabilize the LLCPP API. In this step, we
are aligning the interface of WireSyncClient and WireClient. The main
changes to WireSyncClient are:

- Similar to WireClient, use the "->" operator to make FIDL calls with
managed memory allocation.

- Similar to an earlier change in `fidl::WireCall(...)`, use the
`client.buffer(arena_or_buffer_span)` accessor to make FIDL calls with
caller-controlled allocation.

- Removing accessors that expose a raw pointer/reference to the
channel, instead providing a `Bind` function to initialize a default
constructed client, and a `TakeClientEnd` function to de-initialize it.

- When binding a client endpoint, the client endpoint must be valid.

See https://groups.google.com/a/fuchsia.dev/g/fidl-dev/c/nF72xpPL4gU

Original-Bug: 87683
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/600584
Original-Revision: 5f545a263ec170ac699553404566c27260dc99a2
GitOrigin-RevId: 094289bf3b89efbdd484ff86577805ec1c10be5f
Change-Id: I2647f38f0b20b352bc78ada3ff168f68830d7217
1 file changed
tree: 63e61de6c7e83b08d41da8d62daf2b891e1c7d24
  1. infra/
  2. third_party/
  3. firmware
  4. flower
  5. jiri.lock
  6. minimal
  7. prebuilts
  8. README.md
  9. stem
  10. test_durations
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.