Status Update
Comments
rp...@google.com <rp...@google.com> #2
I am not sure I understand the use case. how can the benchmark be code to real world scenario when it's not possible to do right now ? which scenario is it ?
In any case, since this would be for benchmarking, this would clearly not be available through the public DSL. We should find a semi-private way of doing this (maybe the private variant API object could offer that functionality for instance or a property).
na...@gmail.com <na...@gmail.com> #3
We want benchmarks to measure code after Progaurd / R8, but it's not possible to turn that on for androidTests in library modules at the moment (to my knowledge?)
Benchmarks are also a public facing thing, but we have a plugin to help configure gradle builds for our users, so if support for this ends up in a private API, we could try to keep those usages localized to our code perhaps.
rp...@google.com <rp...@google.com> #4
Any update on the status of this request and when it can be supported?
Thanks,
Amanda
na...@gmail.com <na...@gmail.com> #5
this is not part of our OKR at this point so we are not talking soon. at first glance, we would need to simulate usage patterns to minify against and such, this seems substantial amount of work. there are not a lot of library module that have android tests, most only rely on unit-tests.
how important is this ? we are out of PM right now but I suspect the next step will be to negotiate with J. Eason and xav@ to scale a priority level.
rp...@google.com <rp...@google.com> #6
This is a high priority request for Compose, to enable their benchmarks to measure release accurate performance. (Micro) Benchmarks are library modules, as they don't need the complexity of multi-apk tests - they're self measuring APKs that depend on libraries. (d.android.com/benchmark)
there are not a lot of library module that have android tests, most only rely on unit-tests.
To clarify, this is for com.android.library
modules, not jars - I'd expect most of those to use android tests (all of the libraries in jetpack for example do).
we would need to simulate usage patterns to minify against and such, this seems substantial amount of work
Simulate usage patterns? I don't understand - the dev can themselves provide a keep rule for test infra / classes if necessary. Long term, keep rules should be provided by test libraries.
na...@gmail.com <na...@gmail.com> #7
We've been experimenting with ways to work around this for Compose. Performance results from R8 seem significantly different, and would enable us to measure much more accurately. I've tried to come up with a workaround using a com.android.app module, and while it almost works (and we can get measurements), it's extremely hacky and doesn't let us run tests anymore via Studio:
Description
Version used: uwb:1.0.0-alpha05
Devices/Android versions reproduced on: Pixel 6 Pro Android 13 May 2023 updates for Play / Security
The UWB documentation says:
"When the app moves to background (while the session is ongoing), the app may no longer receive ranging reports. The UWB session will however continue to be maintained in the lower layers. When the app moves back to the foreground, the ranging reports will resume."
We would actually like ranging to continue in the background, even if it is at a reduced rate, but what appears to happen is that it is stopped when the screen is turned off, but when turned back on, the app doesn't get any ranging info and the tracing shows some ranging results that don't reach the App Flow and then it shows a reconfigure and a fatal error in GMS:
:04:54.150 2549-18447 NearbyUWB com.google.android.gms.persistent I UWB session reconfigured [CONTEXT service_id=49 ]
2023-06-07 09:04:54.152 2549-18447 AndroidRuntime com.google.android.gms.persistent E FATAL EXCEPTION: highpool[58]
Process: com.google.android.gms.persistent, PID: 2549
java.lang.NullPointerException
at dhat.y(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at bijk.onReconfigured(:com.google.android.gms@231819044@23.18.19 (190400-536743017):8)
at android.uwb.RangingSession.lambda$onRangingReconfigured$5$android-uwb-RangingSession(RangingSession.java:845)
at android.uwb.RangingSession$$ExternalSyntheticLambda22.run(Unknown Source:4)
at aced.c(:com.google.android.gms@231819044@23.18.19 (190400-536743017):6)
at aced.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at acjn.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: dfhy:
2023-06-07 09:04:54.255 2549-18447 DeviceDoctorHandler com.google.android.gms.persistent E FATAL EXCEPTION: highpool[58]
Process: com.google.android.gms.persistent, PID: 2549
java.lang.NullPointerException
at dhat.y(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at bijk.onReconfigured(:com.google.android.gms@231819044@23.18.19 (190400-536743017):8)
at android.uwb.RangingSession.lambda$onRangingReconfigured$5$android-uwb-RangingSession(RangingSession.java:845)
at android.uwb.RangingSession$$ExternalSyntheticLambda22.run(Unknown Source:4)
at aced.c(:com.google.android.gms@231819044@23.18.19 (190400-536743017):6)
at aced.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at acjn.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: dfhy:
If we then try and stop ranging, we get a fatal exception that ranging isn't running:
2023-06-07 09:05:13.003 18488-18635 NearbyUWB com.google.android.gms.persistent W UWB stopRanging called without an active session. {bihn@f9c235d} [CONTEXT service_id=49 ]
2023-06-07 09:05:13.011 18230-18230 AndroidRuntime
Process:
java.lang.IllegalArgumentException: Illegal api call was received.
at androidx.core.uwb.helper.UwbHelperKt.handleApiException(UwbHelper.kt:43)
Below is the full UWB trace, although we would appreciate that you fix your over enthusiastic "(REDACTED)" tracing from NearBy UWB which is reacting everything even when it can't remotely be considered sensitive information, which you introduced in a Play update last month...
2023-06-07 09:04:52.735 2549-4335 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:52.735 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:52.736 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) dist=%.2f (conf=%.2f), azimuth=%.2f (conf=%.2f), elevation=%.2f (conf=%.2f)
2023-06-07 09:04:52.739 18230-18230 MainActivity
2023-06-07 09:04:52.971 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:52.972 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:52.972 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbTwoWayMeasurement
2023-06-07 09:04:52.973 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbRangingData
2023-06-07 09:04:52.973 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onRangeDataNotificationReceived
2023-06-07 09:04:52.973 1542-2749 NativeUwbManager system_server D onRangeDataNotificationReceived : UwbRangingData { SeqCounter = 91, SessionId = 1, RcrIndication = 0, CurrRangingInterval = 240, RangingMeasuresType = 1, MacAddressMode = 0, NoOfRangingMeasures = 1, RangingTwoWayMeasures = [UwbTwoWayMeasurement { MacAddress = 7369, RangingStatus = 0, NLoS = 0, Distance = 74, AoaAzimuth = 35.023438, AoaAzimuthFom = 80, AoaElevation = 0.0, AoaElevationFom = 0, AoaDestAzimuth = 0.0, AoaDestAzimuthFom = 0, AoaDestElevation = 0.0, AoaDestElevationFom = 0, SlotIndex = 0x00000000, RSSI = -94}], RawNotificationData = [98, 0, 0, 56, 0, 0, 0, 91, 0, 0, 0, 1, 0, 0, 0, 0, -16, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 115, 105, 0, 0, 74, 0, -125, 17, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
2023-06-07 09:04:52.975 2549-4335 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:52.975 1542-2749 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingResult
2023-06-07 09:04:52.976 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:52.976 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) dist=%.2f (conf=%.2f), azimuth=%.2f (conf=%.2f), elevation=%.2f (conf=%.2f)
2023-06-07 09:04:52.980 18230-18230 MainActivity
2023-06-07 09:04:53.197 2549-17709 NearbySharing com.google.android.gms.persistent I Disabling Uwb when the screen is locked to save on battery power [CONTEXT service_id=194 ]
2023-06-07 09:04:53.198 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) Screen unlocked: %s
2023-06-07 09:04:53.201 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:53.202 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:53.202 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbTwoWayMeasurement
2023-06-07 09:04:53.202 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbRangingData
2023-06-07 09:04:53.202 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onRangeDataNotificationReceived
2023-06-07 09:04:53.202 1542-2749 NativeUwbManager system_server D onRangeDataNotificationReceived : UwbRangingData { SeqCounter = 92, SessionId = 1, RcrIndication = 0, CurrRangingInterval = 240, RangingMeasuresType = 1, MacAddressMode = 0, NoOfRangingMeasures = 1, RangingTwoWayMeasures = [UwbTwoWayMeasurement { MacAddress = 7369, RangingStatus = 33, NLoS = 0, Distance = 0, AoaAzimuth = 0.0, AoaAzimuthFom = 0, AoaElevation = 0.0, AoaElevationFom = 0, AoaDestAzimuth = 0.0, AoaDestAzimuthFom = 0, AoaDestElevation = 0.0, AoaDestElevationFom = 0, SlotIndex = 0x00000000, RSSI = 0}], RawNotificationData = [98, 0, 0, 56, 0, 0, 0, 92, 0, 0, 0, 1, 0, 0, 0, 0, -16, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 115, 105, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
2023-06-07 09:04:53.202 1542-2749 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingResult
2023-06-07 09:04:53.202 2549-4116 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:53.205 2549-18436 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:53.260 2549-2686 NearbyUWB com.google.android.gms.persistent I (REDACTED) onGetService: Create client bridge with key %s
2023-06-07 09:04:53.260 2549-2686 NearbyUWB com.google.android.gms.persistent I (REDACTED) Analytics is enabled for package %s
2023-06-07 09:04:53.266 2549-2686 NearbyUWB com.google.android.gms.persistent I (REDACTED) Client %s with package name %s, 0p Identifier %s, and sdk version %s has connected.
2023-06-07 09:04:53.266 2549-18436 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:04:53.267 2549-18436 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:04:53.267 2549-18436 NearbyUWB com.google.android.gms.persistent I (REDACTED) Local UWB address is %s
2023-06-07 09:04:53.267 2549-18436 NearbyUWB com.google.android.gms.persistent I (REDACTED) set complexChannel to %s
2023-06-07 09:04:53.441 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:53.441 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:53.442 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbTwoWayMeasurement
2023-06-07 09:04:53.442 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbRangingData
2023-06-07 09:04:53.442 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onRangeDataNotificationReceived
2023-06-07 09:04:53.442 1542-2749 NativeUwbManager system_server D onRangeDataNotificationReceived : UwbRangingData { SeqCounter = 93, SessionId = 1, RcrIndication = 0, CurrRangingInterval = 240, RangingMeasuresType = 1, MacAddressMode = 0, NoOfRangingMeasures = 1, RangingTwoWayMeasures = [UwbTwoWayMeasurement { MacAddress = 7369, RangingStatus = 33, NLoS = 0, Distance = 0, AoaAzimuth = 0.0, AoaAzimuthFom = 0, AoaElevation = 0.0, AoaElevationFom = 0, AoaDestAzimuth = 0.0, AoaDestAzimuthFom = 0, AoaDestElevation = 0.0, AoaDestElevationFom = 0, SlotIndex = 0x00000000, RSSI = 0}], RawNotificationData = [98, 0, 0, 56, 0, 0, 0, 93, 0, 0, 0, 1, 0, 0, 0, 0, -16, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 115, 105, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
2023-06-07 09:04:53.442 1542-2749 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingResult
2023-06-07 09:04:53.443 2549-2702 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:53.443 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:53.681 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:53.681 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:53.681 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbTwoWayMeasurement
2023-06-07 09:04:53.681 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbRangingData
2023-06-07 09:04:53.682 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onRangeDataNotificationReceived
2023-06-07 09:04:53.682 1542-2749 NativeUwbManager system_server D onRangeDataNotificationReceived : UwbRangingData { SeqCounter = 94, SessionId = 1, RcrIndication = 0, CurrRangingInterval = 240, RangingMeasuresType = 1, MacAddressMode = 0, NoOfRangingMeasures = 1, RangingTwoWayMeasures = [UwbTwoWayMeasurement { MacAddress = 7369, RangingStatus = 33, NLoS = 0, Distance = 0, AoaAzimuth = 0.0, AoaAzimuthFom = 0, AoaElevation = 0.0, AoaElevationFom = 0, AoaDestAzimuth = 0.0, AoaDestAzimuthFom = 0, AoaDestElevation = 0.0, AoaDestElevationFom = 0, SlotIndex = 0x00000000, RSSI = 0}], RawNotificationData = [98, 0, 0, 56, 0, 0, 0, 94, 0, 0, 0, 1, 0, 0, 0, 0, -16, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 115, 105, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
2023-06-07 09:04:53.682 1542-2749 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingResult
2023-06-07 09:04:53.682 2549-2702 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:53.683 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:53.921 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:53.921 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:53.922 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbTwoWayMeasurement
2023-06-07 09:04:53.922 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: find local class com/android/server/uwb/data/UwbRangingData
2023-06-07 09:04:53.922 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onRangeDataNotificationReceived
2023-06-07 09:04:53.922 1542-2749 NativeUwbManager system_server D onRangeDataNotificationReceived : UwbRangingData { SeqCounter = 95, SessionId = 1, RcrIndication = 0, CurrRangingInterval = 240, RangingMeasuresType = 1, MacAddressMode = 0, NoOfRangingMeasures = 1, RangingTwoWayMeasures = [UwbTwoWayMeasurement { MacAddress = 7369, RangingStatus = 33, NLoS = 0, Distance = 0, AoaAzimuth = 0.0, AoaAzimuthFom = 0, AoaElevation = 0.0, AoaElevationFom = 0, AoaDestAzimuth = 0.0, AoaDestAzimuthFom = 0, AoaDestElevation = 0.0, AoaDestElevationFom = 0, SlotIndex = 0x00000000, RSSI = 0}], RawNotificationData = [98, 0, 0, 56, 0, 0, 0, 95, 0, 0, 0, 1, 0, 0, 0, 0, -16, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 115, 105, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
2023-06-07 09:04:53.922 1542-2749 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingResult
2023-06-07 09:04:53.922 2549-2702 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingResult - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:53.923 2549-15871 NearbyUWB com.google.android.gms.persistent I (REDACTED) UWB Ranging Data from peer %s Status %s
2023-06-07 09:04:54.144 1542-1875 UwbSessionManager system_server I App state change. IsFg: false. Reconfiguring session ntf control
2023-06-07 09:04:54.144 1542-1875 UwbSessionManager system_server I reconfigure() - Session ID : 1
2023-06-07 09:04:54.144 1542-1875 UwbSessionManager system_server I reconfigure() - update reconfigure params: com.android.x.uwb.com.google.uwb.support.fira.FiraRangingReconfigureParams@48b47da
2023-06-07 09:04:54.145 1542-1875 UwbSessionManager system_server D SESSION_RECONFIG_RANGING
2023-06-07 09:04:54.146 1542-18457 UwbConfManager system_server D setAppConfigurations for protocol: fira
2023-06-07 09:04:54.146 1542-18457 uwb system_server D uwb_uci_jni_rust::uci_jni_android_new: Java_com_android_server_uwb_jni_NativeUwbManager_nativeSetAppConfigurations: enter
2023-06-07 09:04:54.146 1542-2744 uwb system_server D uwb_core::uci::uci_manager: Received cmd: SendUciCommand { cmd: SessionSetAppConfig { session_id: 1, config_tlvs: [AppConfigTlv { cfg_id: RngDataNtf, v: [0] }] } }
2023-06-07 09:04:54.147 950-950 qorvo.uwb....nd_manager android.hardware.qorvo.uwb.service I uci_backend_manager_session_set_app_config: MT/GID/OID 2103 CMD
2023-06-07 09:04:54.147 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_set_app_config: MT/GID/OID 4103 CMD
2023-06-07 09:04:54.147 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_set_app_config: session_id=1
2023-06-07 09:04:54.147 950-950 qorvo.uwb.fira_helper android.hardware.qorvo.uwb.service I call_fira: call_id 10 session_id 1
2023-06-07 09:04:54.147 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:54.147 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-06-07 09:04:54.147 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_set_app_config: mac_state=2
2023-06-07 09:04:54.147 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_set_app_config: uci_state=2
2023-06-07 09:04:54.147 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-06-07 09:04:54.147 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_set_app_config: MT/GID/OID 4103 RSP 0
2023-06-07 09:04:54.149 1542-18457 UwbConfManager system_server I setAppConfigurations respData: UwbConfigStatusData { status = 0 length = 0, tlvs = [[]] }
2023-06-07 09:04:54.149 1542-18457 UwbSessionNotiManager system_server I IUwbRangingCallbacks - onRangingReconfigured
2023-06-07 09:04:54.149 1542-18457 UwbSessionManager system_server D Multicast update status: 0
2023-06-07 09:04:54.149 2549-4116 Uwb.Rangin...n@4c86b98] com.google.android.gms.persistent V onRangingReconfigured - sessionHandle: SessionHandle [id=1, package-name: com.google.android.gms, uid: 10104, pid: 2549]
2023-06-07 09:04:54.150 2549-18447 NearbyUWB com.google.android.gms.persistent I UWB session reconfigured [CONTEXT service_id=49 ]
2023-06-07 09:04:54.152 2549-18447 AndroidRuntime com.google.android.gms.persistent E FATAL EXCEPTION: highpool[58]
Process: com.google.android.gms.persistent, PID: 2549
java.lang.NullPointerException
at dhat.y(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at bijk.onReconfigured(:com.google.android.gms@231819044@23.18.19 (190400-536743017):8)
at android.uwb.RangingSession.lambda$onRangingReconfigured$5$android-uwb-RangingSession(RangingSession.java:845)
at android.uwb.RangingSession$$ExternalSyntheticLambda22.run(Unknown Source:4)
at aced.c(:com.google.android.gms@231819044@23.18.19 (190400-536743017):6)
at aced.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at acjn.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: dfhy:
2023-06-07 09:04:54.255 2549-18447 DeviceDoctorHandler com.google.android.gms.persistent E FATAL EXCEPTION: highpool[58]
Process: com.google.android.gms.persistent, PID: 2549
java.lang.NullPointerException
at dhat.y(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at bijk.onReconfigured(:com.google.android.gms@231819044@23.18.19 (190400-536743017):8)
at android.uwb.RangingSession.lambda$onRangingReconfigured$5$android-uwb-RangingSession(RangingSession.java:845)
at android.uwb.RangingSession$$ExternalSyntheticLambda22.run(Unknown Source:4)
at aced.c(:com.google.android.gms@231819044@23.18.19 (190400-536743017):6)
at aced.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at acjn.run(:com.google.android.gms@231819044@23.18.19 (190400-536743017):0)
at java.lang.Thread.run(Thread.java:1012)
Suppressed: dfhy:
2023-06-07 09:04:54.499 1542-3758 UwbSessionManager system_server I binderDied : getSessionId is getSessionId() 1
2023-06-07 09:04:54.501 1542-3758 uwb system_server D uwb_uci_jni_rust::uci_jni_android_new: Java_com_android_server_uwb_jni_NativeUwbManager_nativeSessionDeInit: enter
2023-06-07 09:04:54.501 1542-2743 uwb system_server D uwb_core::uci::uci_manager: Received cmd: SendUciCommand { cmd: SessionDeinit { session_id: 1 } }
2023-06-07 09:04:54.502 950-950 qorvo.uwb....nd_manager android.hardware.qorvo.uwb.service I uci_backend_manager_session_deinit: MT/GID/OID 2101 CMD
2023-06-07 09:04:54.502 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_deinit: MT/GID/OID 4101 CMD
2023-06-07 09:04:54.502 950-950 qorvo.uwb.fira_helper android.hardware.qorvo.uwb.service I call_fira: call_id 10 session_id 1
2023-06-07 09:04:54.502 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:54.502 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-06-07 09:04:54.502 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I uci_backend_fira_session_deinit: MT/GID/OID 4101 RSP 0
2023-06-07 09:04:54.502 950-950 qorvo.uwb.fira_helper android.hardware.qorvo.uwb.service I call_fira: call_id 3 session_id 1
2023-06-07 09:04:54.502 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-06-07 09:04:54.505 1542-3758 UwbSessionManager system_server D Detected end of non privileged FIRA session from android.content.AttributionSource@c57191a3
2023-06-07 09:04:54.505 1542-3758 UwbSessionManager system_server I binderDied : Session count currently is 0
2023-06-07 09:04:54.643 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I report_nl_cb
2023-06-07 09:04:54.643 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I handle_session_stop: session (1) stopped for reason (0)
2023-06-07 09:04:54.643 950-950 qorvo.uwb.fira_helper android.hardware.qorvo.uwb.service I call_fira: call_id 4 session_id 1
2023-06-07 09:04:54.643 950-950 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-06-07 09:04:54.643 950-950 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I state_notification_with_code: MT/GID/OID 6102 NTF 1 (0)
2023-06-07 09:04:54.644 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: session notification callback.
2023-06-07 09:04:54.644 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onSessionStatusNotificationReceived
2023-06-07 09:04:54.644 1542-2749 NativeUwbManager system_server D onSessionStatusNotificationReceived(1, 1, 0)
2023-06-07 09:04:54.644 1542-2749 UwbSessionManager system_server I onSessionStatusNotificationReceived - Session ID : 1, state : DEINIT, reasonCode:0
2023-06-07 09:04:54.644 1542-2749 UwbSessionManager system_server D onSessionStatusNotificationReceived - invalid session
2023-06-07 09:04:54.645 1139-1139 AOC aocd D A3:MSG: controller.cc, 811: CNTRL: ipc: uwb_service, cmd ID: 0x00cb, tag: 0x0c, rc: 0
2023-06-07 09:04:54.646 1139-1139 AOC aocd D A3:MSG: controller.cc, 811: CNTRL: ipc: uwb_service, cmd ID: 0x00cd, tag: 0x0d, rc: 0
2023-06-07 09:04:54.658 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: core notification callback.
2023-06-07 09:04:54.658 1542-2749 uwb system_server D uwb_uci_jni_rust::notification_manager_android: UCI JNI: callback onDeviceStatusNotificationReceived
2023-06-07 09:04:54.658 1542-2749 NativeUwbManager system_server D onDeviceStatusNotificationReceived(1, default)
2023-06-07 09:04:54.658 1542-2749 UwbServiceCore system_server I updateState(): deviceState = READY, current adapter state = 2
2023-06-07 09:04:54.658 1542-2749 UwbServiceCore system_server D updateState(): state=1, reason=3, chipId=default
2023-06-07 09:04:54.658 1542-2749 UwbServiceCore system_server D chipIdToStateMap = {default=1}
2023-06-07 09:04:55.250 18488-18574 PackageHelper <pre-initialized> W Could not get resources package for package "com.qorvo.uwb.vendorservice". Falling back to app package name.
2023-06-07 09:04:55.972 18488-18488 BoundBrokerSvc <pre-initialized> D onBind: Intent { act=com.google.android.gms.nearby.uwb.service.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.PersistentApiServiceNoInstantApps }
2023-06-07 09:04:55.972 18488-18488 BoundBrokerSvc <pre-initialized> D Loading bound service for intent: Intent { act=com.google.android.gms.nearby.uwb.service.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.PersistentApiServiceNoInstantApps }
2023-06-07 09:04:55.981 18488-18516 NearbyUWB <pre-initialized> I Use GMSCore Backend in UWB API. [CONTEXT service_id=49 ]
2023-06-07 09:04:55.981 18488-18516 NearbyUWB <pre-initialized> I (REDACTED) UWB Version %s
2023-06-07 09:04:55.982 18488-18516 NearbyUWB <pre-initialized> I (REDACTED) Has UWB Feature %s
2023-06-07 09:04:55.982 18488-18516 NearbyUWB <pre-initialized> I Register adapterStateCallback [CONTEXT service_id=49 ]
2023-06-07 09:04:55.984 18488-18516 NearbyUWB <pre-initialized> I (REDACTED) Screen unlocked: %s
2023-06-07 09:04:56.437 18488-18522 NearbyMediums <pre-initialized> I Platform UWB adapter acquired. [CONTEXT service_id=54 ]
2023-06-07 09:04:56.437 18488-18522 NearbySharing <pre-initialized> I Disabling Uwb when the screen is locked to save on battery power [CONTEXT service_id=194 ]
2023-06-07 09:04:57.481 18488-18525 NearbyUWB com.google.android.gms.persistent I (REDACTED) onGetService: Create client bridge with key %s
2023-06-07 09:04:57.482 18488-18525 NearbyUWB com.google.android.gms.persistent I (REDACTED) Analytics is enabled for package %s
2023-06-07 09:04:57.485 18488-18525 NearbyUWB com.google.android.gms.persistent I (REDACTED) Client %s with package name %s, 0p Identifier %s, and sdk version %s has connected.
2023-06-07 09:04:57.487 18488-18593 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:04:57.488 18488-18593 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:04:57.488 18488-18593 NearbyUWB com.google.android.gms.persistent I (REDACTED) Local UWB address is %s
2023-06-07 09:04:57.490 18488-18593 NearbyUWB com.google.android.gms.persistent I (REDACTED) set complexChannel to %s
2023-06-07 09:04:59.597 18488-18719 NearbyUWB com.google.android.gms.persistent I (REDACTED) onGetService: Create client bridge with key %s
2023-06-07 09:04:59.597 18488-18719 NearbyUWB com.google.android.gms.persistent I (REDACTED) Analytics is enabled for package %s
2023-06-07 09:04:59.602 18488-18719 NearbyUWB com.google.android.gms.persistent I (REDACTED) Client %s with package name %s, 0p Identifier %s, and sdk version %s has connected.
2023-06-07 09:04:59.606 18230-18230 UwbClientSessionScope
2023-06-07 09:05:06.824 18488-18615 NearbyUWB com.google.android.gms.persistent I (REDACTED) Screen unlocked: %s
2023-06-07 09:05:06.837 18488-18615 NearbySharing com.google.android.gms.persistent I (REDACTED) Acquired UWB ranging address: %s
2023-06-07 09:05:06.837 18488-18615 NearbySharing com.google.android.gms.persistent I (REDACTED) Acquired best-available UWB complex channel: (%s, %s)
2023-06-07 09:05:06.913 18488-18616 NearbyUWB com.google.android.gms.persistent I (REDACTED) Screen unlocked: %s
2023-06-07 09:05:07.491 18488-18525 NearbyUWB com.google.android.gms.persistent I (REDACTED) Client %s (%s) disconnecting %s
2023-06-07 09:05:07.492 18488-18635 NearbyUWB com.google.android.gms.persistent W UWB stopRanging called without an active session. {bihr@3c7eeb3} [CONTEXT service_id=49 ]
2023-06-07 09:05:07.495 18488-18616 NearbyUWB com.google.android.gms.persistent I (REDACTED) User opted in for analytics reporting: %s.
2023-06-07 09:05:07.495 18488-18616 NearbyUWB com.google.android.gms.persistent I AnalyticsLogger is shutdown. [CONTEXT service_id=49 ]
2023-06-07 09:05:11.079 18230-18230 MainActivity
2023-06-07 09:05:11.080 18230-18230 UARTManager
2023-06-07 09:05:12.981 18230-18230 UARTManager
2023-06-07 09:05:12.983 18230-18230 MainActivity
2023-06-07 09:05:13.001 18488-18635 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:05:13.003 18488-18635 NearbyUWB com.google.android.gms.persistent I (REDACTED) Ranging device buffer %s
2023-06-07 09:05:13.003 18488-18635 NearbyUWB com.google.android.gms.persistent W UWB stopRanging called without an active session. {bihn@f9c235d} [CONTEXT service_id=49 ]
2023-06-07 09:05:13.011 18230-18230 AndroidRuntime
Process:
java.lang.IllegalArgumentException: Illegal api call was received.
at androidx.core.uwb.helper.UwbHelperKt.handleApiException(UwbHelper.kt:43)
at androidx.core.uwb.impl.UwbClientSessionScopeImpl$prepareSession$1$1$1.invokeSuspend(UwbClientSessionScopeImpl.kt:140)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7884)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@d3b9f62, Dispatchers.Main.immediate]