Home
last modified time | relevance | path

Searched refs:SyncManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java44 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEquals_WithNull()
58 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsBigger_WithNull()
75 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_WithNull()
89 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_differentValues()
103 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_differentNulls()
133 assertEquals("-1m01s", SyncManager.formatDurationHMS(sb, -61000L).toString()); in testFormatDurationHMS()
141 assertEquals(expected, SyncManager.formatDurationHMS(sb, time * 1000).toString()); in checkFormatDurationHMS()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java86 final boolean readyToSync = SyncManager.readyToSync(op.target.userId); in onStartJob()
109 m.what = SyncManager.SyncHandler.MESSAGE_START_SYNC; in onStartJob()
114 SyncManager.sendMessage(m); in onStartJob()
130 final boolean readyToSync = SyncManager.readyToSync(op.target.userId); in onStopJob()
160 m.what = SyncManager.SyncHandler.MESSAGE_STOP_SYNC; in onStopJob()
170 SyncManager.sendMessage(m); in onStopJob()
DContentService.java156 private SyncManager mSyncManager = null;
193 private SyncManager getSyncManager() { in getSyncManager()
197 if (mSyncManager == null) mSyncManager = new SyncManager(mContext, mFactoryTest); in getSyncManager()
471 SyncManager syncManager = getSyncManager(); in notifyChange()
602 SyncManager syncManager = getSyncManager(); in requestSync()
656 SyncManager syncManager = getSyncManager(); in syncAsUser()
728 SyncManager syncManager = getSyncManager(); in cancelSyncAsUser()
742 SyncManager syncManager = getSyncManager(); in cancelRequest()
801 SyncManager syncManager = getSyncManager(); in getSyncAdapterTypesAsUser()
817 SyncManager syncManager = getSyncManager(); in getSyncAdapterPackagesForAuthorityAsUser()
[all …]
DSyncOperation.java353 && SyncManager.syncExtrasEquals(mImmutableExtras, other.mImmutableExtras, true) in matchesPeriodicOperation()
414 SyncManager.formatDurationHMS(sb, in dump()
443 SyncManager.formatDurationHMS(sb, periodMillis); in dump()
445 SyncManager.formatDurationHMS(sb, flexMillis); in dump()
565 return SyncManager.syncExtrasEquals(mImmutableExtras, other, includeSyncSettings); in areExtrasEqual()
DSyncManager.md13 Because SyncManager executes sync operations as JobScheduler jobs, sync operations are subject
88 - When a sync operation needs a retry, SyncManager creates a new operation (job) with a back-off
89 (in `SyncManager.maybeRescheduleSync()`). In this case, the new sync operation will inherit
DSyncLogger.java35 import com.android.server.content.SyncManager.ActiveSyncContext;
DSyncManager.java162 public class SyncManager { class
228 private static SyncManager sInstance;
557 public SyncManager(Context context, boolean factoryTest) { in SyncManager() method in SyncManager
558 synchronized (SyncManager.class) { in SyncManager()
2222 for (SyncManager.ActiveSyncContext activeSyncContext : mActiveSyncContexts) { in dumpSyncState()
2883 private static SyncManager getInstance() { in getInstance()
2884 synchronized (SyncManager.class) { in getInstance()
2896 final SyncManager instance = getInstance(); in readyToSync()
2902 final SyncManager instance = getInstance(); in sendMessage()
DSyncStorageEngine.java1111 public SyncInfo addActiveSync(SyncManager.ActiveSyncContext activeSyncContext) { in addActiveSync()
1300 SyncManager.formatDurationHMS(event, elapsedTime); in stopSyncEvent()
/frameworks/base/services/
Dart-profile15456 …android/os/Bundle;J)V+]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15457 …SyncStatusObserver;)V+]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15459 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15462 …er;Ljava/lang/Integer;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15468 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15470 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15472 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15473 …ame;)Ljava/util/List;+]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15475 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
15477 …va/lang/StringBuilder;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
[all …]