Status Update
Comments
sh...@google.com <sh...@google.com>
sh...@google.com <sh...@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.
Description
implementation("androidx.core.uwb:uwb:1.0.0-alpha05")
implementation("com.google.android.gms:play-services-nearby:18.7.0")
Devices/Android versions reproduced on:
Pixel Fold, but also seen on Pixel 7 Pro both running Android 13.
This logcat is from the Pixel Fold and we were trying to use multicast UWB ranging, but via Nearby UWB.
The device seems to do a partial reset, as we see the Google screen and it requires a PIN to unlock.
2023-07-14 09:33:41.976 22984-23229 UwbSessionManager system_server I App state change. IsFg: false. Reconfiguring session ntf control
2023-07-14 09:33:41.979 22984-23229 UwbSessionManager system_server I reconfigure() - Session ID : 1
2023-07-14 09:33:41.980 22984-23229 UwbSessionManager system_server I reconfigure() - update reconfigure params: com.android.x.uwb.com.google.uwb.support.fira.FiraRangingReconfigureParams@507a2c11
2023-07-14 09:33:41.980 22984-23229 AndroidRuntime system_server E *** FATAL EXCEPTION IN SYSTEM PROCESS: UwbService
java.lang.IllegalArgumentException
at com.android.x.uwb.com.google.common.base.Preconditions.checkArgument(Unknown Source:5)
at com.android.x.uwb.com.google.uwb.support.fira.FiraOpenSessionParams$Builder.checkRangeDataNtfConfig(Unknown Source:35)
at com.android.x.uwb.com.google.uwb.support.fira.FiraOpenSessionParams$Builder.build(Unknown Source:11)
at com.android.server.uwb.UwbSessionManager$UwbSession.updateFiraParamsOnReconfigure(Unknown Source:145)
at com.android.server.uwb.UwbSessionManager.reconfigureInternal(Unknown Source:93)
at com.android.server.uwb.UwbSessionManager.-$$Nest$mreconfigureInternal(Unknown Source:0)
at com.android.server.uwb.UwbSessionManager$UwbSession.reconfigureFiraSessionOnFgStateChange(Unknown Source:48)
at com.android.server.uwb.UwbSessionManager$1.lambda$onUidImportance$0(Unknown Source:83)
at com.android.server.uwb.UwbSessionManager$1.$r8$lambda$BbVl9Tj34jkESeK6LicC5SCPxMg(Unknown Source:0)
at com.android.server.uwb.UwbSessionManager$1$$ExternalSyntheticLambda0.run(Unknown Source:6)
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.os.HandlerThread.run(HandlerThread.java:67)
2023-07-14 09:33:42.360 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service I close
2023-07-14 09:33:42.360 833-833 qorvo.uwb....AndroidCCC android.hardware.qorvo.uwb.service I Reset
2023-07-14 09:33:42.360 833-833 qorvo.uwb....AndroidCCC android.hardware.qorvo.uwb.service I OnSessionDeinit
2023-07-14 09:33:42.360 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service I onResetDone
2023-07-14 09:33:42.360 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service I closeBackends
2023-07-14 09:33:42.360 833-833 qorvo.uwb....cCallbacks android.hardware.qorvo.uwb.service I resetBackend Reset service from backend
2023-07-14 09:33:42.360 833-833 qorvo.uwb....ckend_fira android.hardware.qorvo.uwb.service I state_notification_with_code: MT/GID/OID 6102 NTF 1 (0)
2023-07-14 09:33:42.373 833-833 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-07-14 09:33:42.373 833-833 qorvo.uwb....AndroidCCC android.hardware.qorvo.uwb.service I ~UciBackendAndroidCCC
2023-07-14 09:33:42.373 833-833 qorvo.uwb....AndroidCCC android.hardware.qorvo.uwb.service I ResetController
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I void hardware::qorvo::NfccCoex::Reset()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I int hardware::qorvo::NfccCoex::RangingStop()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I int hardware::qorvo::NfccCoex::SessionDeinit()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I hardware::qorvo::NfccCoex::~NfccCoex()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I void hardware::qorvo::NfccCoex::Reset()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I int hardware::qorvo::NfccCoex::RangingStop()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I int hardware::qorvo::NfccCoex::SessionDeinit()
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbMac android.hardware.qorvo.uwb.service I hardware::qorvo::NfccCoex::~NfccCoex() helper_close
2023-07-14 09:33:42.373 833-833 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-07-14 09:33:42.373 833-833 qorvo.uwb.uwbmac android.hardware.qorvo.uwb.service I ack_handler
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service I onResetDone: Closed as requested, send HAL CLOSE event
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service E onResetDone: Failed to send HAL CLOSE event
2023-07-14 09:33:42.373 833-833 qorvo.uwb.hal.UwbChip android.hardware.qorvo.uwb.service I close: Exit
2023-07-14 09:33:42.373 833-833 android.ha...wb.service android.hardware.qorvo.uwb.service E unlinkToDeath: removed reference to death recipient but unlink failed.
2023-07-14 09:33:43.119 833-833 qorvo.uwb....cConnector android.hardware.qorvo.uwb.service I onDeath
2023-07-14 09:33:43.120 833-833 qorvo.uwb....cCallbacks android.hardware.qorvo.uwb.service I ~CccCallbacks