/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 246 List<PeriodicSync> syncs = engine.getPeriodicSyncs(new EndPoint(account1, authority, 0)); in testPeriodics() local 248 assertEquals(2, syncs.size()); in testPeriodics() 250 assertEquals(sync1, syncs.get(0)); in testPeriodics() 251 assertEquals(sync3, syncs.get(1)); in testPeriodics() 255 syncs = engine.getPeriodicSyncs(new EndPoint(account1, authority, 0)); in testPeriodics() 256 assertEquals(1, syncs.size()); in testPeriodics() 257 assertEquals(sync3, syncs.get(0)); in testPeriodics() 259 syncs = engine.getPeriodicSyncs(new EndPoint(account2, authority, 0)); in testPeriodics() 260 assertEquals(1, syncs.size()); in testPeriodics() 261 assertEquals(sync4, syncs.get(0)); in testPeriodics() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1012 ArrayList<PeriodicSync> syncs = new ArrayList<PeriodicSync>(); in getPeriodicSyncs() local 1016 syncs.add(new PeriodicSync(item)); in getPeriodicSyncs() 1019 return syncs; in getPeriodicSyncs() 1434 final List<SyncInfo> syncs = getCurrentSyncsLocked(userId); in getCurrentSyncsCopy() local 1436 for (SyncInfo sync : syncs) { in getCurrentSyncsCopy() 1444 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncsLocked() local 1445 if (syncs == null) { in getCurrentSyncsLocked() 1446 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncsLocked() 1447 mCurrentSyncs.put(userId, syncs); in getCurrentSyncsLocked() 1449 return syncs; in getCurrentSyncsLocked()
|
/frameworks/base/core/java/android/content/ |
D | ContentResolver.java | 2224 final List<SyncInfo> syncs = getContentService().getCurrentSyncs(); in getCurrentSync() local 2225 if (syncs.isEmpty()) { in getCurrentSync() 2228 return syncs.get(0); in getCurrentSync()
|
/frameworks/base/docs/html/google/play-services/ |
D | drive.jd | 47 edit, and open files, then syncs them automatically when the device
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2218 Map<String, ? extends Timer> syncs = u.getSyncStats(); in dumpCheckinLocked() local 2219 if (syncs.size() > 0) { in dumpCheckinLocked() 2220 for (Map.Entry<String, ? extends Timer> ent : syncs.entrySet()) { in dumpCheckinLocked() 3150 Map<String, ? extends Timer> syncs = u.getSyncStats(); in dumpLocked() local 3151 if (syncs.size() > 0) { in dumpLocked() 3152 for (Map.Entry<String, ? extends Timer> ent : syncs.entrySet()) { in dumpLocked()
|
/frameworks/base/docs/html/training/scheduling/ |
D | alarms.jd | 100 syncs with a server. If the sync operation is based on clock time and every instance of the 101 app syncs at 11:00 p.m., the load on the server could result in high latency or even
|
/frameworks/base/docs/html/training/cloudsync/ |
D | gcm.jd | 115 number of syncs the device has to do. For instance, if there are 10 emails
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | managing.jd | 46 to control your app’s data habits, such as how often your app syncs data,
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | contacts-provider.jd | 723 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/guide/topics/ui/ |
D | settings.jd | 71 application syncs data with the cloud.</p> 911 <p>For example, you might allow the user to control how often your app syncs data, whether your app
|
/frameworks/base/docs/html/training/sync-adapters/ |
D | creating-sync-adapter.jd | 336 * Disallow parallel syncs
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.4.jd | 23 <li><a href="#BehaviorSync">If your app syncs data using ContentResolver...</a></li> 174 <h3 id="BehaviorSync">If your app syncs data using ContentResolver...</h3>
|
D | android-4.0.jd | 991 allow users to control your app’s data habits, such as how often your app syncs data, whether to
|