Home
last modified time | relevance | path

Searched refs:FrameRateOverride (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/services/surfaceflinger/Scheduler/
DFrameRateOverrideMappings.cpp20 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; typedef
54 std::vector<FrameRateOverride> FrameRateOverrideMappings::getAllFrameRateOverrides( in getAllFrameRateOverrides()
57 std::vector<FrameRateOverride> overrides; in getAllFrameRateOverrides()
63 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides()
68 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides()
79 overrides.emplace_back(FrameRateOverride{uid, frameRate.getValue()}); in getAllFrameRateOverrides()
124 void FrameRateOverrideMappings::setGameModeRefreshRateForUid(FrameRateOverride frameRateOverride) { in setGameModeRefreshRateForUid()
134 void FrameRateOverrideMappings::setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride) { in setPreferredRefreshRateForUid()
DFrameRateOverrideMappings.h28 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable
35 std::vector<FrameRateOverride> getAllFrameRateOverrides(bool supportsFrameRateOverrideByContent)
40 void setGameModeRefreshRateForUid(FrameRateOverride frameRateOverride)
42 void setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride)
DEventThread.h54 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable
142 std::vector<FrameRateOverride> overrides) = 0;
194 std::vector<FrameRateOverride> overrides) override;
DScheduler.h224 void setPreferredRefreshRateForUid(FrameRateOverride);
226 void setGameModeRefreshRateForUid(FrameRateOverride);
DRefreshRateConfigs.h46 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable
DScheduler.cpp273 std::vector<FrameRateOverride> overrides = in onFrameRateOverridesChanged()
761 void Scheduler::setGameModeRefreshRateForUid(FrameRateOverride frameRateOverride) { in setGameModeRefreshRateForUid()
769 void Scheduler::setPreferredRefreshRateForUid(FrameRateOverride frameRateOverride) { in setPreferredRefreshRateForUid()
DEventThread.cpp137 FrameRateOverride frameRateOverride) { in makeFrameRateOverrideEvent()
418 std::vector<FrameRateOverride> overrides) { in onFrameRateOverridesChanged()
/frameworks/native/libs/gui/include/gui/
DDisplayEventDispatcher.h22 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; variable
49 std::vector<FrameRateOverride> mFrameRateOverrides;
62 std::vector<FrameRateOverride> overrides) = 0;
DDisplayEventReceiver.h92 struct FrameRateOverride { struct
102 FrameRateOverride frameRateOverride;
178 inline bool operator==(DisplayEventReceiver::Event::FrameRateOverride lhs,
179 DisplayEventReceiver::Event::FrameRateOverride rhs) {
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java237 public static class FrameRateOverride { class in DisplayEventReceiver
246 public FrameRateOverride(int uid, float frameRateHz) { in FrameRateOverride() method in DisplayEventReceiver.FrameRateOverride
266 FrameRateOverride[] overrides) { in onFrameRateOverridesChanged()
313 FrameRateOverride[] overrides) { in dispatchFrameRateOverrides()
/frameworks/native/services/surfaceflinger/tests/
DSetFrameRateOverride_test.cpp26 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; typedef
74 std::vector<FrameRateOverride> mFrameRateOverrides;
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java798 new DisplayEventReceiver.FrameRateOverride[]{ in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
799 new DisplayEventReceiver.FrameRateOverride(myUid, 30f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
805 new DisplayEventReceiver.FrameRateOverride[]{ in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
806 new DisplayEventReceiver.FrameRateOverride(myUid, 30f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
807 new DisplayEventReceiver.FrameRateOverride(1234, 30f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
812 new DisplayEventReceiver.FrameRateOverride[]{ in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
813 new DisplayEventReceiver.FrameRateOverride(myUid, 20f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
814 new DisplayEventReceiver.FrameRateOverride(1234, 30f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
815 new DisplayEventReceiver.FrameRateOverride(5678, 30f), in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
821 new DisplayEventReceiver.FrameRateOverride[]{ in testShouldNotifyChangeWhenDisplayInfoFrameRateOverrideChanged()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameRateOverrideMappingsTest.cpp27 using FrameRateOverride = DisplayEventReceiver::Event::FrameRateOverride; typedef
106 std::vector<FrameRateOverride> allFrameRateOverrides; in TEST_F()
DEventThreadTest.cpp111 std::vector<FrameRateOverride>);
319 PhysicalDisplayId expectedDisplayId, std::vector<FrameRateOverride> expectedOverrides) { in expectUidFrameRateMappingEventReceivedByConnection()
711 const std::vector<FrameRateOverride> overrides = { in TEST_F()
722 const std::vector<FrameRateOverride> overrides = { in TEST_F()
/frameworks/native/libs/gui/tests/
DDisplayEventStructLayout_test.cpp65 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, uid, 0); in TEST()
66 CHECK_OFFSET(DisplayEventReceiver::Event::FrameRateOverride, frameRateHz, 8); in TEST()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h38 void(PhysicalDisplayId, std::vector<FrameRateOverride>));
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java368 public DisplayEventReceiver.FrameRateOverride[] frameRateOverrides =
369 new DisplayEventReceiver.FrameRateOverride[0];
525 for (DisplayEventReceiver.FrameRateOverride frameRateOverride : frameRateOverrides) { in toString()
DLogicalDisplay.java136 private DisplayEventReceiver.FrameRateOverride[] mFrameRateOverrides;
219 public DisplayEventReceiver.FrameRateOverride[] getFrameRateOverrides() { in getFrameRateOverrides()
419 for (DisplayEventReceiver.FrameRateOverride frameRateOverride in updateFrameRateOverrides()
427 for (DisplayEventReceiver.FrameRateOverride frameRateOverride in updateFrameRateOverrides()
DLocalDisplayAdapter.java229 private DisplayEventReceiver.FrameRateOverride[] mFrameRateOverrides =
230 new DisplayEventReceiver.FrameRateOverride[0];
1026 DisplayEventReceiver.FrameRateOverride[] overrides) { in onFrameRateOverridesChanged()
1046 DisplayEventReceiver.FrameRateOverride[] overrides) { in updateFrameRateOverridesLocked()
1307 DisplayEventReceiver.FrameRateOverride[] overrides);
1332 DisplayEventReceiver.FrameRateOverride[] overrides) {
1372 DisplayEventReceiver.FrameRateOverride[] overrides) {
DDisplayManagerService.java895 private DisplayInfo getDisplayInfoForFrameRateOverride(DisplayEventReceiver.FrameRateOverride[]
898 for (DisplayEventReceiver.FrameRateOverride frameRateOverride : frameRateOverrides) {
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp85 std::vector<FrameRateOverride> overrides) override;
185 nsecs_t timestamp, PhysicalDisplayId displayId, std::vector<FrameRateOverride> overrides) { in dispatchFrameRateOverrides()
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp159 std::vector<FrameRateOverride> overrides) override;
424 std::vector<FrameRateOverride>) { in dispatchFrameRateOverrides() argument
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp6118 mScheduler->setPreferredRefreshRateForUid(FrameRateOverride{inUid, refreshRate}); in onTransact()
7183 mScheduler->setGameModeRefreshRateForUid(FrameRateOverride{static_cast<uid_t>(uid), frameRate}); in setOverrideFrameRate()
/frameworks/base/boot/
Dpreloaded-classes7917 android.view.DisplayEventReceiver$FrameRateOverride
/frameworks/base/config/
Dpreloaded-classes7948 android.view.DisplayEventReceiver$FrameRateOverride

12