summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-11Snap for 8712302 from 987f2d03f016890894f5bf1f0bfad0117913c4d1 to ↵t_frc_sch_330443040t_frc_sch_330443010android13-frc-scheduling-releaseAndroid Build Coastguard Worker
tm-frc-scheduling-release Change-Id: I6dce6122defad5d0e73d43fc525995ab48480a8f
2022-05-26Bump version codes in tm-dev to match tm-mainline-prodandroid13-tests-devandroid13-devsatayev
T FRC signals cannot be gathered from tm-frc-<module>-release branches and instead tm-release is being used. tm-release uses default source based version codes which are lower than prebuilts now. Bump them to allow installation on tm-release based system images. Bug: 233587299 Test: presubmit Merged-In: I1fc87537161933b4d52ed22af6bc7b5750f5e520 Change-Id: I17b0b3e8ef2eb0ce62c26a61ef26d1067a18edb6
2022-05-23uwb(service): Fix NPE when getAction() == nullRoshan Pius
Move the error/cb handling to inside the "if (getAction() != null)" block. Bug: 231593229 Change-Id: I92ccd3b3ac30580e1aa6c0090f3bc7dab57da502 Test: atest ServiceUwbTests
2022-05-18Snap for 8610053 from 77b7c18509759890d9b506472caa174e91987ea4 to ↵Android Build Coastguard Worker
tm-frc-scheduling-release Change-Id: I9e11eed37667381c89a4360759f6e444d7918e02
2022-05-16Snap for 8598433 from c2bed05ba9fe82d1e2a115836917a8bd7071eccb to ↵Android Build Coastguard Worker
tm-frc-scheduling-release Change-Id: Ib5026c9daf63968e1129fd44304e62a9d75c4f06
2022-05-16uwb(service): Dont cache specificationinfoRoshan Pius
These capabilities include ran multiplier used for CCC sessions. This value is dynamic and needs to be fetched from UWBS on query from DCK stack. Bug: 232787451 Test: atest ServiceUwbTests Change-Id: I70d00e1f87b0319c79ac180a14c1ee36e3249624
2022-05-12uwb(service): Allow UWB toggle when APM mode on from rooted shellRoshan Pius
Helps with UWB only power testing. Bug: 232416949 Test: atest ServiceUwbTests Test: Manual: - Turn on APM mode. - adb shell cmd uwb enable-uwb <- Fails - adb root - adb shell cmd uwb enable-uwb <- Succeeds Change-Id: Idce4c172c1c69b91bd536a47c6330453b5117c8c
2022-05-12Snap for 8580258 from cb6e6fb4af9d78879d9ca29fee1f0b95fcbd5eb3 to ↵Android Build Coastguard Worker
tm-frc-scheduling-release Change-Id: Iecbbab309a2ef892b913ee4a8aa0f81b308950e9
2022-05-12Bump Mainline Module Version Codes in tm-dev to 330090000Alexei Nicoara
Test: presubmit Bug: 231691162 Ignore-AOSP-First: overriding version code from aosp Change-Id: Idf5c494b2933967daf1406490c87053ee2c573d8 Merged-In: Idf5c494b2933967daf1406490c87053ee2c573d8
2022-05-09Snap for 8558685 from 6214709607044992714a1615c7f3f0af910fa177 to ↵Android Build Coastguard Worker
tm-frc-scheduling-release Change-Id: I35cb048f69778794ff979fdcc918562f5bd38f70
2022-05-07Merge "Uwp - Tiramisu is now 33" into tm-devYurii Zubrytskyi
2022-05-05uwb(service): Disallow aoa result & interleaving in shell commandRoshan Pius
Both of these params change the aoa_result_req type. So, disallow this to avoid confusion. Bug: 231364585 Test: atest ServiceUwbTests Test: Manual - `adb shell cmd uwb start-fira-ranging-session -z 4,5,6 -e enabled` Change-Id: I391d340fef8ca673dc70f73e7a5aefba9428fd3c
2022-05-03uwb(service): Handle session deinit notificationRoshan Pius
Cleanup ongoing session when session deinit notification is received. Bug: 230037507 Test: atest ServiceUwbTests Change-Id: Iceede89bad8e95037ae94e87c1afbab4d28c57c7
2022-05-03Merge "uwb(native): Adding host tests for libuwb_uci_jni_rust_tests" into tm-devRoshan Pius
2022-05-02uwb(native): Adding host tests for libuwb_uci_jni_rust_testsRoshan Pius
Bug: 216784920 Test: atest --host libuwb_uci_jni_rust_tests Change-Id: I79152f682260dc67066497f241b0b2d2b39313fb
2022-04-29Merge "Revert "uwb(service): Cleanup any ongoing sessions when country code ↵TreeHugger Robot
changes"" into tm-dev
2022-04-29Uwp - Tiramisu is now 33Yurii Zubrytskyi
Update the sdk_version to current Bug: 225745567 Test: build Change-Id: I341fbf08b830712d041d2587d2cf96804eb6fc98 Merged-In: I341fbf08b830712d041d2587d2cf96804eb6fc98
2022-04-28Revert "uwb(service): Cleanup any ongoing sessions when country code changes"Roshan Pius
This reverts commit e3d9ab7ed1935049af664328402b9b1d5cc25071. Reason for revert: We are working with Qorvo handle this more cleanly. Bug: 230037507 Test: atest ServiceUwbTests Change-Id: If994ea3e74ad32934f79e0a40a25c9cb466a83bc
2022-04-28Snap for 8512216 from cb5aeb00ed184ad8f91da4137e601431eda7225d to ↵Android Build Coastguard Worker
tm-frc-scheduling-release Change-Id: Ic74b688b5189feb31729a76e88bea9e82be1c52d
2022-04-20Merge "Trigger bugreport for device error" into tm-devKai Shi
2022-04-20Merge "uwb(support_lib): Allow multi-device cts snippet to use support_lib" ↵Roshan Pius
into tm-dev
2022-04-20Trigger bugreport for device errorKai Shi
Add an option to trigger bugreport for device initialization error or device status error. Test: atest com.android.server.uwb Bug: 229789022 Change-Id: I83a0184452081607297c53464b147d651282df02
2022-04-20Merge "Bump apex version to 33xxxxxx in tm-dev." into tm-devArtur Satayev
2022-04-19Merge "Report device error count" into tm-devKai Shi
2022-04-19uwb(support_lib): Allow multi-device cts snippet to use support_libRoshan Pius
Bug: 229730966 Test: atest CtsUwbMultiDeviceTestCases Change-Id: I2707e198fde28d59dba3759940f08afa4f85666b
2022-04-19Bump apex version to 33xxxxxx in tm-dev.satayev
Bug: 229359315 Test: m && launch_cvd; presubmit Change-Id: I7cd709d3da622e4508f6f2e47fad1d8d65aab333
2022-04-18Report device error countKai Shi
Report device init, status and generic error counts in bug report and metrics. Dump the status of UwbServiceCore. Bug: 197341885 Test: atest com.android.server.uwb.UwbMetricsTest Change-Id: I67d879cdf31483aa67f868d099c8f760a59f0fd7
2022-04-18uwb(service): Send bad params error code on duplicate session idRoshan Pius
Bug: 229183872 Test: atest ServiceUwbTests Change-Id: I0b1f2c8f700ed315365ce0003a5f6814c8a2f1aa
2022-04-14uwb(uci-jni-rust): Add #cfg(tests) for all mocksRoshan Pius
Bug: 229275354 Test: make libuwb_uci_jni_rust_tests Change-Id: Ia171f316b1868c518e98629a47f6c177a682642e
2022-04-14uwb(uci-jni-rust): Wait for dispatcher termination for deinitializationRoshan Pius
There was a previous exit method defined in the dispatcher, but we were not using it from the JNI side. Also, Make Disable non-blocking since we are anyway waiting for the close_cplt callback from doDeinitialize(). Bug: 228347909 Test: atest libuwb_uci_rust_tests Test: Manual tests Change-Id: If1de8d578eafe25a3272e265e7bdab1d0e765a8f
2022-04-11uwb(jni): Don't use android_loggerRoshan Pius
Bug: 216784920 Test: Manual verification of logs Change-Id: Icc7837e0203997cd18eb1c99e9dbb0fa7b238b09
2022-04-09uwb(support_lib): Create a generic specification params classRoshan Pius
This also helps avoid two calls to retrieve device capabilities. FiraSpecificationParams & CccSpecificationParams are included in this bundle as before (API remains backward compatible since we use the same bundle keys for the top-level bundle). Bug: 228506663 Test: atest ServiceUwbTests UwbSupportLibTests Change-Id: I90deba763c7620529d908257ee4e7a50517a3960
2022-04-09Add power stats capability checkKai Shi
Add the power stats query capability check. Test: atest com.android.server.uwb Bug: 199768480 Change-Id: I461529bfd89964853970eb7a02abf60f30ff775d
2022-04-09Merge "uwb(service): Cleanup any ongoing sessions when country code changes" ↵Roshan Pius
into tm-dev
2022-04-09Merge "[uwb] Add FiraServiceConfig" into tm-devTreeHugger Robot
2022-04-08uwb(service): Cleanup any ongoing sessions when country code changesRoshan Pius
Bug: 228464314 Test: atest ServiceUwbTests Test: Manual tests (change country code via shell command while a session is ongoing) Change-Id: Idba60ccd88c4089fbac39cd47c34276b978ee751
2022-04-08[uwb] Add FiraServiceConfigShreshta Manu
Add class for Uwb service config Bug: 200677269 Test: atest ServiceUwbTests Change-Id: I13ff7cf3ad3de3375ad2e15f13df69c8742379c1
2022-04-07uwb(service): Dont allow non-fg 3p apps to open ranging sessionRoshan Pius
This assumes that the caller of the system API surface (i.e gmscore) puts the calling 3p app's attribution source in the attribution source chain of the request. Bug: 228221110 Test: atest ServiceUwbTests Change-Id: If6beb291ab06cf499d0daecfc56005694a522e9d
2022-04-07uwb(service): Bug fixes in HAL crash handlingRoshan Pius
When HAL is dead, the doDeinitialize() call can fail, ensure we always go ahead and destroy the dispatcher. Bug: 227488208 Test: Manual tests Test: atest ServiceUwbTests Change-Id: I48f53262346630ad9f2ab83bda93e22f8cafea65
2022-04-06uwb(service): Dont invoke onStopped from session status ntfRoshan Pius
If the reason code is session change with mgmt commands, don't trigger onStopped() since we trigger it from stopRanging. Bug: 228233884 Test: atest ServiceUwbTests Change-Id: If38b58790ba1a853d4d45fb7cf6a7a12b6220f12
2022-04-06uwb(jni-rust): Ensure we return the status code to java layerRoshan Pius
The current JNI call impls are not returning the status codes if there is an error. Bug: 222372272 Test: Manual tests Test: atest libuwb_uci_rust_tests libuwb_uci_jni_rust_tests Test: atest CtsUwbTestsCases Change-Id: If636e50a72d2070e9774d17604ab15e605b33f95
2022-04-05uwb(service): Toggle UWB off when error status is receivedRoshan Pius
Bug: 227488208 Test: Manual tests Test: atest ServiceUwbTests Change-Id: Ibeb23e5793525f8583f936bdcaa54e2cf72e56b4
2022-04-04Merge "uci(rust): Fix VendorUciResponseClass JNI signature" into tm-devTreeHugger Robot
2022-04-04uci(rust): Fix VendorUciResponseClass JNI signatureRoshan Pius
Bug: 210933436 Change-Id: I05713493ec15d461354f12447db4c4f133bddf4d Test: atest CtsUwbTestCases
2022-04-01uwb(service): Plumb vendor uci cb methodsRoshan Pius
Bug: 196225233 Test: atest ServiceUwbTests Change-Id: Ia42924c9f8199a04baa0d06879906360225941f7
2022-04-01Merge "Remove implementation details from uwb hidden api flags" into tm-devPaul Duffin
2022-03-31Remove implementation details from uwb hidden api flagsPaul Duffin
Ran the following to compute the set of split_packages and package_prefixes properties. m analyze_bcpf && analyze_bcpf --bcpf com.android.uwb-bootclasspath-fragment --fix Bug: 194063708 Test: m out/soong/hiddenapi/hiddenapi-flags.csv Change-Id: I6ac366a0fa127a728477bf01a2fd8ad8946e1e3c
2022-03-31uwb(service): Start timer to track continous errorsRoshan Pius
Previous approach of using the ranging result callbacks does not work if the device is the responder and the initiator disappears. The firmware will stop sending ranging result callbacks in that case. Also, declare error for ranging result only if all the ranging measurements (for one to many sessions) are in error. Bug: 222379826 Test: Manual tests Test: atest ServiceUwbTests Change-Id: I869882582cbdb39d70107a54a6ad794decd5f0c9
2022-03-30Merge "JNI changes to support vendor extension features" into tm-devRoshan Pius
2022-03-30Merge "uwb(framework): Use oneway interfaces for callbacks" into tm-devRoshan Pius