This is needed to upgrade the android_logger crate from 0.12.0
to 0.13.3.
with_max_level provides the same functionality as with_min_level.
The renaming is admittedly confusing, but the new name is accurate
and it makes sense that they deprecated and then removed the
previously poorly named with_min_level.
See crate documentation [1] and code [2].
[1]: https://docs.rs/android_logger/0.12.0/android_logger/struct.Config.html#method.with_min_level
[2]: https://docs.rs/android_logger/0.12.0/src/android_logger/lib.rs.html#227
Bug: 322718401
Test: build and run CF with the change.
Test: m aosp_cf_x86_64_phone
Change-Id: I0ca9596433967be70e9d55acb6cfbf9322741bf8
Previously the command was sent before the task handle is dropped. This
may cause race condition that the DeviceResetRsp may be consumed by the
reader created in open(). In this case, the
consume_device_reset_rsp_and_ntf will wait until timeout.
Bug: 316421259
Test: manual
Change-Id: I680d3ea79344f9b5f07a36877837bfc1b8e0532a
This CL fixes the issue that some bytes are missing after we toggle uwb
off and on.
Test: atest CtsUwbTestCases
Bug: 302005209
Change-Id: I8ad8072fe01c8d1f466d8debf0ccf5831b3eddf8
Previously, .rc file is installed separately. Now it's installed as part
of the uwb-service binary installation.
Bug: 296487624
Test: launch cuttlefish / uwb-service runs with /dev/hvc9
Change-Id: I49108c74a5ca964818c90407cc7916d80439d5ab
The current implementation used fs::write() as workaround since
the write permission was missing from the fs::open() invocation
Test: m android.hardware.uwb-service
Change-Id: Ifdb460843fcb9525ad498f928b1dc2ed9beb5410
Revert submission 2215484-pica_cf
Reason for revert: DroidMonitor: Potential culprit for Bug X - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:2215484-pica_cf
Change-Id: Ifd9f5cf04631e19a33b29b4b2917eaab2b506e23
This is unnecessary since we are anyway using GET_CAPS_INFO for querying
non-fira capabilities.
Bug: 208678993
Bug: 209053358
Test: Compiles
Change-Id: Id9af03b313ceaf00fb6d5231c454dc7c74a6287a
For the vendor commands defined for Android, allow UWB chip vendors to
optionally expose some of the features defined in a given version.
Without this mechanism, any vendor commands added has to be supported by
all chip vendors unconditionally (which may not be feasible based on
hardware capabilities).
Bug: 197886322
Test: Compiles
Change-Id: I917f2dc0d203ba9304f58955ac3cdb9d1735106c
No target to run the tests yet. So, just starting the VTS test suite for
UWB with some simple tests.
Also, modified the reference HAL implementation to emulate the startuo
flow.
Bug: 191175259
Test: atest VtsHalUwbTargetTest (using reference HAL on cuttlefish)
Change-Id: I2f01a3fec3324e85123d1d17e1b03dd284aee7b1
Skeletal implementation of UWB HAL which will be used for
cuttlefish/reference implementation in the future.
Bug: 195992658
Test: Manual verification of HAL booting up and handling HAL
API calls.
Change-Id: I894b7aef893ff2ed4f287f72471326b5211245c3