commit | 74978e1da00f9865ec8653b4daad34cd66fb9307 | [log] [tgz] |
---|---|---|
author | Xiang Wang <xwxw@google.com> | Fri May 19 20:39:30 2023 -0700 |
committer | Xiang Wang <xwxw@google.com> | Wed May 31 00:32:18 2023 +0000 |
tree | 16d9a585c5adcf1a365f6b8389a636796fc5570b | |
parent | 635339c548ddfe13b5d926b543f4f41055513e62 [diff] |
Mock init of PowerHalController in test We have injected a MockedPowerHalController in PowerAdvisorTest, but it will always run init once, which will try to connect a real PowerHAL. This was resulting in a few error logs like SELinux denials. Bug: 280438886 Test: libsurfaceflinger_unittest Change-Id: Icbd0289cbeba95582eed01e61dcb748e2e167c24