Searched refs:mFrameRateVote (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | RefreshRatePolicyTest.java | 350 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testAnimatingDenylist() 388 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testAppMaxRefreshRate() 397 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testAppMaxRefreshRate() 409 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testAppMinRefreshRate() 418 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testAppMinRefreshRate() 444 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testSwitchingTypeForExactVote() 449 assertEquals(FRAME_RATE_VOTE_HI_EXACT, window.mFrameRateVote); in testSwitchingTypeForExactVote() 459 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testSwitchingTypeForExactVote() 471 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testSwitchingTypeForPreferredVote() 500 assertEquals(FRAME_RATE_VOTE_NONE, window.mFrameRateVote); in testSwitchingTypeForDenylist() [all …]
|
H A D | FrameRateSelectionPriorityTests.java | 97 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in basicTest() 102 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in basicTest() 121 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithoutModeId() 124 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithoutModeId() 129 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithoutModeId() 138 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithoutModeId() 149 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithModeId() 156 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithModeId() 169 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationInFocusWithModeId() 192 assertEquals(appWindow.mFrameRateVote, FRAME_RATE_VOTE_NONE); in testApplicationNotInFocusWithModeId() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | RefreshRatePolicy.java | 249 return w.mFrameRateVote.reset(); in updateFrameRateVote() 255 return w.mFrameRateVote.reset(); in updateFrameRateVote() 265 return w.mFrameRateVote.update(mode.getRefreshRate(), in updateFrameRateVote() 273 return w.mFrameRateVote.update(w.mAttrs.preferredRefreshRate, in updateFrameRateVote() 282 return w.mFrameRateVote.update(mLowRefreshRateMode.getRefreshRate(), in updateFrameRateVote() 287 return w.mFrameRateVote.reset(); in updateFrameRateVote()
|
H A D | WindowState.java | 754 FrameRateVote mFrameRateVote = new FrameRateVote(); field in WindowState 5187 mSurfaceControl, mFrameRateVote.mRefreshRate, in updateFrameRateSelectionPriorityIfNeeded() 5188 mFrameRateVote.mCompatibility, Surface.CHANGE_FRAME_RATE_ALWAYS); in updateFrameRateSelectionPriorityIfNeeded()
|