Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java58 SyncOperation op1 = new SyncOperation(account1, 0, in testToKey()
60 SyncOperation.REASON_PERIODIC, in testToKey()
67 SyncOperation op2 = new SyncOperation(account1, 0, in testToKey()
69 SyncOperation.REASON_PERIODIC, in testToKey()
76 SyncOperation op3 = new SyncOperation(account1, 0, in testToKey()
78 SyncOperation.REASON_PERIODIC, in testToKey()
85 SyncOperation op4 = new SyncOperation(account2, 0, in testToKey()
87 SyncOperation.REASON_PERIODIC, in testToKey()
94 SyncOperation op5 = new SyncOperation(account1, 0, in testToKey()
96 SyncOperation.REASON_PERIODIC, in testToKey()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java36 public class SyncOperation { class
105 public SyncOperation(Account account, int userId, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
112 private SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
119 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() method in SyncOperation
125 public SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() method in SyncOperation
146 public SyncOperation createOneTimeSyncOperation() { in createOneTimeSyncOperation()
150 SyncOperation op = new SyncOperation(target, owningUid, owningPackage, reason, syncSource, in createOneTimeSyncOperation()
156 public SyncOperation(SyncOperation other) { in SyncOperation() method in SyncOperation
247 static SyncOperation maybeCreateFromJobExtras(PersistableBundle jobExtras) { in maybeCreateFromJobExtras()
301 SyncOperation op = new SyncOperation(target, owningUid, owningPackage, reason, source, in maybeCreateFromJobExtras()
[all …]
DSyncManager.java283 private List<SyncOperation> getAllPendingSyncs() { in getAllPendingSyncs()
286 List<SyncOperation> pendingSyncs = new ArrayList<SyncOperation>(pendingJobs.size()); in getAllPendingSyncs()
288 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in getAllPendingSyncs()
488 List<SyncOperation> ops = getAllPendingSyncs(); in cleanupJobs()
490 for (SyncOperation opx: ops) { in cleanupJobs()
495 for (SyncOperation opy: ops) { in cleanupJobs()
527 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in verifyJobScheduler()
631 SyncOperation.REASON_SERVICE_CHANGED, in SyncManager()
684 SyncOperation.REASON_ACCOUNTS_UPDATED, in SyncManager()
868 List<SyncOperation> ops = getAllPendingSyncs(); in setAuthorityPendingState()
[all …]
DSyncJobService.java96 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStartJob()
159 m.obj = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStopJob()
202 + SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in jobParametersToString()
DSyncStorageEngine.java712 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
779 requestSync(aInfo, SyncOperation.REASON_IS_SYNCABLE, new Bundle(), in setSyncableStateForEndPoint()
954 requestSync(null, userId, SyncOperation.REASON_MASTER_SYNC_AUTO, null, in setMasterSyncAutomatically()
1126 public long insertStartSyncEvent(SyncOperation op, long now) { in insertStartSyncEvent()
1266 event.append(SyncOperation.reasonToString(null, item.reason)); in stopSyncEvent()
1282 SyncOperation.extrasToStringBuilder(item.extras, event); in stopSyncEvent()