Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java61 private SyncManager mSyncManager;
69 private class SyncManagerWithMockedServices extends SyncManager {
98 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEquals_WithNull()
112 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsBigger_WithNull()
129 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_WithNull()
143 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_differentValues()
157 SyncManager.syncExtrasEquals(b1, b2, false /* don't care about system extras */)); in testSyncExtrasEqualsFails_differentNulls()
187 assertEquals("-1m01s", SyncManager.formatDurationHMS(sb, -61000L).toString()); in testFormatDurationHMS()
195 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()
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.java171 public class SyncManager { class
231 private static SyncManager sInstance;
649 public SyncManager(Context context, boolean factoryTest) { in SyncManager() method in SyncManager
650 synchronized (SyncManager.class) { in SyncManager()
2413 for (SyncManager.ActiveSyncContext activeSyncContext : mActiveSyncContexts) { in dumpSyncState()
3074 private static SyncManager getInstance() { in getInstance()
3075 synchronized (SyncManager.class) { in getInstance()
3087 final SyncManager instance = getInstance(); in readyToSync()
3093 final SyncManager instance = getInstance(); in sendMessage()
DContentService.java177 private SyncManager mSyncManager = null;
216 private SyncManager getSyncManager() { in getSyncManager()
219 mSyncManager = new SyncManager(mContext, mFactoryTest); in getSyncManager()
486 final SyncManager syncManager = getSyncManager(); in notifyChange()
DSyncStorageEngine.java1172 public SyncInfo addActiveSync(SyncManager.ActiveSyncContext activeSyncContext) { in addActiveSync()
1362 SyncManager.formatDurationHMS(event, elapsedTime); in stopSyncEvent()
/frameworks/base/services/
Dart-wear-profile9281 …om/android/server/content/ContentService;->getSyncManager()Lcom/android/server/content/SyncManager;
9302 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda0;-><init>(Lcom/android/server/con…
9303 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda1;-><init>()V
9304 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda2;-><init>()V
9305 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda3;-><init>(Lcom/android/server/con…
9306 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda3;->run()V
9307 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda7;-><init>(Lcom/android/server/con…
9308 PLcom/android/server/content/SyncManager$$ExternalSyntheticLambda7;->run()V
9309 PLcom/android/server/content/SyncManager$10;-><init>(Lcom/android/server/content/SyncManager;)V
9310 PLcom/android/server/content/SyncManager$1;-><init>(Lcom/android/server/content/SyncManager;)V
[all …]
Dart-profile1329 …;I)Ljava/lang/String;+]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
1330 …I)[Ljava/lang/String;+]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
1331 …droid/app/ContextImpl;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
1333 …om/android/server/content/ContentService;->getSyncManager()Lcom/android/server/content/SyncManager;
1336 …ontent/ContentService;]Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncMan…
1344 HPLcom/android/server/content/SyncManager$ActiveSyncContext;->bindToSyncAdapter(Landroid/content/Co…
1345 HPLcom/android/server/content/SyncManager$SyncHandler;->dispatchSyncOperation(Lcom/android/server/c…
1346SyncManager$SyncHandler;->handleSyncMessage(Landroid/os/Message;)V+]Landroid/content/ISyncAdapter;…
1347 HPLcom/android/server/content/SyncManager$SyncHandler;->runBoundToAdapterH(Lcom/android/server/cont…
1348 …/server/content/SyncManager$SyncHandler;->runSyncFinishedOrCanceledH(Landroid/content/SyncResult;L…
[all …]