uwb(uci_rust): Handle vendor HAL crashes gracefully

Send DeviceStatusNotification with state = Error to the java stack when
there is a fatal error in the HAL (indicated by HAL crash or explicit
HAL event with event = Error).

Bug: 227488208
Test: Manual tests
Test: atest libuwb_uci_rust_tests
Change-Id: I6e8c394c4c27e4173cb25528d0cbf04a2029a2c1
2 files changed
tree: acc63922538341193f82517b26ee7370196e0057
  1. src/
  2. .gitignore
  3. Android.bp
  4. CleanSpec.mk
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. NOTICE
  8. OWNERS
  9. PREUPLOAD.cfg