summaryrefslogtreecommitdiffstats
path: root/services/core/java/com/android/server/content/SyncOperation.java
Commit message (Collapse)AuthorAgeFilesLines
* Delay syncs for idle appsAmith Yamasani2015-04-131-0/+3
| | | | | | | | Apps that haven't been in use for a while and are considered idle are not synced until the device is charging or the app is used. Bug: 20066058 Change-Id: I3471e3a11edae04777163b0dbd74e86495743caa
* Add maximum time-out to sync operationMatthew Williams2014-08-251-0/+8
| | | | | | | | | | | | | | BUG: 16219182 We have seen cases where run-away syncs keep going for a very long time. The default behaviour is that a sync can run for as long as it wants once there is nothing else waiting. This CL will change that, and impose a maximum time-limit of 30mins on each sync, after when the op with be cancelled and the adapter will go into back-off. This behaviour will only take effect for syncs that are not initializations, or user-initiated. Change-Id: I1731270ca2a6500b19fc125186aa0b0cd81d1126
* Merge "Downgrade expedited to normal on reschedule."Matthew Williams2014-03-211-38/+36
|\
| * Downgrade expedited to normal on reschedule.Matthew Williams2014-02-061-38/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | bug: 12033540 Expedited was previously tracked by a redundant internal variable, ostensibly as an optimisation. This variable could differ from the value in the bundle depending on how the operation is initialised, which led to confusion. Now an expedited sync will only be treated as such on its first execution. Change-Id: I9979102317aecbe8bc53a36381d4b2782ac131be Conflicts: services/core/java/com/android/server/content/SyncOperation.java services/core/java/com/android/server/content/SyncQueue.java
* | Collect per-uid mobile radio usage.Dianne Hackborn2014-02-261-15/+10
|/ | | | | | | | | | | | | | | | | | | We now compute radio active time per application, by distributing the active time across all applications each time the radio goes down, weighting it by the number of packets transferred. Per-app radio power use is now computed using this radio active time. This also gives us a new metric "ms per packet", which give an idea of how effectively an application is using the radio. This is collected and reported as a new set of stats in the human- readable checkin. (It can be computed from the raw checkin data). Also improve sync reporting to include the sync source as used in wake locks, not just the component name. Change-Id: I0b0185fadd1e47ae749090ed36728ab78ac24c5e
* am 9158825f: Move some system services to separate directoriesAmith Yamasani2013-12-191-60/+154
| | | | | * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
* Move some system services to separate directoriesAmith Yamasani2013-12-191-0/+294
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85