Age | Commit message (Collapse) | Author |
|
|
|
Bug: 328289229
Test: atest libuwb_core_tests
Change-Id: I072130b26f56d0f377f009b0d11f3e063253c180
|
|
Test: mmm external/uwb
Change-Id: I3c3e4fa8d4c7b32a37ebe84cfa86107b15212e46
|
|
Bug: 341159131
Test: n/a
Change-Id: I1888ad7f901e756279362d7c36f8b5983f529c46
|
|
Test: m rust
Bug: 333887339
Change-Id: I10d491283af5ef4e7109d900359bc17723cfd964
|
|
into main
|
|
Revert submission 3048435-revert-3047732-multicastNtfV2-GAJTEFWXIA
Reason for revert: test failure fixed
Reverted changes: /q/submissionid:3048435-revert-3047732-multicastNtfV2-GAJTEFWXIA
Change-Id: I3ef0e3073ead9d306f9791a30bee24da5c7af5d8
|
|
into main
|
|
Revert submission 3047732-multicastNtfV2
Reason for revert: Potential culprit for build issue
Reverted changes: /q/submissionid:3047732-multicastNtfV2
Change-Id: I642e26bb9f6636d47f20c77d8354ecd54b8dba4d
|
|
Test: libuwb_core_tests
Bug: 330169927
Change-Id: I14bab732e551ea61f8eec99e0b89ef5f75a18041
|
|
This is a temporary fix for Pixel devices that are using Fira 2.0 while
still using multicast ntf v1.
Bug: 333989564
Test: atest CtsUwbTestCases
Test: atest libuwb_core_tests
Change-Id: Ib45ce604a4e3ad0717b333d523e681a75cdc18b3
|
|
Test: libuwb_core_tests
Bug: 330169927
Change-Id: Idb179979e6d8be5d6ae64c11341ecfcb96ec2d45
|
|
Test: atest libuwb_core_tests
Bug: 330169927
Change-Id: Ibd3b22d100d64b6bf4f2b004d95aac9d081a22d4
|
|
|
|
|
|
Test: atest libuwb_core_tests
Bug: 330169927
Change-Id: I4b491cf99a27bbf455dd4585484faff46eb5c81d
|
|
Test: atest libuwb_core_tests
Bug: 330169927
Change-Id: Ifa3ddbbb2c72fc2019238fcb7f339e92210367c0
|
|
Test: atest libuwb_uci_packet_tests
Bug: 324966512
Change-Id: I6296770cc2ab38572098e269e2eef7a35772ab55
|
|
Bug: 330169927
Test: atest libuwb_core_tests
Change-Id: I07bacba1e3e5f0ca08f125efa4a480b411e8acc0
|
|
Bug: 330169927
Test: atest libuwb_uci_packet_tests
Change-Id: I34ce94335f04768dd4a2abe6efe53fee3fbbf63a
|
|
patched from aosp/3018363
Bug: 331836038
Test: manual
Change-Id: I121c9e527d1e94d63c8be6da2512bd7f75d26275
|
|
|
|
Fix multiplication overflow when sweep data is unpacked for a radar data packet.
Bug: 331804951
Change-Id: Ifc2314f6e58b8e041966da26485b2d44f2ac4634
|
|
pass sessionToken as parameter to SessionStatusNotification
Bug: 329386934
Test: atest libuwb_core_tests
Change-Id: Id23649c13e27edbeaa8d62fc12e75febb041242c
|
|
The UWB mainline module's rust code currently uses only one Aconfig
flag. This CL removes that, as well as the Aconfig related libs that
were added.
Bug: 329709371
Test: make com.android.uwb
Change-Id: I5956d1256116b4bcfe6650a300a7a6810cddb3e2
|
|
|
|
UciHalAndroid::send_packet ignores the return value of
sendUciMessage. From the aidl specification of IUwbChip:
> This method may queue writes and return immediately, or it may block
> until data is written. Implementation must guarantee that writes are
> executed in order.
> @return number of bytes written to the UWB Subsystem
Bug: 329316454
Test: TreeHugger
Change-Id: I0fabd162a3278739e35c851a8b384fe85c298080
|
|
Change-Id: If4ae35f54a4bb65339ccbc6b4212650ca69dd6a1
|
|
Bug: 325848944
Test: atest libuwb_core_tests libuwb_uci_packet_tests
Change-Id: I9bd12d4f3676711978a1bee053d6147352af74e6
|
|
|
|
FFI types like `c_long` vary on 32/64-bit, and the check is only needed on
64-bit conversions. Fixing this lint makes the code less readable.
```
error: use of a fallible conversion when an infallible one could be used
--> external/uwb/src/rust/uwb_core/src/uci/uci_manager.rs:895:60
|
895 | ... Some(u16size) => match u16size.try_into() {
| ^^^^^^^^ help: use: `into`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
= help: to override `-D warnings` add
`#[allow(clippy::unnecessary_fallible_conversions)]`
```
Bug: http://b/321303117
Test: toolchain/android_rust/test_compiler.py --prebuilt-path dist/rust-dev.tar.xz --target aosp_cf_x86_64_phone --all-rust
Change-Id: I26bb78f63c2205003aa0656d77ed86b4c62a4ba7
|
|
|
|
Bug: 321757248
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Change-Id: I5cdf28db6cfd116d015226dd29a0f4207ff203c9
|
|
Bug: 320687252
Test: Manual testing (after simulating UWB chip
AndroidSetCountryCodeResponse).
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Change-Id: Ia4dfc30c49f3dcc9d91634a0b5dbd01e8a7bb9b1
|
|
CR1022-UCI extension for data transfer phase DTPCM configuration_r4
CR1047-UCI Generic spec status code removal for DTPCM configuration command_r3
Bug: 319596317
Test: atest libuwb_core_tests libuwb_uci_packet_tests
Change-Id: I9c5aef7ad40879ef8bb071362c102ab58bc09531
|
|
Bug: 321307674
Test: compile
Change-Id: Ib5fafcd689ea7889b6db12b9b1739b5ad36d5b0c
|
|
Define the capability tag.
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Bug: 308660074
Change-Id: I52455ced0266ff593ddac721ae8b0526b0bfe55e
|
|
fragmented packets.
If DEVICE_STATE_ERROR is received while waiting for remaining fragments,process DEVICE_STATUS_ERROR on priority and initiate MW recovery.
Bug: 315400914
Test: Manaually
Change-Id: I4d4bae36a45ffb3ff118b5bdab3df347d3cf5f06
|
|
Currently the data packets sent by Host to UWBS are fragmented with a
fixed payload size of 255 bytes.
This CL changes the behavior to use the UWBS capability value "MAX_DATA_PACKET_PAYLOAD_SIZE" to determine
the max payload size of each data packet fragment. It will still use the
value 255 as the default (in case the capability couldn't be read from
the UWBS).
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Bug: 301834443
Change-Id: I36866609ac8cbc091d66a134a17f923d7d330232
|
|
WGS-84 coordrinate system uses 12 bytes, relaive coodrinate
uses 10 bytes
Bug: 316045753
Test: unit test and verified with latest UCI spec
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3b6a516d3be55f6fcc413cad56849159c1faafd5)
Merged-In: I25dd84f8890aa174948442e7b769b9711f971533
Change-Id: I25dd84f8890aa174948442e7b769b9711f971533
|
|
This will be used in a future CL to determine the UWBS UCI version, and based on that parse the Capability tags in a CORE_GET_CAPS_INFO RSP.
Confirmed with debug logs (not submitted) that the response is stored:
12-02 01:06:20.037 1653 2381 D uwb : uwb_core::uci::uci_manager: AKJ: will call open_hal()
12-02 01:06:20.048 1653 2381 D uwb : uwb_core::uci::uci_manager: AKJ: open_hal() succeeded, will call core_get_device_info()
12-02 01:06:20.049 1653 3670 D uwb : uwb_core::uci::uci_manager: AKJ: store_if_uwbs_device_info called
12-02 01:06:20.049 1653 3670 D uwb : uwb_core::uci::uci_manager: AKJ: get_device_info_rsp = Some(GetDeviceInfoResponse { status: UciStatusOk, uci_version: 4097, mac_version: 4097, phy_version: 4097, uci_test_version: 4097, vendor_spec_info: [] })
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Test: Manual
Bug: 301834443
Change-Id: I4376679287247fabb1192be95e95c4510b52f397
|
|
Test: Confirm com.android.uwb compiles
Test: Confirm "atest -b libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests"
Bug: 301834443
Change-Id: I53a2fe92e589d6c620db141ba73e6bb8f58a4ece
|
|
|
|
Bug: 308404392
Test: Uwb init-deinit
Change-Id: I20c3aa0200ee993570901e0028c8b3ea05d5a95f
|
|
Bug: 306901204
Test: TreeHugger
Change-Id: I43f936f503ec0977685087920dd5fa1c7be1d3f5
|
|
Bug: 285984668
Test: Unit tests
Change-Id: Ib3d11710ad106b7c052655bf0952b67063ec2203
|
|
Bug: 298353161
Test: UpdateMulticastCommand
Change-Id: I4bea3aa32a2da2ea97ffdd2d146bd785d682d06e
|
|
|
|
UWB Radar UCI proposal: b/274691169
Bug: 237097302
Test: Unit tests
Change-Id: I9296d4a0478f8e05087ef096143c89fb80646179
|
|
Bug: 296344967
Test: test dltdoa
Change-Id: Ia9217964278a07ed9431980ad02eb5edf3c71a16
|