/frameworks/native/services/surfaceflinger/Scheduler/ |
D | FrameRateOverrideMappings.cpp | 21 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; typedef 55 std::vector<FrameRateOverride> FrameRateOverrideMappings::getAllFrameRateOverrides( in getAllFrameRateOverrides() 59 std::vector<FrameRateOverride> overrides; in getAllFrameRateOverrides() 63 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() 70 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() 82 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides() 135 void FrameRateOverrideMappings::setGameModeRefreshRateForUid(FrameRateOverride frameRateOverride) { in setGameModeRefreshRateForUid() 145 void FrameRateOverrideMappings::setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride) { in setPreferredRefreshRateForUid()
|
D | FrameRateOverrideMappings.h | 31 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable 38 std::vector<FrameRateOverride> getAllFrameRateOverrides(bool supportsFrameRateOverrideByContent) 42 void setGameModeRefreshRateForUid(FrameRateOverride frameRateOverride) 44 void setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride)
|
D | LayerHistory.h | 46 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; 94 void updateGameModeFrameRateOverride(FrameRateOverride frameRateOverride) EXCLUDES(mLock); 97 void updateGameDefaultFrameRateOverride(FrameRateOverride frameRateOverride) EXCLUDES(mLock);
|
D | RefreshRateSelector.h | 41 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable 283 enum class FrameRateOverride { enum 299 FrameRateOverride enableFrameRateOverride = FrameRateOverride::Disabled; 316 Config config = {.enableFrameRateOverride = Config::FrameRateOverride::Disabled, 334 mFrameRateOverrideConfig == Config::FrameRateOverride::Enabled; in canSwitch() 348 return mFrameRateOverrideConfig != Config::FrameRateOverride::Disabled; in supportsAppFrameRateOverrideByContent() 352 return mFrameRateOverrideConfig == Config::FrameRateOverride::Enabled; in supportsFrameRateOverride() 514 Config::FrameRateOverride::AppOverrideNativeRefreshRates, in isNativeRefreshRate() 563 Config::FrameRateOverride mFrameRateOverrideConfig;
|
D | EventThread.h | 57 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable 118 std::vector<FrameRateOverride> overrides) = 0; 175 std::vector<FrameRateOverride> overrides) override;
|
D | RefreshRateSelector.cpp | 108 RefreshRateSelector::Config::FrameRateOverride config) { in divisorRange() 109 if (config != RefreshRateSelector::Config::FrameRateOverride::Enabled) { in divisorRange() 200 if (mConfig.enableFrameRateOverride == Config::FrameRateOverride::Enabled && in createFrameRateModes() 206 Config::FrameRateOverride::AppOverrideNativeRefreshRates && in createFrameRateModes() 953 if (mConfig.enableFrameRateOverride == Config::FrameRateOverride::Disabled) { in getFrameRateOverrides() 974 Config::FrameRateOverride::AppOverrideNativeRefreshRates && in getFrameRateOverrides() 1310 case Config::FrameRateOverride::Disabled: in updateDisplayModes() 1311 case Config::FrameRateOverride::AppOverride: in updateDisplayModes() 1312 case Config::FrameRateOverride::Enabled: in updateDisplayModes() 1314 case Config::FrameRateOverride::AppOverrideNativeRefreshRates: in updateDisplayModes() [all …]
|
D | Scheduler.h | 289 void setPreferredRefreshRateForUid(FrameRateOverride); 293 void setGameModeFrameRateForUid(FrameRateOverride) EXCLUDES(mDisplayLock); 301 void setGameDefaultFrameRateForUid(FrameRateOverride) EXCLUDES(mDisplayLock);
|
D | LayerHistory.cpp | 428 void LayerHistory::updateGameModeFrameRateOverride(FrameRateOverride frameRateOverride) { in updateGameModeFrameRateOverride() 442 void LayerHistory::updateGameDefaultFrameRateOverride(FrameRateOverride frameRateOverride) { in updateGameDefaultFrameRateOverride()
|
D | Scheduler.cpp | 410 std::vector<FrameRateOverride> overrides = in onFrameRateOverridesChanged() 1241 void Scheduler::setGameModeFrameRateForUid(FrameRateOverride frameRateOverride) { in setGameModeFrameRateForUid() 1254 void Scheduler::setGameDefaultFrameRateForUid(FrameRateOverride frameRateOverride) { in setGameDefaultFrameRateForUid() 1264 void Scheduler::setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride) { in setPreferredRefreshRateForUid()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventDispatcher.h | 22 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable 50 std::vector<FrameRateOverride> mFrameRateOverrides; 66 std::vector<FrameRateOverride> overrides) = 0;
|
D | DisplayEventReceiver.h | 99 struct FrameRateOverride { struct 118 FrameRateOverride frameRateOverride; 197 inline bool operator==(DisplayEventReceiver::Event::FrameRateOverride lhs, 198 DisplayEventReceiver::Event::FrameRateOverride rhs) {
|
D | Choreographer.h | 127 std::vector<FrameRateOverride> overrides) override;
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 302 public static class FrameRateOverride { class in DisplayEventReceiver 311 public FrameRateOverride(int uid, float frameRateHz) { in FrameRateOverride() method in DisplayEventReceiver.FrameRateOverride 331 FrameRateOverride[] overrides) { in onFrameRateOverridesChanged() 383 FrameRateOverride[] overrides) { in dispatchFrameRateOverrides()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateSelectorTest.cpp | 144 class RefreshRateSelectorTest : public testing::TestWithParam<Config::FrameRateOverride> { 324 testing::Values(Config::FrameRateOverride::Disabled, 325 Config::FrameRateOverride::AppOverrideNativeRefreshRates, 326 Config::FrameRateOverride::AppOverride, 327 Config::FrameRateOverride::Enabled)); 331 if (GetParam() == Config::FrameRateOverride::Enabled) { in TEST_P() 1276 case Config::FrameRateOverride::Disabled: in TEST_P() 1277 case Config::FrameRateOverride::AppOverrideNativeRefreshRates: in TEST_P() 1278 case Config::FrameRateOverride::AppOverride: in TEST_P() 1280 case Config::FrameRateOverride::Enabled: in TEST_P() [all …]
|
D | FrameRateOverrideMappingsTest.cpp | 29 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; typedef 113 std::vector<FrameRateOverride> allFrameRateOverrides; in TEST_F()
|
D | EventThreadTest.cpp | 113 std::vector<FrameRateOverride>); 361 PhysicalDisplayId expectedDisplayId, std::vector<FrameRateOverride> expectedOverrides) { in expectUidFrameRateMappingEventReceivedByConnection() 795 const std::vector<FrameRateOverride> overrides = { in TEST_F() 808 const std::vector<FrameRateOverride> overrides = { in TEST_F()
|
D | LayerHistoryTest.cpp | 255 history().updateGameDefaultFrameRateOverride(FrameRateOverride({0, 60.0f})); in TEST_F() 261 history().updateGameModeFrameRateOverride(FrameRateOverride({0, 40.0f})); in TEST_F() 262 history().updateGameModeFrameRateOverride(FrameRateOverride({1, 120.0f})); in TEST_F() 272 history().updateGameDefaultFrameRateOverride(FrameRateOverride({0, 0.0f})); in TEST_F() 273 history().updateGameModeFrameRateOverride(FrameRateOverride({1, 0.0f})); in TEST_F() 300 FrameRateOverride({uid, gameDefaultFrameRate.getValue()})); in TEST_F() 336 FrameRateOverride({uid, gameModeFrameRate.getValue()})); in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 67 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, uid, 0); in TEST() 68 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, frameRateHz, 8); in TEST()
|
/frameworks/native/libs/gui/ |
D | libgui_flags.aconfig | 31 description: "Trace FrameRateOverride fps"
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.h | 47 (PhysicalDisplayId, std::vector<FrameRateOverride>), (override));
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 1921 new DisplayEventReceiver.FrameRateOverride[]{ 1922 new DisplayEventReceiver.FrameRateOverride(myUid, 30f), 1929 new DisplayEventReceiver.FrameRateOverride[]{ 1930 new DisplayEventReceiver.FrameRateOverride(myUid, 30f), 1931 new DisplayEventReceiver.FrameRateOverride(1234, 30f), 1937 new DisplayEventReceiver.FrameRateOverride[]{ 1938 new DisplayEventReceiver.FrameRateOverride(myUid, 20f), 1939 new DisplayEventReceiver.FrameRateOverride(1234, 30f), 1940 new DisplayEventReceiver.FrameRateOverride(5678, 30f), 1947 new DisplayEventReceiver.FrameRateOverride[]{ [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 448 public DisplayEventReceiver.FrameRateOverride[] frameRateOverrides = 449 new DisplayEventReceiver.FrameRateOverride[0]; 629 for (DisplayEventReceiver.FrameRateOverride frameRateOverride : frameRateOverrides) { in toString()
|
D | LogicalDisplay.java | 154 private DisplayEventReceiver.FrameRateOverride[] mFrameRateOverrides; 298 public DisplayEventReceiver.FrameRateOverride[] getFrameRateOverrides() { in getFrameRateOverrides() 575 for (DisplayEventReceiver.FrameRateOverride frameRateOverride in updateFrameRateOverrides() 583 for (DisplayEventReceiver.FrameRateOverride frameRateOverride in updateFrameRateOverrides()
|
D | LocalDisplayAdapter.java | 267 private DisplayEventReceiver.FrameRateOverride[] mFrameRateOverrides = 268 new DisplayEventReceiver.FrameRateOverride[0]; 1146 DisplayEventReceiver.FrameRateOverride[] overrides) { in onFrameRateOverridesChanged() 1174 DisplayEventReceiver.FrameRateOverride[] overrides) { in updateFrameRateOverridesLocked() 1467 DisplayEventReceiver.FrameRateOverride[] overrides); 1499 DisplayEventReceiver.FrameRateOverride[] overrides) { 1558 DisplayEventReceiver.FrameRateOverride[] overrides) {
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 98 std::vector<FrameRateOverride> overrides) override; 270 nsecs_t timestamp, PhysicalDisplayId displayId, std::vector<FrameRateOverride> overrides) { in dispatchFrameRateOverrides()
|