diff options
author | 2024-07-23 19:28:18 +0000 | |
---|---|---|
committer | 2024-07-23 19:28:18 +0000 | |
commit | 932b2de2612f988c53cc926ece408e4c0db3f61c (patch) | |
tree | d08633f84f5c3be9ef2d9e32f1c1fa64c30228aa | |
parent | d681d486ccc3dfc098f277d592733f593298d909 (diff) | |
parent | fef8f085e3b5987ead484ce392f1cf9faf69a140 (diff) |
Merge "Loose the requirement on checking duration for ADPF GPU flag off" into main
-rw-r--r-- | services/surfaceflinger/tests/unittests/PowerAdvisorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/tests/unittests/PowerAdvisorTest.cpp b/services/surfaceflinger/tests/unittests/PowerAdvisorTest.cpp index e74f64305c..c879280e57 100644 --- a/services/surfaceflinger/tests/unittests/PowerAdvisorTest.cpp +++ b/services/surfaceflinger/tests/unittests/PowerAdvisorTest.cpp @@ -706,7 +706,7 @@ TEST_F(PowerAdvisorTest, setGpuFenceTime_UnsingaledGpuFenceFrameUsingPreviousFra testGpuScenario(config, res); EXPECT_EQ(res.gpuDurationNanos, 0L); EXPECT_EQ(res.cpuDurationNanos, 0L); - EXPECT_GE(res.durationNanos, toNanos(30ms + getErrorMargin())); + EXPECT_GE(res.durationNanos, toNanos(29ms + getErrorMargin())); EXPECT_LE(res.durationNanos, toNanos(31ms + getErrorMargin())); } |