summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/TaskManagerImpl.java
Commit message (Collapse)AuthorAgeFilesLines
* Out with the old; in with the newChristopher Tate2014-06-101-72/+0
| | | | | | | | Switch to the official "JobScheduler" etc naming. Bug 14997851 Change-Id: I73a61aaa9af0740c114d08188bd97c52f3ac86b7
* Add OnNetworkActive to TaskManager and simplify locking.Matthew Williams2014-06-091-7/+17
| | | | | | | | | | | | | | | | | | | | | | Bug: 14993295 Hooks up a ConnectivityManager.NetworkActiveListener.      Previously was using 3 locks where 1 would suffice, negligible to no performance issues b/c most of the previous locks were nested. Added OnNetworkActiveListener so that the ConnectivityController can kick of tasks when it knows that the network is active. Fixed some bugs that stopped timecontroller from executing tasks. Requesting a retry will not add a deadline to that task. However backed-off tasks are run as soon as they are ready, subject to their constraints. Added receiver to listen for package removal and user removal, which will delete any outstanding jobs for that uid. Change-Id: I4c4523af558b927f19b8a215878fcc7198abb93f
* DO NOT MERGE - Run the task manager service at startupChristopher Tate2014-05-231-0/+62
Also moves most of it into android.app.task rather than android.content. (Cherrypick from master) Change-Id: Ic07a664bf54bc3e40aa0b892946edba4bf37262a