Age | Commit message (Collapse) | Author |
|
We're updating `libjni` to `0.21`. This involves several API breakages, so I'm rewriting everyone to use `libjni_legacy` first to allow `libjni` to be upgraded. Follow-up changes will update you to use `libjni`.
Change-Id: Iccff3b4a7a74a370cf175bb6e8b966f70949a180
|
|
|
|
Test: m rust
Bug: 333887339
Change-Id: I10d491283af5ef4e7109d900359bc17723cfd964
|
|
Test: compile
Bug: 330169927
Change-Id: I2977cfc72035a79ae5e1a5da837c65748594353a
|
|
Fix the build error.
Test: DIST_DIR=dist_dir TARGET_BUILD_VARIANT=userdebug PRODUCT=mainline_modules_x86_64 COVERAGE_MODULES="uwb" ./vendor/google/build/build_unbundled_coverage_mainline_module.sh
Bug: 336652103
Change-Id: I8283642a28f70489482e962467fc12211f2d44c0
|
|
main
|
|
Test: NA
Bug: 330169927
Change-Id: I02dba6d04ffd9a1df0b17ee0a15e56c1fcc3e312
|
|
We don't need it anymore since b/204562227 is fixed.
Test: atest libuci_hal_android_tests
Bug: 336652103
Merged-In: Ic5adfd318ad1f40b9bdbea5b49c4db498ada1d4a
Change-Id: Ic5adfd318ad1f40b9bdbea5b49c4db498ada1d4a
|
|
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
|
|
|
|
Revert submission 3018363-uwb_multicast_ntf
Reason for revert: b/331836038
Reverted changes: /q/submissionid:3018363-uwb_multicast_ntf
Change-Id: I29b995c1b4e248f49b700987d3546f47261969d2
|
|
Fira 1.x had defined the SESSION_UPDATE_CONTROLLER_MULTICAST_LIST_NTF to
have a StatusList[] with 3 fields (MacAddress, SubSessionId, Status -
size of 7 bytes).
Fira 2.0 changed the definition of StatusList[] with 2 fields
(MacAddress, Status - size of 3 bytes).
This CL does the packet conversions with an additional UCI version
parameter given to the try_into() conversion methods (as a tuple).
Test: make com.android.uwb
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Test: https://paste.googleplex.com/6207883791826944
Bug: 322549007
Change-Id: I6b406c5b157a3a7b639ba492e4e5bcb3b643946d
|
|
pass sessionToken as parameter to SessionStatusNotification
Bug: 329386934
Test: atest libuwb_core_tests
Change-Id: Id23649c13e27edbeaa8d62fc12e75febb041242c
|
|
Bug: N/A
Change-Id: Iaf9ceace33dfdcdf5f1aa6136f33566e9b1b59ec
Test: N/A
|
|
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
|
|
main
|
|
Bug: 325848944
Test: atest libuwb_core_tests libuwb_uci_packet_tests
Change-Id: I9bd12d4f3676711978a1bee053d6147352af74e6
|
|
b14574f639
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2906070
Change-Id: I0e37e7a848b9c25c2e8e9f52dddb669e8833775c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2954563
Change-Id: I53c6c91c43d478adf34fceb5571c84cd46e5ee05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2923132
Change-Id: I963c6ca5bce83554c39feb2555953bc0a9a96872
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Bug: 321757248
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Change-Id: I5cdf28db6cfd116d015226dd29a0f4207ff203c9
|
|
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2928476
Change-Id: I87d34de3592a9a30300d25ea2681bc7c4dfd123a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
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
|
|
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2918313
Change-Id: Ie870097c6b4b06bb84e7c7944619e0e642e2b81e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 321307674
Test: compile
Change-Id: Ib5fafcd689ea7889b6db12b9b1739b5ad36d5b0c
|
|
bee3b67233 am: 6be9a8b2cc
Original change: https://android-review.googlesource.com/c/platform/external/uwb/+/2892085
Change-Id: I2e7d259a57947cb45efd8650557a63918bc3418e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|