/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 67 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 …]
|
D | Scheduler.h | 90 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;
|
D | EventThread.h | 127 virtual void onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId, 177 void onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId,
|
D | Scheduler.cpp | 364 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()
|
D | RefreshRateConfigs.cpp | 604 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()
|
D | EventThread.cpp | 121 DisplayEventReceiver::Event makeModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId, in makeModeChanged() 378 void EventThread::onModeChanged(PhysicalDisplayId displayId, DisplayModeId modeId, in onModeChanged()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 40 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/ |
D | DisplayMode.h | 29 using DisplayModeId = int32_t; variable 33 DisplayModeId id;
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayMode.h | 29 using DisplayModeId = int32_t; variable 33 DisplayModeId id;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | DisplayConfigs_test.cpp | 42 ui::DisplayModeId initialDefaultMode; 94 ui::DisplayModeId defaultConfig; in TEST_F() 121 ui::DisplayModeId defaultConfig; in testSetAllowGroupSwitching()
|
D | Credentials_test.cpp | 216 ui::DisplayModeId defaultMode; in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateStatsTest.cpp | 43 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()
|
D | SchedulerTest.cpp | 55 .setId(DisplayModeId(0)) 60 .setId(DisplayModeId(1)) 201 DisplayModeId modeId = DisplayModeId(111); in TEST_F()
|
D | RefreshRateConfigsTest.cpp | 95 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 …]
|
D | TestableSurfaceFlinger.h | 211 .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;
|
D | EventThreadTest.cpp | 546 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()
|
D | TestableScheduler.h | 99 DisplayModeId modeId, nsecs_t vsyncPeriod) { in onNonPrimaryDisplayModeChanged()
|
D | LayerHistoryTest.cpp | 114 .setId(DisplayModeId(0)) 119 .setId(DisplayModeId(1)) 123 DisplayModeId(0)};
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 175 void setActiveMode(DisplayModeId); 176 status_t initiateModeChange(DisplayModeId modeId, 188 DisplayModePtr getMode(DisplayModeId) const;
|
D | DisplayDevice.cpp | 154 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()
|
D | SurfaceFlinger.h | 460 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/ |
D | MockEventThread.h | 36 MOCK_METHOD3(onModeChanged, void(PhysicalDisplayId, DisplayModeId, nsecs_t));
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 414 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode, 419 ui::DisplayModeId* outDefaultMode,
|
D | SurfaceComposerClient.h | 131 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode, 136 ui::DisplayModeId* outDefaultMode,
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 858 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()
|