/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 41 using DisplayModePtr = std::shared_ptr<const DisplayMode>; variable 44 bool operator<(const DisplayModePtr&, const DisplayModePtr&) = delete; 45 bool operator>(const DisplayModePtr&, const DisplayModePtr&) = delete; 46 bool operator<=(const DisplayModePtr&, const DisplayModePtr&) = delete; 47 bool operator>=(const DisplayModePtr&, const DisplayModePtr&) = delete; 56 using DisplayModes = ftl::SmallMap<DisplayModeId, DisplayModePtr, 3>; 65 DisplayModePtr build() { in build()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplayMode.h | 35 inline DisplayModePtr createDisplayMode( 42 inline DisplayModePtr createDisplayMode(PhysicalDisplayId displayId, DisplayModeId modeId, in createDisplayMode() 47 inline DisplayModePtr createVrrDisplayMode( 56 inline DisplayModePtr cloneForDisplay(PhysicalDisplayId displayId, const DisplayModePtr& modePtr) { in cloneForDisplay()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_ExcludeDolbyVisionTest.cpp | 29 void injectDisplayModes(std::vector<DisplayModePtr> displayModePtrs) { in injectDisplayModes() 31 for (DisplayModePtr displayMode : displayModePtrs) { in injectDisplayModes() 48 static inline const DisplayModePtr mode1080p60 = 50 static inline const DisplayModePtr mode4k30 = 52 static inline const DisplayModePtr mode4k30NonStandard = 54 static inline const DisplayModePtr mode4k60 =
|
D | DisplayModeControllerTest.cpp | 128 static inline const ftl::NonNull<DisplayModePtr> kMode60 = 130 static inline const ftl::NonNull<DisplayModePtr> kMode90 = 132 static inline const ftl::NonNull<DisplayModePtr> kMode120 =
|
D | VSyncPredictorTest.cpp | 71 ftl::NonNull<DisplayModePtr> displayMode(nsecs_t period) { in displayMode() 105 ftl::NonNull<DisplayModePtr> mMode = displayMode(mPeriod); 685 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 751 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 778 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 810 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 837 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 860 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F() 897 const ftl::NonNull<DisplayModePtr> kMode = in TEST_F()
|
D | VSyncDispatchRealtimeTest.cpp | 52 void setDisplayModePtr(ftl::NonNull<DisplayModePtr>) final {} in setDisplayModePtr() argument 57 bool isCurrentMode(const ftl::NonNull<DisplayModePtr>&) const final { return false; }; in isCurrentMode()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 128 static inline const DisplayModePtr kMode60 = createDisplayMode(kModeId60, 60_Hz, 0); 129 static inline const DisplayModePtr kMode90 = createDisplayMode(kModeId90, 90_Hz, 1); 130 static inline const DisplayModePtr kMode120 = createDisplayMode(kModeId120, 120_Hz, 2); 133 static inline const DisplayModePtr kMode90_4K =
|
D | RefreshRateSelectorTest.cpp | 73 ftl::NonNull<DisplayModePtr> getMinSupportedRefreshRate() const { in getMinSupportedRefreshRate() 78 ftl::NonNull<DisplayModePtr> getMaxSupportedRefreshRate() const { in getMaxSupportedRefreshRate() 83 ftl::NonNull<DisplayModePtr> getMinRefreshRateByPolicy() const { in getMinRefreshRateByPolicy() 88 ftl::NonNull<DisplayModePtr> getMaxRefreshRateByPolicy() const { in getMaxRefreshRateByPolicy() 167 static inline const ftl::NonNull<DisplayModePtr> kMode60 = 169 static inline const ftl::NonNull<DisplayModePtr> kMode60Frac = 171 static inline const ftl::NonNull<DisplayModePtr> kMode90 = 173 static inline const ftl::NonNull<DisplayModePtr> kMode90_G1 = 175 static inline const ftl::NonNull<DisplayModePtr> kMode90_4K = 177 static inline const ftl::NonNull<DisplayModePtr> kMode72 = [all …]
|
D | SchedulerTest.cpp | 81 static inline const ftl::NonNull<DisplayModePtr> kDisplay1Mode60 = 83 static inline const ftl::NonNull<DisplayModePtr> kDisplay1Mode120 = 88 static inline const ftl::NonNull<DisplayModePtr> kDisplay2Mode60 = 90 static inline const ftl::NonNull<DisplayModePtr> kDisplay2Mode120 = 95 static inline const ftl::NonNull<DisplayModePtr> kDisplay3Mode60 = 577 const ftl::NonNull<DisplayModePtr> kMode = ftl::as_non_null( in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.h | 49 void onDisplayModeChanged(ftl::NonNull<DisplayModePtr>, bool force) final; 61 void startPeriodTransitionInternal(ftl::NonNull<DisplayModePtr>) REQUIRES(mMutex); 78 DisplayModePtr mModePtrTransitioningTo GUARDED_BY(mMutex);
|
D | VSyncTracker.h | 77 virtual bool isCurrentMode(const ftl::NonNull<DisplayModePtr>& modePtr) const = 0; 99 virtual void setDisplayModePtr(ftl::NonNull<DisplayModePtr>) = 0;
|
D | VsyncSchedule.h | 60 VsyncSchedule(ftl::NonNull<DisplayModePtr> modePtr, FeatureFlags, RequestHardwareVsync); 76 void onDisplayModeChanged(ftl::NonNull<DisplayModePtr>, bool force); 130 static TrackerPtr createTracker(ftl::NonNull<DisplayModePtr> modePtr);
|
D | VSyncPredictor.h | 43 VSyncPredictor(std::unique_ptr<Clock>, ftl::NonNull<DisplayModePtr> modePtr, size_t historySize, 69 void setDisplayModePtr(ftl::NonNull<DisplayModePtr>) final EXCLUDES(mMutex); 71 bool isCurrentMode(const ftl::NonNull<DisplayModePtr>& modePtr) const EXCLUDES(mMutex) { in isCurrentMode() 154 ftl::NonNull<DisplayModePtr> mDisplayModePtr GUARDED_BY(mMutex);
|
D | VsyncSchedule.cpp | 59 VsyncSchedule::VsyncSchedule(ftl::NonNull<DisplayModePtr> modePtr, FeatureFlags features, in VsyncSchedule() 117 VsyncSchedule::TrackerPtr VsyncSchedule::createTracker(ftl::NonNull<DisplayModePtr> modePtr) { in createTracker() 153 void VsyncSchedule::onDisplayModeChanged(ftl::NonNull<DisplayModePtr> modePtr, bool force) { in onDisplayModeChanged()
|
D | ISchedulerCallback.h | 33 virtual void onExpectedPresentTimePosted(TimePoint, ftl::NonNull<DisplayModePtr>,
|
D | VsyncController.h | 70 virtual void onDisplayModeChanged(ftl::NonNull<DisplayModePtr>, bool force) = 0;
|
D | VSyncReactor.cpp | 123 void VSyncReactor::startPeriodTransitionInternal(ftl::NonNull<DisplayModePtr> modePtr) { in startPeriodTransitionInternal() 138 void VSyncReactor::onDisplayModeChanged(ftl::NonNull<DisplayModePtr> modePtr, bool force) { in onDisplayModeChanged()
|
D | RefreshRateSelector.cpp | 1088 .transform([](const DisplayModePtr& modePtr) { in onKernelTimerChanged() 1097 const DisplayModePtr& min = mMinRefreshRateModeIt->second; in onKernelTimerChanged() 1105 const DisplayModePtr& RefreshRateSelector::getMinRefreshRateByPolicyLocked() const { in getMinRefreshRateByPolicyLocked() 1121 const DisplayModePtr& RefreshRateSelector::getMaxRefreshRateByPolicyLocked(int anchorGroup) const { in getMaxRefreshRateByPolicyLocked() 1122 const ftl::NonNull<DisplayModePtr>* maxByAnchor = &mPrimaryFrameRates.back().modePtr; in getMaxRefreshRateByPolicyLocked() 1123 const ftl::NonNull<DisplayModePtr>* max = &mPrimaryFrameRates.back().modePtr; in getMaxRefreshRateByPolicyLocked() 1540 const DisplayModePtr& minByPolicy = getMinRefreshRateByPolicyLocked(); in getIdleTimerAction() 1549 const DisplayModePtr& maxByPolicy = in getIdleTimerAction()
|
D | VSyncPredictor.cpp | 49 int numVsyncsPerFrame(const ftl::NonNull<DisplayModePtr>& displayModePtr) { in numVsyncsPerFrame() 59 VSyncPredictor::VSyncPredictor(std::unique_ptr<Clock> clock, ftl::NonNull<DisplayModePtr> modePtr, in VSyncPredictor() 405 void VSyncPredictor::setDisplayModePtr(ftl::NonNull<DisplayModePtr> modePtr) { in setDisplayModePtr()
|
D | RefreshRateSelector.h | 449 const DisplayModePtr& getMinRefreshRateByPolicyLocked() const REQUIRES(mLock); 453 const DisplayModePtr& getMaxRefreshRateByPolicyLocked(int anchorGroup) const REQUIRES(mLock);
|
D | Scheduler.h | 209 DisplayModePtr modePtr = nullptr) EXCLUDES(mDisplayLock) { in EXCLUDES() 375 DisplayModePtr modePtr = nullptr)
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockVSyncTracker.h | 38 MOCK_METHOD(void, setDisplayModePtr, (ftl::NonNull<DisplayModePtr>), (override)); 43 MOCK_METHOD(bool, isCurrentMode, (const ftl::NonNull<DisplayModePtr>&), (const, override));
|
D | MockSchedulerCallback.h | 31 MOCK_METHOD(void, onExpectedPresentTimePosted, (TimePoint, ftl::NonNull<DisplayModePtr>, Fps), 43 void onExpectedPresentTimePosted(TimePoint, ftl::NonNull<DisplayModePtr>, Fps) override {} in onExpectedPresentTimePosted()
|
D | MockVsyncController.h | 32 MOCK_METHOD(void, onDisplayModeChanged, (ftl::NonNull<DisplayModePtr>, bool), (override));
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | FrameRateMode.h | 29 ftl::NonNull<DisplayModePtr> modePtr;
|