Home
last modified time | relevance | path

Searched refs:frameRateOverrides (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp3530 auto frameRateOverrides = selector.getFrameRateOverrides(layers, 120_Hz, {}); in TEST_P() local
3531 EXPECT_EQ(1u, frameRateOverrides.size()); in TEST_P()
3532 ASSERT_EQ(1u, frameRateOverrides.count(1234)); in TEST_P()
3533 EXPECT_EQ(60_Hz, frameRateOverrides.at(1234)); in TEST_P()
3536 frameRateOverrides = selector.getFrameRateOverrides(layers, 120_Hz, {}); in TEST_P()
3537 EXPECT_EQ(1u, frameRateOverrides.size()); in TEST_P()
3538 ASSERT_EQ(1u, frameRateOverrides.count(1234)); in TEST_P()
3539 EXPECT_EQ(60_Hz, frameRateOverrides.at(1234)); in TEST_P()
3542 frameRateOverrides = selector.getFrameRateOverrides(layers, 120_Hz, {}); in TEST_P()
3543 EXPECT_EQ(1u, frameRateOverrides.size()); in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DFrameRateOverrideMappings.cpp122 const UidToFrameRateOverride& frameRateOverrides) { in updateFrameRateOverridesByContent() argument
125 frameRateOverrides.begin(), frameRateOverrides.end(), in updateFrameRateOverridesByContent()
129 mFrameRateOverridesByContent = frameRateOverrides; in updateFrameRateOverridesByContent()
DFrameRateOverrideMappings.h40 bool updateFrameRateOverridesByContent(const UidToFrameRateOverride& frameRateOverrides)
DRefreshRateSelector.cpp986 UidToFrameRateOverride frameRateOverrides; in getFrameRateOverrides() local
1074 frameRateOverrides.emplace(uid, overrideFps); in getFrameRateOverrides()
1077 return frameRateOverrides; in getFrameRateOverrides()
DScheduler.cpp919 const auto frameRateOverrides = in updateFrameRateOverridesLocked() local
925 return mFrameRateOverrideMappings.updateFrameRateOverridesByContent(frameRateOverrides); in updateFrameRateOverridesLocked()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java448 public DisplayEventReceiver.FrameRateOverride[] frameRateOverrides = field in DisplayDeviceInfo
532 || !Arrays.equals(frameRateOverrides, other.frameRateOverrides) in diff()
581 frameRateOverrides = other.frameRateOverrides; in copyFrom()
629 for (DisplayEventReceiver.FrameRateOverride frameRateOverride : frameRateOverrides) { in toString()
DLogicalDisplay.java581 mFrameRateOverrides = deviceInfo.frameRateOverrides; in updateFrameRateOverrides()
DLocalDisplayAdapter.java771 mInfo.frameRateOverrides = mFrameRateOverrides; in getDisplayDeviceInfoLocked()
DDisplayManagerService.java1175 frameRateOverrides, DisplayInfo info, int callingUid) { in getDisplayInfoForFrameRateOverride()
1177 for (DisplayEventReceiver.FrameRateOverride frameRateOverride : frameRateOverrides) { in getDisplayInfoForFrameRateOverride()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java3302 DisplayEventReceiver.FrameRateOverride[] frameRateOverrides) {
3305 displayDeviceInfo.frameRateOverrides = frameRateOverrides;