Home
last modified time | relevance | path

Searched refs:frameRateHz (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java215 public final float frameRateHz; field in DisplayEventReceiver.FrameRateOverride
219 public FrameRateOverride(int uid, float frameRateHz) { in FrameRateOverride() argument
221 this.frameRateHz = frameRateHz; in FrameRateOverride()
226 return "{uid=" + uid + " frameRateHz=" + frameRateHz + "}"; in toString()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp271 for (const auto [uid, frameRateHz] : expectedOverrides) { in expectUidFrameRateMappingEventReceivedByConnection()
278 EXPECT_EQ(frameRateHz, event.frameRateOverride.frameRateHz); in expectUidFrameRateMappingEventReceivedByConnection()
574 {.uid = 1, .frameRateHz = 20}, in TEST_F()
575 {.uid = 3, .frameRateHz = 40}, in TEST_F()
576 {.uid = 5, .frameRateHz = 60}, in TEST_F()
585 {.uid = 1, .frameRateHz = 20}, in TEST_F()
586 {.uid = 3, .frameRateHz = 40}, in TEST_F()
587 {.uid = 5, .frameRateHz = 60}, in TEST_F()
/frameworks/native/libs/gui/tests/
DDisplayEventStructLayout_test.cpp46 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, frameRateHz, 8); in TEST()
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h93 float frameRateHz __attribute__((aligned(8))); member
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java438 frameRateOverride.frameRateHz); in updateFrameRateOverrides()
446 if (refreshRate == 0 || frameRateOverride.frameRateHz != refreshRate) { in updateFrameRateOverrides()
448 frameRateOverride.frameRateHz); in updateFrameRateOverrides()
DDisplayManagerService.java802 float frameRateHz = 0;
805 frameRateHz = frameRateOverride.frameRateHz;
809 if (frameRateHz == 0) {
817 float numPeriods = currentMode.getRefreshRate() / frameRateHz;
822 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound;
831 if (mode.getRefreshRate() >= frameRateHz - THRESHOLD_FOR_REFRESH_RATES_DIVIDERS
833 <= frameRateHz + THRESHOLD_FOR_REFRESH_RATES_DIVIDERS) {
848 overriddenInfo.refreshRateOverride = frameRateHz;
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp900 if (frameRateOverride.frameRateHz > 0.f && frameRateOverride.frameRateHz < 1.f) { in setPreferredRefreshRateForUid()
905 if (frameRateOverride.frameRateHz != 0.f) { in setPreferredRefreshRateForUid()
906 mFrameRateOverridesFromBackdoor[frameRateOverride.uid] = Fps(frameRateOverride.frameRateHz); in setPreferredRefreshRateForUid()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp165 overrides[i].frameRateHz); in dispatchFrameRateOverrides()