Add toolkit_frame_rate_function_enabling_read_only flag to gate VRR
tests in ViewRootImplTest

Add toolkit_frame_rate_function_enabling_read_only flag to gate VRR
tests in ViewRootImplTest. Also, use calculateFrameRateCategory in View
for infrequent update.

Bug: 330596920
Test: atest ViewRootImplTest / atest ViewFrameRateTest
Change-Id: I9d811198b75389fdc5ef0b26203fafe6ede55ca8
2 files changed