Merge changes I6925c703,Idbd10c00,I4dbdd28c,I68ced121,I340824fe, ... into main
* changes:
Make BrightnessPair static.
Add nullness annotations to Binder shell command callbacks.
Switch to the supported IndentingPrintWriter.
Simplify disableHdrConversionForLatency expression.
Apply @Display.HdrCapabilities.HdrType to more places.
Use a method reference in place of a lambda.
Remove unused items from DMS
Remove unnecessary generic types in constructor calls.
Reduce the visibility of mCallbacks and mPendingCallbackSelfLocked
Make UidImportanceListener a final field.
Make ActivityManager a local variable.
Suppress any missing permissions warnings.