1bca793f088fe3ea11369d5327b8fe758cf6a0c6 |
|
07-Apr-2016 |
Rubin Xu <rubinxu@google.com> |
Remove temporary workaround of restoring periodic syncs. Bug: 28052438 Change-Id: Ic10070043c6431fd0a1a0346d8a6f1294dc27c41
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
2c548e0e11436b2dca2e45d9a80ac545d647a3ca |
|
01-Apr-2016 |
Rubin Xu <rubinxu@google.com> |
Only cancel syncs for non-existent accounts updateRunningAccountsH() should check syncs against all accounts on the device, not only running accounts. Also add code to restore wrongly-canceled periodic syncs, saving users from a bad state where the only alternative is to remove and readd affected accounts. Bug: 27733283 Change-Id: I96bce87571c3b7c6cd1934cc967f11257f891f55
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
e17575d3b5461866c7b2812432b7798ee04e775e |
|
22-Feb-2016 |
Shreyas Basarge <snb@google.com> |
Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev
|
7503d06e5e31850fd13f85212543e7bd321853fc |
|
20-Feb-2016 |
Shreyas Basarge <snb@google.com> |
Merge "NPE Fix in SyncStorageEngine" into nyc-dev
|
cf939c14092ad74edea2e9bb0b5ed2eed222e253 |
|
19-Feb-2016 |
Shreyas Basarge <snb@google.com> |
Revert "Add defaultPeriodic to every authority" This reverts commit 6275d4900727415807455af400083a7cf75f8edd. The fix has been pushed to droidfood. It should be reverted now. Change-Id: I656c1a49fe8b2db5dc427119ec3278c6bfdcd570
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
bae9ded302fab89ce22c5bd20ab914448bdb5f18 |
|
17-Feb-2016 |
Shreyas Basarge <snb@google.com> |
NPE Fix in SyncStorageEngine Add a null check after reading an authority from disk. Bug: 26513719 Change-Id: Id8a1c8313fcde42e72a5061e38716e2f1d64fd81
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
6275d4900727415807455af400083a7cf75f8edd |
|
12-Feb-2016 |
Shreyas Basarge <snb@google.com> |
Add defaultPeriodic to every authority Adds a default periodic sync to every authority on boot so that subscribedfeeds adapter gets back its periodic sync if lost. This change will bereverted in the next droidfood build. Change-Id: Icae76c2baafb471ad69d01a4c65023dc6f6525c0
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
8212ae0aee1700b9c287ebadf15af8dacdc8eae6 |
|
10-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
Consistent naming for internal storage APIs. Also completely remove a few confusingly named deprecated APIs. Change-Id: Ia7e4ea3190a97f0a7dfa9bebf2118da0866ec38f
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
8c834c07675052c984728cbf79f7c2e0d8246e43 |
|
07-Jan-2016 |
Shreyas Basarge <snb@google.com> |
SyncManager on JobScheduler SyncManager now uses JobScheduler for scheduling and persistence purposes. Change-Id: I38c92aedbf4d891ca297644d0b706835aaedfcd6
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
506e47fcc40ed8576e59abc464ffc5575cacc374 |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c am: 0f292147f3 am: ce3842eb1a am: 85f169d19f am: c77a2228aa am: 4cc10825f0 am: 88d641ce26 * commit '88d641ce265fe1c6b188b5fa2a2397f3fa8e15ba': Redact Account info from getCurrentSyncs
|
0f292147f3ac803a8701afd7362ad3e0487fd496 |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c * commit 'a947baa87caeb6733846d6de4ef2bf84f7ab0fa1': Redact Account info from getCurrentSyncs
|
e501c39e2cbfbe4cac473e97f8cae55ace3bb48c |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Merge "Revert "Redact Account info from getCurrentSyncs""
|
309a75556af595ccbc0f0e06828b141cc040afbc |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Revert "Redact Account info from getCurrentSyncs" This reverts commit b63057e698a01dafcefc7ba09b397b0336bba43d. Reverting this b/c http://droidmerger-01.mtv.corp.google.com:8888/googleplex/branch/lmp-dev claims there's an automerge path from lmp-dev all the way to master. Change-Id: Ia99a20410153442436ea836b5223a524b640dcbf
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
bf8fdcdd4c759cf1c34838a064d9e11ccafd51fa |
|
20-Jan-2016 |
Shreyas Basarge <snb@google.com> |
Merge "NPE fix in SyncStorageEngine"
|
f39549e389edf62f43bacd95a1b8580d75ad77ed |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Redact Account info from getCurrentSyncs BUG:26094635 If the caller to ContentResolver#getCurrentSyncs does not hold the GET_ACCOUNTS permission, return a SyncInfo object that does not contain any Account information. Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314 (cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
b63057e698a01dafcefc7ba09b397b0336bba43d |
|
20-Jan-2016 |
Matthew Williams <mjwilliams@google.com> |
Redact Account info from getCurrentSyncs BUG:26094635 If the caller to ContentResolver#getCurrentSyncs does not hold the GET_ACCOUNTS permission, return a SyncInfo object that does not contain any Account information. Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
11cb4e22098399dfe5f732f7ab89b4f8973876be |
|
13-Jan-2016 |
Shreyas Basarge <snb@google.com> |
NPE fix in SyncStorageEngine Null check while reading malformed authorities from xml file. Bug: 26513719 Change-Id: I3bfb718bbc84b27ddd98f7941c3ca2e356d27ec0
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
bef28feba57be7fd6a4d14a85a8229154338b2ed |
|
30-Oct-2015 |
Dianne Hackborn <hackbod@google.com> |
Initial stab at background check. Actually, this implementation is more what we want for ephemeral apps. I am realizing the two are not really the same thing. :( For this implementation, we now keep track of how long a uid has been in the background, and after a certain amount of time (currently 1 minute) we mark it as "idle". Any packages associated with that uid are then no longer allowed to run in the background. This means, until the app next goes in the foreground: - No manifest broadcast receivers in the app will execute. - No services can be started (binding services is still okay, as this is outside dependencies on the app that should still be represented). - All alarms for the app are cancelled and no more can be set. - All jobs for the app are cancelled and no more can be scheduled. - All syncs for the app are cancelled and no more can be requested. Change-Id: If53714ca4beed35faf2e89f916ce9eaaabd9290d
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
53abfdb86c2bf834777dbda61fc46083a93a4a83 |
|
11-Jun-2015 |
Matthew Williams <mjwilliams@google.com> |
Make sync settings restore more robust Bug: 18506992 Parent Bug: 17967106 Introduce a new state for ContentResolver#getIsSyncable. This state specifies that an adapter should be disabled until explicitly turned on by ContentResolver#setSyncAutomatically(true). In this way we can restore disabled sync adapters and still allow them to run their initialization logic later on when they are re-enabled. Change-Id: I03fd1f994c4bc982bbc723154ba20bb252efdf80
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 |
|
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
a6533256ac1de9d0860688ca743aa7a2468470cc |
|
24-Nov-2014 |
Marvin Paul <marvinpaul@google.com> |
Implemented backup and restore for account sync settings. Bug: 18506992 Parent Bug: 17967106 Change-Id: Iecf5ce3a24ac5f12192e65aa61f1560bc76d75a8
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
119aac93f8d757ff464dd4d1135ffcf37f7cda02 |
|
29-Sep-2014 |
Matthew Williams <mjwilliams@google.com> |
Fix deadlock caused by clearAllBackoffs in SSE BUG: 17420163 This CL is a copy of ag/359292 That commit was lost, see the bug for more details. Change-Id: I68747d447f8c95e6b5022f9bc8cbab677e0c3d4e
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
5a9decd589f3f6a512168fd669ee2c5d8daa238b |
|
04-Jun-2014 |
Matthew Williams <mjwilliams@google.com> |
Redact SyncService stuff from master This changes the API surface area, deleting things we aren't releasing. I'll do the internal clean-up at the same time I do the SyncManager refactor to sit on top of the TaskManager. Bug: 14997851 Change-Id: Ibefbb246f0e98d3159399151744279902468a23c
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
886113dfca52d5ee92376fc50eaaee9d0bab3b09 |
|
17-Apr-2014 |
Ji-Hwan Lee <jihwan@google.com> |
Minor fix to remove verbose logcat output in SyncStorageEngine Change-Id: I93b936202a99338329e73a41d4c1651369ecb70f
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
6428046767ee4195617fb41b5639eefa2ca7a939 |
|
09-Jan-2014 |
Matthew Williams <mjwilliams@google.com> |
Downgrade expedited to normal on reschedule. 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
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|
e4f7ce167052d70b7969b0b14fb67dc236c9d3e4 |
|
07-Jan-2014 |
Narayan Kamath <narayan@google.com> |
am 107eb740: am ce9418c5: am c797fd61: am c9e27802: am 7e296254: Merge "Fix broken XML parsing idiom." * commit '107eb74074981904c29e005a24dc707b13db457e': Fix broken XML parsing idiom.
|
107eb74074981904c29e005a24dc707b13db457e |
|
07-Jan-2014 |
Narayan Kamath <narayan@google.com> |
am ce9418c5: am c797fd61: am c9e27802: am 7e296254: Merge "Fix broken XML parsing idiom." * commit 'ce9418c59e1c9e696b35123d75c077c164893b9f': Fix broken XML parsing idiom.
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
|
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories 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
/frameworks/base/services/core/java/com/android/server/content/SyncStorageEngine.java
|