Home
last modified time | relevance | path

Searched refs:syncs (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DSyncStorageEngineTest.java102 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account1, 0, authority); in testPeriodics() local
104 assertEquals(2, syncs.size()); in testPeriodics()
106 assertEquals(sync1, syncs.get(0)); in testPeriodics()
107 assertEquals(sync3, syncs.get(1)); in testPeriodics()
111 syncs = engine.getPeriodicSyncs(account1, 0, authority); in testPeriodics()
112 assertEquals(1, syncs.size()); in testPeriodics()
113 assertEquals(sync3, syncs.get(0)); in testPeriodics()
115 syncs = engine.getPeriodicSyncs(account2, 0, authority); in testPeriodics()
116 assertEquals(1, syncs.size()); in testPeriodics()
117 assertEquals(sync4, syncs.get(0)); in testPeriodics()
[all …]
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java751 ArrayList<PeriodicSync> syncs = new ArrayList<PeriodicSync>(); in getPeriodicSyncs() local
757 syncs.add(new PeriodicSync(account, providerName, item.first, in getPeriodicSyncs()
762 return syncs; in getPeriodicSyncs()
1203 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncs() local
1204 if (syncs == null) { in getCurrentSyncs()
1205 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncs()
1206 mCurrentSyncs.put(userId, syncs); in getCurrentSyncs()
1208 return syncs; in getCurrentSyncs()
DContentResolver.java1647 final List<SyncInfo> syncs = getContentService().getCurrentSyncs(); in getCurrentSync() local
1648 if (syncs.isEmpty()) { in getCurrentSync()
1651 return syncs.get(0); in getCurrentSync()
/frameworks/base/docs/html/training/basics/network-ops/
Dmanaging.jd46 to control your app’s data habits, such as how often your app syncs data,
/frameworks/base/docs/html/training/cloudsync/
Daesync.jd48 <p>Writing an app that syncs to the cloud can be a challenge. There are many little
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd723 type and should be stable across syncs:
738 Apps settings and re-syncs, the restored raw contacts should have the same
1672 provider the sync adapter syncs with. At that point, the system starts managing the adapter,
1681 listed syncs with a different content provider on the device.
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd984 allow users to control your app’s data habits, such as how often your app syncs data, whether to