commit | 8f0d3c412f073901d23226419b95397ae72ec14c | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Tue Mar 16 20:12:24 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Thu Mar 25 20:47:29 2021 -0700 |
tree | 0ca279448287110a7651413f93e25dd70e516f0e | |
parent | 744706ef987cfe366d2d4df9e4a4cb95ab388b23 [diff] |
Return/notify a power policy containing all components' state in CPMS - From caller's perspective, receiving a power policy telling all components' state is much easier to handle the change. - When CPMS is re-started, it should know the current state of a certain power component. But, returning the latest applied power policy cannot tell it. - This CL make a power policy containing all components' state returned or notified. Bug: 181818647 Test: atest PowerComponentHandlerUnitTest Change-Id: I0929184e6c603d980cc9b982a2839703f2e84f10 Merged-In: I0929184e6c603d980cc9b982a2839703f2e84f10
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.