summaryrefslogtreecommitdiffstats
path: root/tests/MemoryUsage/src
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2015-03-04 09:56:14 -0800
committerAmith Yamasani <yamasani@google.com>2015-04-03 13:20:19 -0700
commitb0ff32245cb6b51e43dd3ee40b86d683c62de2b9 (patch)
treecaa4ccf39aced5bf9ebcca0386b8948aac3302fb /tests/MemoryUsage/src
parent73e5f13d9919d773a2de12f3b576c9b56a54b173 (diff)
downloadframeworks_base-b0ff32245cb6b51e43dd3ee40b86d683c62de2b9.zip
frameworks_base-b0ff32245cb6b51e43dd3ee40b86d683c62de2b9.tar.gz
frameworks_base-b0ff32245cb6b51e43dd3ee40b86d683c62de2b9.tar.bz2
Throttle jobs for idle apps
First pass at delaying jobs from apps that are idle. TODO: Throttle syncs TODO: Provide a periodic point at which apps are checked for idleness. Apps that switch to foreground process state are tracked by UsageStats as an INTERACTION event that affects the last-used timestamp. JobScheduler's logic for when an app is ready is trumped by the idleness of the app, and only if the battery is not charging. When charging state changes, we update the idle state of all the tracked jobs. android package is whitelisted. Bug: 20066058 Change-Id: I0a0acb517b100a5c7b11e3f435f4141375f3451f
Diffstat (limited to 'tests/MemoryUsage/src')
0 files changed, 0 insertions, 0 deletions