diff options
author | Bernardo Rufino <brufino@google.com> | 2018-08-29 16:01:49 +0100 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2018-09-03 13:53:33 +0000 |
commit | 74eee1031ca5445faa1e96766d0113960918eb9f (patch) | |
tree | 54ae5428653e407a44173ceb07e312881cde2149 /libs/hwui/renderthread/CacheManager.cpp | |
parent | 62b0800154de9a3436966bf2fd017044d932a48d (diff) |
Use RemoteCall for quota exceeded in backups
For both key-value and full-backup. This makes the tasks wait for the
quota exceeded call, allowing the agent to complete before being torn
down (as described in bug). Also added a short time-out (3s) in case of
misbehaving agents.
Bug: 68762178
Bug: 110082831
Test: atest FrameworksServicesRoboTests
Test: 1. while true; do atest FullBackupQuotaTest; done
2. Stop after ~50 executions, verify all succeeded.
Test: 1. while true; do atest KeyValueQuotaTest; done
2. Stop after ~50 executions, verify all succeeded.
Test: CtsBackupTestCases
Change-Id: Ib582e75a4d317ab53a6df8cb261966a04ef085fb
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions