Add SurfaceControl.Transaction#setFrameRate API

The new overload uses same plumbing and same logic as the other
setFrameRate overloads. This plumbing and logic will be upgraded to
accommodate new parameters in a future CL (e.g. for desiredMaxRate).

Bug: 362798998
Test: atest SetFrameRateTest
Flag: com.android.graphics.surfaceflinger.flags.arr_surfacecontrol_setframerate_api
Change-Id: I2cb20bc02a980c1285c4f918ec902e8d9df100e0
2 files changed