uwb_core: add TimeoutUciHal struct

This CL add TimeoutUciHal struct. It wraps all of the UciHal's aync
methods to handles the timeout situation. If the methods doesn't
finish in a period of time, then TimeoutUciHal interrupts the methods
and return timeout failure.

Bug: 227264247
Test: cargo test -p uwb_core
Change-Id: I5ef7f3e7c745afa1d4f003e27260d9390194c47a
4 files changed
tree: 26e198966b14f8d9befa05621347da53446199e5
  1. src/
  2. .gitignore
  3. Android.bp
  4. CleanSpec.mk
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. NOTICE
  8. OWNERS
  9. PREUPLOAD.cfg