diff options
author | Kweku Adams <kwekua@google.com> | 2020-06-16 10:11:56 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-06-16 20:15:49 +0000 |
commit | effeb2a6cce8b085535da3729545b2ce72d1a8c6 (patch) | |
tree | e8db88c47fbf8eb6c35e056bf82d33b27499c2f4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e0ba6d9dffc533e4c175d693e54f55290a8141de (diff) |
Cache power whitelisted apps.
DeviceIdleController sits higher in the lock hierarchy than
AppStandbyController, so ASC shouldn't call out to DIC with its lock
held. In order to know if an app is power whitelisted, ASC needs to call
out to DIC and cache the result outside of holding the lock.
Bug: 158779091
Test: atest CtsBatterySavingTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Test: atest FrameworksServicesTests:AppIdleHistoryTests
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: Iff500f3ab00f6881348926604be7ab07693bdf40
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions