commit | a115b12ebda32a0dea5f2afbb02a97d25d43c982 | [log] [tgz] |
---|---|---|
author | Matt Buckley <mattbuckley@google.com> | Wed Jan 31 20:57:49 2024 +0000 |
committer | Matt Buckley <mattbuckley@google.com> | Thu Feb 01 22:31:31 2024 +0000 |
tree | 72d1685d25dcb8057e31cf4156c68999b502e934 | |
parent | ca8768842a6b7044d8fe9fce83ffc0a6e074c7cf [diff] |
Allow ADPF WorkDuration CPU duration to be zero This patch updates the checks, tests, and documentation to ensure ADPF CPU == 0 is allowed, and instead checks to make sure that both CPU and GPU cannot be 0 at the same time. Bug: 323226967 Test: atest PerformanceHintManagerTest Test: atest WorkDurationTest Test: atest HintManagerServiceTest Change-Id: I6aea1d6e5d445ba21af72ac8187cc1ce15ce8b05