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

Commit 80574619 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8503143 from bba7be94 to tm-qpr1-release

Change-Id: I664ba29347bf227974eabb2de478126dd01814b8
parents 1b3157a2 bba7be94
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -130,8 +130,7 @@ TEST_F(SurfaceFlingerPowerHintTest, sendDurationsIncludingHwcWaitTime) {
    ON_CALL(*mPowerAdvisor, usePowerHintSession()).WillByDefault(Return(true));

    const std::chrono::nanoseconds mockVsyncPeriod = 15ms;
    const std::chrono::nanoseconds expectedTargetTime = 14ms;
    EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(Gt(expectedTargetTime.count()))).Times(1);
    EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(1);

    const nsecs_t now = systemTime();
    const std::chrono::nanoseconds mockHwcRunTime = 20ms;