Searched refs:frameRateHz (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 242 public final float frameRateHz; field in DisplayEventReceiver.FrameRateOverride 246 public FrameRateOverride(int uid, float frameRateHz) { in FrameRateOverride() argument 248 this.frameRateHz = frameRateHz; in FrameRateOverride() 253 return "{uid=" + uid + " frameRateHz=" + frameRateHz + "}"; in toString()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | FrameRateOverrideMappings.cpp | 126 if (frameRateOverride.frameRateHz != 0.f) { in setGameModeRefreshRateForUid() 128 Fps::fromValue(frameRateOverride.frameRateHz); in setGameModeRefreshRateForUid() 136 if (frameRateOverride.frameRateHz != 0.f) { in setPreferredRefreshRateForUid() 138 Fps::fromValue(frameRateOverride.frameRateHz); in setPreferredRefreshRateForUid()
|
D | Scheduler.cpp | 762 if (frameRateOverride.frameRateHz > 0.f && frameRateOverride.frameRateHz < 1.f) { in setGameModeRefreshRateForUid() 770 if (frameRateOverride.frameRateHz > 0.f && frameRateOverride.frameRateHz < 1.f) { in setPreferredRefreshRateForUid()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 94 float frameRateHz __attribute__((aligned(8))); member 180 return (lhs.uid == rhs.uid) && std::abs(lhs.frameRateHz - rhs.frameRateHz) < 0.001f;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SetFrameRateOverride_test.cpp | 86 return uid == i.uid && frameRate == i.frameRateHz; in TEST_F() 94 return uid == i.uid && frameRate == i.frameRateHz; in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | EventThreadTest.cpp | 320 for (const auto [uid, frameRateHz] : expectedOverrides) { in expectUidFrameRateMappingEventReceivedByConnection() 327 EXPECT_EQ(frameRateHz, event.frameRateOverride.frameRateHz); in expectUidFrameRateMappingEventReceivedByConnection() 712 {.uid = 1, .frameRateHz = 20}, in TEST_F() 713 {.uid = 3, .frameRateHz = 40}, in TEST_F() 714 {.uid = 5, .frameRateHz = 60}, in TEST_F() 723 {.uid = 1, .frameRateHz = 20}, in TEST_F() 724 {.uid = 3, .frameRateHz = 40}, in TEST_F() 725 {.uid = 5, .frameRateHz = 60}, in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 66 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, frameRateHz, 8); in TEST()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 422 frameRateOverride.frameRateHz); in updateFrameRateOverrides() 430 if (refreshRate == 0 || frameRateOverride.frameRateHz != refreshRate) { in updateFrameRateOverrides() 432 frameRateOverride.frameRateHz); in updateFrameRateOverrides()
|
D | DisplayManagerService.java | 897 float frameRateHz = 0; 900 frameRateHz = frameRateOverride.frameRateHz; 904 if (frameRateHz == 0) { 912 float numPeriods = currentMode.getRefreshRate() / frameRateHz; 917 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound; 926 if (mode.getRefreshRate() >= frameRateHz - THRESHOLD_FOR_REFRESH_RATES_DIVISORS 928 <= frameRateHz + THRESHOLD_FOR_REFRESH_RATES_DIVISORS) { 943 overriddenInfo.refreshRateOverride = frameRateHz;
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 202 overrides[i].frameRateHz); in dispatchFrameRateOverrides()
|