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/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.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/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.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/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
d08d6686c5e16cedc23cd9bc836a28d629b8622c |
|
14-Oct-2013 |
Matthew Williams <mjwilliams@google.com> |
resolved conflicts for merge of 94b51810 to master Change-Id: Ida818f066b66c356a84c80e5eab0a4e2cf4ebd49
|
632515b9d0960749ddb1636677d7f12f196d73f7 |
|
11-Oct-2013 |
Matthew Williams <mjwilliams@google.com> |
Fix infinite boot-loop bug in SM. Bug:11064918 If the ContentResolver sync API is used with the empty ("") string as a provider, the ContentService will throw an RTE. This cl addresses all the entry points of the API that could allow this, as well as adds an ifEmpty check at the point of failure. Also removed RTE throws from public functions(no point in crashing the phone). Change-Id: I57427d12a6cafb3e6d7a32ca0c10b05315b20580
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
06485a7c6e3bbea1f427f345ac3a18b2346750e0 |
|
26-Jul-2013 |
Matthew Williams <mjwilliams@google.com> |
Pending op fix didn't merge properly from KLP-dev. Manually merge in Cl c/342668. Add another test to ensure that it WAI. Change-Id: Iae603328d525cc71e4e31ad30a13384efc50f823
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
8ef2204c8f5f9744a2ff7abdbbf2d26a5ea02837 |
|
26-Jul-2013 |
Matthew Williams <mjwilliams@google.com> |
Refactor SyncManager rename authority->target fix bug that was stopping any sync service sync from from taking place. Change-Id: Ib3f46d43be630d4196fbf0ca32da03b6e7a6a5b9
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
56dbf8f23677d28615e61ef2fbb0e738cca02528 |
|
26-Jul-2013 |
Matthew Williams <mjwilliams@google.com> |
Fix broken javadocs Change-Id: Ibf7f2ed92919efd36fffa963447b1a443c0bb9db
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
ba35271e91648c9cde2bb606aaf2001282231b07 |
|
14-Aug-2013 |
Matthew Williams <mjwilliams@google.com> |
Use pending.xml to persist sync ops. Support pending ops by producing badly formed xml. fixed bug that stopped alarm manager from updating if the next alarm time is in the past. Use new AlarmManager API for old AM behaviour - to set exact alarms. Change-Id: I57090f9c7155996298be7ec968a88f17ac1938a7
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
fa77418134c6f1f80af225a78819f069e9c974fb |
|
19-Jun-2013 |
Matthew Williams <mjwilliams@google.com> |
AnonymousSyncService & SyncRequest. Changes to the way bundles are parcelled broke SM, this update writes out the bundle as xml. This circumvents the need for parcel, and makes it easier to debug whats happening. Change-Id: I6cd5d3a2eb80bfa5b3ae0c7f2d2ff91a65daaa34
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|
8ff9a156c04c24458d94c716a64a5b7327f0e987 |
|
11-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Fix build. Forgot to move this test. Change-Id: I06aab8ec6e2dac86b65bbeed3587444260fec2e8
/frameworks/base/services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java
|