summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2016-02-23 17:04:58 -0800
committerDianne Hackborn <hackbod@google.com>2016-02-23 17:04:58 -0800
commit1085ff6ee531931ef7f55cbadbc83616f619b292 (patch)
treed22fbecb4f8ab5f6fb4d69b74970d79c5f9e357c /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf8df4d0d430bef68254c695eb60e702638e8ff02 (diff)
Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM
First, we need to make the job scheduler prioritize jobs for foreground apps over background apps (so we will degrade well when we are limiting the number of concurrent jobs). So now the job scheduler keeps track of the process state of each uid, and uses that to bump up the priority of jobs associated with foreground uids. Added constants for priorities since we have different places specifying priorities. Also cleaned up a bit of the reporting of "wrapped" jobs from the sync manager -- there is a new tag argument that can be supplied, to have the name and tag used in various places be based on that instead of the useless internal class name. Change-Id: I8781750ddfac1472a98e1873fc38c014425db3d6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions