Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4520d56 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: Clean up RefreshRateConfigs tests"

parents a81824b8 0c252708
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -310,6 +310,9 @@ public:
                                        .idleTimerTimeoutMs = 0,
                                        .supportKernelIdleTimer = false});

    RefreshRateConfigs(const RefreshRateConfigs&) = delete;
    RefreshRateConfigs& operator=(const RefreshRateConfigs&) = delete;

    // Returns whether switching modes (refresh rate or resolution) is possible.
    // TODO(b/158780872): Consider HAL support, and skip frame rate detection if the modes only
    // differ in resolution.
@@ -391,11 +394,8 @@ public:

    void dump(std::string& result) const EXCLUDES(mLock);

    RefreshRateConfigs(const RefreshRateConfigs&) = delete;
    void operator=(const RefreshRateConfigs&) = delete;

private:
    friend class RefreshRateConfigsTest;
    friend struct TestableRefreshRateConfigs;

    void constructAvailableRefreshRates() REQUIRES(mLock);

+665 −851

File changed.

Preview size limit exceeded, changes collapsed.