Home
last modified time | relevance | path

Searched refs:SyncOperation (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java59 SyncOperation op1 = new SyncOperation(account1, 0, in testToKey()
61 SyncOperation.REASON_PERIODIC, in testToKey()
68 SyncOperation op2 = new SyncOperation(account1, 0, in testToKey()
70 SyncOperation.REASON_PERIODIC, in testToKey()
77 SyncOperation op3 = new SyncOperation(account1, 0, in testToKey()
79 SyncOperation.REASON_PERIODIC, in testToKey()
86 SyncOperation op4 = new SyncOperation(account2, 0, in testToKey()
88 SyncOperation.REASON_PERIODIC, in testToKey()
95 SyncOperation op5 = new SyncOperation(account1, 0, in testToKey()
97 SyncOperation.REASON_PERIODIC, in testToKey()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java36 public class SyncOperation { class
119 public SyncOperation(Account account, int userId, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
126 private SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
133 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() method in SyncOperation
139 public SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
161 public SyncOperation createOneTimeSyncOperation() { in createOneTimeSyncOperation()
165 SyncOperation op = new SyncOperation(target, owningUid, owningPackage, reason, syncSource, in createOneTimeSyncOperation()
171 public SyncOperation(SyncOperation other) { in SyncOperation() method in SyncOperation
269 static SyncOperation maybeCreateFromJobExtras(PersistableBundle jobExtras) { in maybeCreateFromJobExtras()
323 SyncOperation op = new SyncOperation(target, owningUid, owningPackage, reason, source, in maybeCreateFromJobExtras()
[all …]
DSyncManager.java292 private List<SyncOperation> getAllPendingSyncs() { in getAllPendingSyncs()
296 final List<SyncOperation> pendingSyncs = new ArrayList<>(numJobs); in getAllPendingSyncs()
299 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in getAllPendingSyncs()
489 List<SyncOperation> ops = getAllPendingSyncs(); in cleanupJobs()
491 for (SyncOperation opx: ops) { in cleanupJobs()
496 for (SyncOperation opy: ops) { in cleanupJobs()
534 final SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in migrateSyncJobNamespaceIfNeeded()
562 final SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in migrateSyncJobNamespaceIfNeeded()
596 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in verifyJobScheduler()
702 SyncOperation.REASON_SERVICE_CHANGED, in SyncManager()
[all …]
DSyncJobService.java79 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStartJob()
124 final SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStopJob()
211 + SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in jobParametersToString()
DSyncManager.md59 The exemptions are tracked in `SyncOperation.syncExemptionFlag`.
90 `SyncOperation.syncExemptionFlag`, unless the number of retries (not counting the original sync
DSyncLogger.java324 static String logSafe(SyncOperation operation) { in logSafe()
DSyncStorageEngine.java772 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
842 requestSync(aInfo, SyncOperation.REASON_IS_SYNCABLE, new Bundle(), in setSyncableStateForEndPoint()
1047 requestSync(null, userId, SyncOperation.REASON_MASTER_SYNC_AUTO, null, in setMasterSyncAutomatically()
1223 public long insertStartSyncEvent(SyncOperation op, long now) { in insertStartSyncEvent()
1364 event.append(SyncOperation.reasonToString(null, item.reason)); in stopSyncEvent()
1380 SyncOperation.extrasToStringBuilder(item.extras, event); in stopSyncEvent()
/frameworks/base/services/
Dart-profile1345 …ontent/SyncManager$SyncHandler;->dispatchSyncOperation(Lcom/android/server/content/SyncOperation;)Z
1356SyncOperation;J)V+]Landroid/app/job/JobInfo$Builder;Landroid/app/job/JobInfo$Builder;]Landroid/app…
1357SyncOperation;-><init>(Lcom/android/server/content/SyncStorageEngine$EndPoint;ILjava/lang/String;I…
1358 HPLcom/android/server/content/SyncOperation;->dump(Landroid/content/pm/PackageManager;ZLcom/android…
1359 HPLcom/android/server/content/SyncOperation;->extrasToStringBuilder(Landroid/os/Bundle;Ljava/lang/S…
1360 …roid/server/content/SyncOperation;->maybeCreateFromJobExtras(Landroid/os/PersistableBundle;)Lcom/a…
1361 HPLcom/android/server/content/SyncOperation;->toJobInfoExtras()Landroid/os/PersistableBundle;+]Ljav…
1362 HPLcom/android/server/content/SyncOperation;->toKey()Ljava/lang/String;+]Ljava/lang/StringBuilder;L…
1363 HPLcom/android/server/content/SyncOperation;->wakeLockName()Ljava/lang/String;
1367 …m/android/server/content/SyncOperation;J)J+]Lcom/android/server/content/SyncOperation;Lcom/android…