Improve VibratorManagerService dumpsys
Sometimes it can be hard to debug vibrations using a bugreport when the user interacts with the keyboard during the bugreport generation. This can create multiple touch vibrations that push all other touch vibrations out of the buffer. This change keeps the existing vibration records, now renamed to "recent vibrations", and adds a new field "aggregated vibration history" which aggregates vibrations by uid, attributes and effect when they are requested in close succession (less than 1s). This change also introduces other improvements to dumpsys: - Print VibrationSettings, VibrationConfig and VibratorController using multiple lines and indentation - External vibration breakdown by usage - Simplify each vibration text, printing a few lines for each vibration and simplifying the VibrationEffect string. Fix: 260309860 Test: adb shell dumpsys vibrator_manager Change-Id: I3d065a6264716185675f6a83ba61dcae71e8e38f
Loading
Please register or sign in to comment