Home
last modified time | relevance | path

Searched refs:SyncOperation (Results 1 – 7 of 7) 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.java284 private List<SyncOperation> getAllPendingSyncs() { in getAllPendingSyncs()
287 List<SyncOperation> pendingSyncs = new ArrayList<SyncOperation>(pendingJobs.size()); in getAllPendingSyncs()
289 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in getAllPendingSyncs()
479 List<SyncOperation> ops = getAllPendingSyncs(); in cleanupJobs()
481 for (SyncOperation opx: ops) { in cleanupJobs()
486 for (SyncOperation opy: ops) { in cleanupJobs()
518 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in verifyJobScheduler()
622 SyncOperation.REASON_SERVICE_CHANGED, in SyncManager()
670 SyncOperation.REASON_ACCOUNTS_UPDATED, in SyncManager()
848 List<SyncOperation> ops = getAllPendingSyncs(); in setAuthorityPendingState()
[all …]
DSyncJobService.java79 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStartJob()
124 final SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStopJob()
208 + SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in jobParametersToString()
DSyncLogger.java324 static String logSafe(SyncOperation operation) { in logSafe()
DSyncStorageEngine.java723 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
792 requestSync(aInfo, SyncOperation.REASON_IS_SYNCABLE, new Bundle(), in setSyncableStateForEndPoint()
968 requestSync(null, userId, SyncOperation.REASON_MASTER_SYNC_AUTO, null, in setMasterSyncAutomatically()
1143 public long insertStartSyncEvent(SyncOperation op, long now) { in insertStartSyncEvent()
1283 event.append(SyncOperation.reasonToString(null, item.reason)); in stopSyncEvent()
1299 SyncOperation.extrasToStringBuilder(item.extras, event); in stopSyncEvent()
/frameworks/base/services/
Dart-profile5810 PLcom/android/server/content/SyncLogger;->logSafe(Lcom/android/server/content/SyncOperation;)Ljava/…
5831 …ext;-><init>(Lcom/android/server/content/SyncManager;Lcom/android/server/content/SyncOperation;JI)V
5852 …r/content/SyncManager$SyncHandler;->computeSyncOpState(Lcom/android/server/content/SyncOperation;)I
5853 …tent/SyncManager$SyncHandler;->deferSyncH(Lcom/android/server/content/SyncOperation;JLjava/lang/St…
5854 …ontent/SyncManager$SyncHandler;->dispatchSyncOperation(Lcom/android/server/content/SyncOperation;)Z
5855 …SyncManager$SyncHandler;->getSyncWakeLock(Lcom/android/server/content/SyncOperation;)Landroid/os/P…
5858 …content/SyncManager$SyncHandler;->insertStartSyncEvent(Lcom/android/server/content/SyncOperation;)J
5860 …ent/SyncManager$SyncHandler;->maybeUpdateSyncPeriodH(Lcom/android/server/content/SyncOperation;JJ)V
5862 …SyncHandler;->removePeriodicSyncInternalH(Lcom/android/server/content/SyncOperation;Ljava/lang/Str…
5863 …tent/SyncManager$SyncHandler;->reschedulePeriodicSyncH(Lcom/android/server/content/SyncOperation;)V
[all …]