Searched refs:syncs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/ |
D | SyncStorageEngineTest.java | 94 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account1, authority); in testPeriodics() local 96 assertEquals(2, syncs.size()); in testPeriodics() 98 assertEquals(sync1, syncs.get(0)); in testPeriodics() 99 assertEquals(sync3, syncs.get(1)); in testPeriodics() 103 syncs = engine.getPeriodicSyncs(account1, authority); in testPeriodics() 104 assertEquals(1, syncs.size()); in testPeriodics() 105 assertEquals(sync3, syncs.get(0)); in testPeriodics() 107 syncs = engine.getPeriodicSyncs(account2, authority); in testPeriodics() 108 assertEquals(1, syncs.size()); in testPeriodics() 109 assertEquals(sync4, syncs.get(0)); in testPeriodics() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentResolver.java | 1399 final List<SyncInfo> syncs = getContentService().getCurrentSyncs(); in getCurrentSync() local 1400 if (syncs.isEmpty()) { in getCurrentSync() 1403 return syncs.get(0); in getCurrentSync()
|
D | SyncStorageEngine.java | 666 ArrayList<PeriodicSync> syncs = new ArrayList<PeriodicSync>(); in getPeriodicSyncs() local 671 syncs.add(new PeriodicSync(account, providerName, item.first, item.second)); in getPeriodicSyncs() 675 return syncs; in getPeriodicSyncs()
|
/frameworks/base/docs/html/sdk/ |
D | android-4.0.jd | 1035 allow users to control your app’s data habits, such as how often your app syncs data, whether to
|