Home
last modified time | relevance | path

Searched refs:DisplayModeId (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h67 RefreshRate(DisplayModeId modeId, DisplayModePtr mode, Fps fps, ConstructorTag) in RefreshRate()
70 DisplayModeId getModeId() const { return modeId; } in getModeId()
102 const DisplayModeId modeId;
109 std::unordered_map<DisplayModeId, std::unique_ptr<const RefreshRate>>;
133 DisplayModeId defaultMode;
150 Policy(DisplayModeId defaultMode, const FpsRange& range) in Policy()
153 Policy(DisplayModeId defaultMode, bool allowGroupSwitching, const FpsRange& range) in Policy()
156 Policy(DisplayModeId defaultMode, const FpsRange& primaryRange, in Policy()
160 Policy(DisplayModeId defaultMode, bool allowGroupSwitching, const FpsRange& primaryRange, in Policy()
201 bool isModeAllowed(DisplayModeId) const EXCLUDES(mLock);
[all …]
DScheduler.h90 void onPrimaryDisplayModeChanged(ConnectionHandle, PhysicalDisplayId, DisplayModeId,
92 void onNonPrimaryDisplayModeChanged(ConnectionHandle, PhysicalDisplayId, DisplayModeId,
159 std::optional<DisplayModeId> getPreferredModeId();
235 DisplayModeId calculateRefreshRateModeId(
291 std::optional<DisplayModeId> modeId;
300 DisplayModeId modeId;
DEventThread.h127 virtual void onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId,
177 void onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId,
DScheduler.cpp364 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onPrimaryDisplayModeChanged()
406 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onNonPrimaryDisplayModeChanged()
620 DisplayModeId newModeId; in chooseRefreshRateForContent()
793 DisplayModeId newModeId; in handleTimerStateChanged()
831 DisplayModeId Scheduler::calculateRefreshRateModeId( in calculateRefreshRateModeId()
853 std::optional<DisplayModeId> Scheduler::getPreferredModeId() { in getPreferredModeId()
DRefreshRateConfigs.cpp604 std::optional<DisplayModeId> desiredActiveConfigId, bool timerExpired) const { in onKernelTimerChanged()
669 void RefreshRateConfigs::setCurrentModeId(DisplayModeId modeId) { in setCurrentModeId()
679 RefreshRateConfigs::RefreshRateConfigs(const DisplayModes& modes, DisplayModeId currentModeId, in RefreshRateConfigs()
686 DisplayModeId currentModeId) { in updateDisplayModes()
793 bool RefreshRateConfigs::isModeAllowed(DisplayModeId modeId) const { in isModeAllowed()
DEventThread.cpp121 DisplayEventReceiver::Event makeModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId, in makeModeChanged()
378 void EventThread::onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId, in onModeChanged()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayMode.h40 using DisplayModeId = StrongTyping<ui::DisplayModeId, struct DisplayModeIdTag, Compare, Hash>; variable
52 Builder& setId(DisplayModeId id) { in setId()
113 DisplayModeId getId() const { return mId; } in getId()
138 DisplayModeId mId;
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayMode.h29 using DisplayModeId = int32_t; variable
33 DisplayModeId id;
/frameworks/native/libs/ui/include/ui/
DDisplayMode.h29 using DisplayModeId = int32_t; variable
33 DisplayModeId id;
/frameworks/native/services/surfaceflinger/tests/
DDisplayConfigs_test.cpp42 ui::DisplayModeId initialDefaultMode;
94 ui::DisplayModeId defaultConfig; in TEST_F()
121 ui::DisplayModeId defaultConfig; in testSetAllowGroupSwitching()
DCredentials_test.cpp216 ui::DisplayModeId defaultMode; in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateStatsTest.cpp43 static inline const auto CONFIG_ID_0 = DisplayModeId(0);
44 static inline const auto CONFIG_ID_1 = DisplayModeId(1);
65 DisplayModePtr createDisplayMode(DisplayModeId modeId, int32_t group, int64_t vsyncPeriod);
80 DisplayModePtr RefreshRateStatsTest::createDisplayMode(DisplayModeId modeId, int32_t group, in createDisplayMode()
DSchedulerTest.cpp55 .setId(DisplayModeId(0))
60 .setId(DisplayModeId(1))
201 DisplayModeId modeId = DisplayModeId(111); in TEST_F()
DRefreshRateConfigsTest.cpp95 static inline const DisplayModeId HWC_CONFIG_ID_60 = DisplayModeId(0);
96 static inline const DisplayModeId HWC_CONFIG_ID_90 = DisplayModeId(1);
97 static inline const DisplayModeId HWC_CONFIG_ID_72 = DisplayModeId(2);
98 static inline const DisplayModeId HWC_CONFIG_ID_120 = DisplayModeId(3);
99 static inline const DisplayModeId HWC_CONFIG_ID_30 = DisplayModeId(4);
100 static inline const DisplayModeId HWC_CONFIG_ID_25 = DisplayModeId(5);
101 static inline const DisplayModeId HWC_CONFIG_ID_50 = DisplayModeId(6);
170 DisplayModePtr createDisplayMode(DisplayModeId modeId, int32_t group, int64_t vsyncPeriod,
188 DisplayModePtr RefreshRateConfigsTest::createDisplayMode(DisplayModeId modeId, int32_t group, in createDisplayMode()
213 ASSERT_LT(refreshRateConfigs->setDisplayManagerPolicy({DisplayModeId(10), {Fps(60), Fps(60)}}), in TEST_F()
[all …]
DTestableSurfaceFlinger.h211 .setId(DisplayModeId(0))
218 .setId(DisplayModeId(1))
224 const auto currMode = DisplayModeId(0);
643 mActiveModeId = DisplayModeId(0); in FakeDisplayDeviceInjector()
679 auto& setActiveMode(DisplayModeId mode) { in setActiveMode()
760 DisplayModeId mActiveModeId;
DEventThreadTest.cpp546 mThread->onModeChanged(INTERNAL_DISPLAY_ID, DisplayModeId(7), 16666666); in TEST_F()
551 mThread->onModeChanged(EXTERNAL_DISPLAY_ID, DisplayModeId(5), 16666666); in TEST_F()
556 mThread->onModeChanged(DISPLAY_ID_64BIT, DisplayModeId(7), 16666666); in TEST_F()
565 mThread->onModeChanged(INTERNAL_DISPLAY_ID, DisplayModeId(9), 16666666); in TEST_F()
DTestableScheduler.h99 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onNonPrimaryDisplayModeChanged()
DLayerHistoryTest.cpp114 .setId(DisplayModeId(0))
119 .setId(DisplayModeId(1))
123 DisplayModeId(0)};
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h175 void setActiveMode(DisplayModeId);
176 status_t initiateModeChange(DisplayModeId modeId,
188 DisplayModePtr getMode(DisplayModeId) const;
DDisplayDevice.cpp154 void DisplayDevice::setActiveMode(DisplayModeId id) { in setActiveMode()
160 status_t DisplayDevice::initiateModeChange(DisplayModeId modeId, in initiateModeChange()
181 DisplayModePtr DisplayDevice::getMode(DisplayModeId modeId) const { in getMode()
DSurfaceFlinger.h460 DisplayModeId modeId;
688 ui::DisplayModeId displayModeId, bool allowGroupSwitching,
693 ui::DisplayModeId* outDefaultMode,
1053 bool isDisplayModeAllowed(DisplayModeId) const REQUIRES(mStateLock);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h36 MOCK_METHOD3(onModeChanged, void(PhysicalDisplayId, DisplayModeId, nsecs_t));
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h414 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode,
419 ui::DisplayModeId* outDefaultMode,
DSurfaceComposerClient.h131 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode,
136 ui::DisplayModeId* outDefaultMode,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp858 ui::DisplayModeId defaultMode, bool allowGroupSwitching, in setDesiredDisplayModeSpecs()
916 ui::DisplayModeId* outDefaultMode, in getDesiredDisplayModeSpecs()
1797 ui::DisplayModeId defaultMode; in onTransact()
1856 ui::DisplayModeId defaultMode; in onTransact()

12