/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 40 using DisplayModePtr = std::shared_ptr<const DisplayMode>; variable 43 bool operator<(const DisplayModePtr&, const DisplayModePtr&) = delete; 44 bool operator>(const DisplayModePtr&, const DisplayModePtr&) = delete; 45 bool operator<=(const DisplayModePtr&, const DisplayModePtr&) = delete; 46 bool operator>=(const DisplayModePtr&, const DisplayModePtr&) = delete; 50 using DisplayModes = ftl::SmallMap<DisplayModeId, DisplayModePtr, 3>; 59 DisplayModePtr build() { in build()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplayMode.h | 23 inline DisplayModePtr createDisplayMode( 36 inline DisplayModePtr cloneForDisplay(PhysicalDisplayId displayId, const DisplayModePtr& modePtr) { in cloneForDisplay()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 195 std::pair<DisplayModePtr, GlobalSignals> getBestRefreshRate( 208 DisplayModePtr getMaxRefreshRateByPolicy() const EXCLUDES(mLock); 211 DisplayModePtr getActiveMode() const EXCLUDES(mLock); 335 std::pair<DisplayModePtr, GlobalSignals> getBestRefreshRateLocked( 344 const DisplayModePtr& getMinRefreshRateByPolicyLocked() const REQUIRES(mLock); 348 const DisplayModePtr& getMaxRefreshRateByPolicyLocked(int anchorGroup) const REQUIRES(mLock); 349 const DisplayModePtr& getMaxRefreshRateByPolicyLocked() const REQUIRES(mLock) { in getMaxRefreshRateByPolicyLocked() 402 std::pair<DisplayModePtr, GlobalSignals> result;
|
D | Scheduler.h | 89 virtual void requestDisplayMode(DisplayModePtr, DisplayModeEvent) = 0; 139 void onPrimaryDisplayModeChanged(ConnectionHandle, DisplayModePtr) EXCLUDES(mPolicyLock); 140 void onNonPrimaryDisplayModeChanged(ConnectionHandle, DisplayModePtr); 204 DisplayModePtr getPreferredDisplayMode(); 271 std::pair<DisplayModePtr, GlobalSignals> chooseDisplayMode() REQUIRES(mPolicyLock); 331 DisplayModePtr mode; 335 DisplayModePtr mode;
|
D | RefreshRateConfigs.cpp | 51 const DisplayModePtr& getMaxScoreRefreshRate(Iterator begin, Iterator end) { in getMaxScoreRefreshRate() 262 -> std::pair<DisplayModePtr, GlobalSignals> { in getBestRefreshRate() 277 -> std::pair<DisplayModePtr, GlobalSignals> { in getBestRefreshRateLocked() 340 const DisplayModePtr& max = getMaxRefreshRateByPolicyLocked(anchorGroup); in getBestRefreshRateLocked() 352 const DisplayModePtr& min = getMinRefreshRateByPolicyLocked(); in getBestRefreshRateLocked() 358 const DisplayModePtr& max = getMaxRefreshRateByPolicyLocked(anchorGroup); in getBestRefreshRateLocked() 365 const DisplayModePtr& min = getMinRefreshRateByPolicyLocked(); in getBestRefreshRateLocked() 516 const DisplayModePtr& bestRefreshRate = maxVoteLayers > 0 in getBestRefreshRateLocked() 525 const DisplayModePtr& max = getMaxRefreshRateByPolicyLocked(anchorGroup); in getBestRefreshRateLocked() 537 const DisplayModePtr& touchRefreshRate = getMaxRefreshRateByPolicyLocked(anchorGroup); in getBestRefreshRateLocked() [all …]
|
D | Scheduler.cpp | 285 void Scheduler::onPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onPrimaryDisplayModeChanged() 327 void Scheduler::onNonPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onNonPrimaryDisplayModeChanged() 668 DisplayModePtr newMode; in applyPolicy() 707 auto Scheduler::chooseDisplayMode() -> std::pair<DisplayModePtr, GlobalSignals> { in chooseDisplayMode() 727 DisplayModePtr Scheduler::getPreferredDisplayMode() { in getPreferredDisplayMode()
|
D | EventThread.h | 138 virtual void onModeChanged(DisplayModePtr) = 0; 191 void onModeChanged(DisplayModePtr) override;
|
D | EventThread.cpp | 127 DisplayEventReceiver::Event makeModeChanged(DisplayModePtr mode) { in makeModeChanged() 410 void EventThread::onModeChanged(DisplayModePtr mode) { in onModeChanged()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockSchedulerCallback.h | 27 MOCK_METHOD(void, requestDisplayMode, (DisplayModePtr, DisplayModeEvent), (override)); 34 void requestDisplayMode(DisplayModePtr, DisplayModeEvent) override {} in requestDisplayMode()
|
D | MockEventThread.h | 36 MOCK_METHOD1(onModeChanged, void(DisplayModePtr));
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 196 const DisplayModePtr& getActiveMode() const; 199 DisplayModePtr mode; 228 DisplayModePtr getMode(DisplayModeId) const; 286 DisplayModePtr mActiveMode; 321 DisplayModePtr activeMode;
|
D | DisplayDevice.cpp | 232 const DisplayModePtr& DisplayDevice::getActiveMode() const { in getActiveMode() 240 DisplayModePtr DisplayDevice::getMode(DisplayModeId modeId) const { in getMode() 241 const DisplayModePtr nullMode; in getMode()
|
D | SurfaceFlinger.h | 691 void requestDisplayMode(DisplayModePtr, DisplayModeEvent) override; 990 std::pair<DisplayModes, DisplayModePtr> loadDisplayModes(PhysicalDisplayId) const
|
D | SurfaceFlinger.cpp | 2687 std::pair<DisplayModes, DisplayModePtr> SurfaceFlinger::loadDisplayModes( in loadDisplayModes() 2747 const DisplayModePtr activeMode = in loadDisplayModes() 3362 void SurfaceFlinger::requestDisplayMode(DisplayModePtr mode, DisplayModeEvent event) { in requestDisplayMode() 6977 const DisplayModePtr preferredDisplayMode = [&] { in applyRefreshRateConfigsPolicy()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_InitiateModeChange.cpp | 58 static inline const DisplayModePtr kMode60 = createDisplayMode(kModeId60, 60_Hz); 59 static inline const DisplayModePtr kMode90 = createDisplayMode(kModeId90, 90_Hz); 60 static inline const DisplayModePtr kMode120 = createDisplayMode(kModeId120, 120_Hz);
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 68 static inline const DisplayModePtr kMode60 = createDisplayMode(kModeId60, 60_Hz, 0); 69 static inline const DisplayModePtr kMode90 = createDisplayMode(kModeId90, 90_Hz, 1); 70 static inline const DisplayModePtr kMode120 = createDisplayMode(kModeId120, 120_Hz, 2); 73 static inline const DisplayModePtr kMode90_4K =
|
D | RefreshRateConfigsTest.cpp | 44 DisplayModePtr getMinSupportedRefreshRate() const { in getMinSupportedRefreshRate() 49 DisplayModePtr getMaxSupportedRefreshRate() const { in getMaxSupportedRefreshRate() 54 DisplayModePtr getMinRefreshRateByPolicy() const { in getMinRefreshRateByPolicy() 69 DisplayModePtr getBestRefreshRate(const std::vector<LayerRequirement>& layers = {}, in getBestRefreshRate() 92 static inline const DisplayModePtr kMode60 = createDisplayMode(kModeId60, 60_Hz); 93 static inline const DisplayModePtr kMode60Frac = createDisplayMode(kModeId60Frac, 59.94_Hz); 94 static inline const DisplayModePtr kMode90 = createDisplayMode(kModeId90, 90_Hz); 95 static inline const DisplayModePtr kMode90_G1 = createDisplayMode(kModeId90, 90_Hz, 1); 96 static inline const DisplayModePtr kMode90_4K = 98 static inline const DisplayModePtr kMode72 = createDisplayMode(kModeId72, 72_Hz); [all …]
|
D | SchedulerTest.cpp | 61 static inline const DisplayModePtr kMode60 = createDisplayMode(DisplayModeId(0), 60_Hz); 62 static inline const DisplayModePtr kMode120 = createDisplayMode(DisplayModeId(1), 120_Hz);
|
D | TestableScheduler.h | 106 void onNonPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onNonPrimaryDisplayModeChanged()
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 242 DisplayModePtr activeMode = DisplayMode::Builder(Case::Display::HWC_ACTIVE_CONFIG_ID) in setupNewDisplayDeviceInternalTest()
|
D | DisplayTransactionTestHelpers.h | 747 inline DisplayModePtr createDisplayMode(DisplayModeId modeId, Fps refreshRate, int32_t group = 0,
|
D | TestableSurfaceFlinger.h | 833 DisplayModePtr mode = in inject()
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_fuzzers_utils.h | 269 void onNonPrimaryDisplayModeChanged(ConnectionHandle handle, DisplayModePtr mode) { in onNonPrimaryDisplayModeChanged() 813 void requestDisplayMode(DisplayModePtr, DisplayModeEvent) override {} in requestDisplayMode() argument
|