Doze auto-brightness mode

We switch to doze auto-brightness mode if we're in a doze screen state and we're not in idle mode.

Change the naming from setting to preset following the suggestion on the design doc - to not get confused with the other brightness setting (the brightness value).

Bug: 306407598
Test: adb shell dumpsys display
Test: atest com.android.server.display
Change-Id: I7b1e49ac5867512510bd75fc09dcde400b728108
10 files changed