Add setFrameRateCategory SurfaceControl java API

This new API allows users to set a "frame rate category" to the surface
control to specify a range of desired frame rates. This may affect the
display refresh rate choice.

The new test CtsSurfaceControlTestsStaging is similar to
SetFrameRateTest CTS, while the API is not public.

Bug: 284911776
Test: atest CtsSurfaceControlTestsStaging
Change-Id: Ib8d5e7f16750aaf12eb202a325c26a7c640d393b
17 files changed