commit | 030fbc11b063068a8cb6e0e1a361d6c79fd61c9b | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Wed Feb 19 15:32:01 2020 -0800 |
committer | Dan Stoza <stoza@google.com> | Thu Feb 20 17:02:58 2020 -0800 |
tree | 5e592f85d0478525b3ed11db151f5cc5fde910a2 | |
parent | 0a588706dbd34220a53c0e4f49103005e65a0969 [diff] [blame] |
sf: Update PowerAdvisor to talk to AIDL Power HAL Updates the PowerAdvisor to talk to the AIDL Power HAL, and hooks up the new DISPLAY_UPDATE_IMMINENT Boost present in that HAL. Test: libsurfaceflinger_unittest Test: libcompositionengine_test Test: Manual with ALOGV Bug: 132390048 Bug: 146453294 Change-Id: I3cb3e8d04303373de24b6dc150ce724aac89407c
diff --git a/services/surfaceflinger/tests/unittests/mock/DisplayHardware/MockPowerAdvisor.h b/services/surfaceflinger/tests/unittests/mock/DisplayHardware/MockPowerAdvisor.h index 7c65f95..fe57c98 100644 --- a/services/surfaceflinger/tests/unittests/mock/DisplayHardware/MockPowerAdvisor.h +++ b/services/surfaceflinger/tests/unittests/mock/DisplayHardware/MockPowerAdvisor.h
@@ -30,6 +30,7 @@ ~PowerAdvisor() override; MOCK_METHOD2(setExpensiveRenderingExpected, void(DisplayId displayId, bool expected)); + MOCK_METHOD0(notifyDisplayUpdateImminent, void()); }; } // namespace mock