diff options
| author | Steven Thomas <steventhomas@google.com> | 2020-03-24 16:06:33 -0700 |
|---|---|---|
| committer | Steven Thomas <steventhomas@google.com> | 2020-04-04 19:55:00 -0700 |
| commit | 6ec6fbc2cc0bc4a0aa799a568ab16940c311de35 (patch) | |
| tree | d05b43acd46091cd2a37677f7b008fdc8145189f /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 6a4a96c74c66d2f457e68dd51075f242ca8a2f09 (diff) | |
Add frame rate flexibility token
Add support for temporarily relaxing frame rate restrictions in surface
flinger. This is used by CTS tests to get a consistent device state
while running frame rate tests.
Bug: 148033900
Test: - On a Pixel 4, I turned the brightness down and covered the
ambient light sensor, causing the display manager to set a frame rate
restriction. I ran the frame rate CTS test without these CLs applied,
and confirmed the test failed because surface flinger couldn't switch
frame rates, as expected. Then I ran the tests with the CLs applied, and
confirmed the tests pass.
- I confirmed that, without adopting shell permission identity, the CTS
test is denied the request to acquire a frame rate flexibility token. So
normal apps won't be able to access this.
Change-Id: Ie2b611cf5726c14a7a22e315a85bf6200d190682
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
