Searched refs:frameRateHz (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 215 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/ |
D | EventThreadTest.cpp | 271 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/ |
D | DisplayEventStructLayout_test.cpp | 46 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, frameRateHz, 8); in TEST()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 93 float frameRateHz __attribute__((aligned(8))); member
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 438 frameRateOverride.frameRateHz); in updateFrameRateOverrides() 446 if (refreshRate == 0 || frameRateOverride.frameRateHz != refreshRate) { in updateFrameRateOverrides() 448 frameRateOverride.frameRateHz); in updateFrameRateOverrides()
|
D | DisplayManagerService.java | 802 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/ |
D | Scheduler.cpp | 900 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/ |
D | android_view_DisplayEventReceiver.cpp | 165 overrides[i].frameRateHz); in dispatchFrameRateOverrides()
|