Skip to content
Snippets Groups Projects
Commit d9291c0a authored by Lais Andrade's avatar Lais Andrade
Browse files

Add dumpsys information for VibratorControlService

Add debug logs for the VibratorControlService and the cached adaptive
haptics scales received from the registered VibratorController.

Improvements in dumpsys includes:

- Add scale level and adaptive scale values to Vibration.DebugInfo
- Add VibrationAttributes category to vibration logs
- Add missing fields from VibrationConfig to dumpsys
- Add VibrationScaler to dumpsys, including cached adaptive scales
- Add keyboard settings and ringer mode to VibrationSettings dumpsys
- Simplify processStateCache entry from dumpsys
- Rename individual vibrator logs from VibratorController to Vibrator,
  to avoid confusion with new service name.
- Add VibratorControlService logs with pull/push/clear request history

Other code changes includes extracting the logic to dump aggregated
log entries from VibratorManagerService for reuse in the control service
and simplifying the vibration history logs to help debugging.

Fix: 305965431
Test: atest GroupedAggregatedLogRecordsTest
Change-Id: I745f5b02182b4e730c0eb359cc6a134c8c9299ed
parent 19954aa1
No related branches found
No related tags found
No related merge requests found
Showing
with 1045 additions and 338 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment