Home
last modified time | relevance | path

Searched refs:periodMillis (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java83 public final long periodMillis; field in SyncOperation
113 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() argument
116 periodMillis, flexMillis); in SyncOperation()
121 boolean isPeriodic, int sourcePeriodicId, long periodMillis, in SyncOperation() argument
132 this.periodMillis = periodMillis; in SyncOperation()
145 periodMillis, flexMillis); in createOneTimeSyncOperation()
160 periodMillis = other.periodMillis; in SyncOperation()
227 jobInfoExtras.putLong("periodMillis", periodMillis); in toJobInfoExtras()
247 long periodMillis, flexMillis; in maybeCreateFromJobExtras() local
264 periodMillis = jobExtras.getLong("periodMillis"); in maybeCreateFromJobExtras()
[all …]
DSyncManager.java948 op.extras, op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs()
1291 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH()
2613 if (!(pollFrequencyMillis == syncOperation.periodMillis in maybeUpdateSyncPeriodH()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java151 assertEquals("Period not restored", periodic.periodMillis, oneoff.periodMillis); in testFailedPeriodicConversion()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java604 final long periodMillis = Long.valueOf(val); in restoreJobFromXml() local
606 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml()
607 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml()
612 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml()
614 + periodMillis; in restoreJobFromXml()