Home
last modified time | relevance | path

Searched refs:flexMillis (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java87 public final long flexMillis; field in SyncOperation
119 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() argument
122 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in SyncOperation()
128 long flexMillis, @SyncExemption int syncExemptionFlag) { in SyncOperation() argument
139 this.flexMillis = flexMillis; in SyncOperation()
152 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in createOneTimeSyncOperation()
168 flexMillis = other.flexMillis; in SyncOperation()
236 jobInfoExtras.putLong("flexMillis", flexMillis); in toJobInfoExtras()
259 long periodMillis, flexMillis; in maybeCreateFromJobExtras() local
278 flexMillis = jobExtras.getLong("flexMillis"); in maybeCreateFromJobExtras()
[all …]
DSyncManager.java1216 op.extras, op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs()
1617 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH()
3293 long flexMillis) { in maybeUpdateSyncPeriodH() argument
3295 && flexMillis == syncOperation.flexMillis)) { in maybeUpdateSyncPeriodH()
3298 + " and flex to " + flexMillis); in maybeUpdateSyncPeriodH()
3301 flexMillis); in maybeUpdateSyncPeriodH()
3312 final long flexMillis = flex * 1000L; in updateOrAddPeriodicSyncH() local
3323 maybeUpdateSyncPeriodH(op, pollFrequencyMillis, flexMillis); in updateOrAddPeriodicSyncH()
3348 pollFrequencyMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in updateOrAddPeriodicSyncH()
/frameworks/base/core/java/android/app/job/
DJobInfo.java322 private final long flexMillis; field in JobInfo
575 return flexMillis; in getFlexMillis()
698 if (flexMillis != j.flexMillis) { in equals()
750 hashCode = 31 * hashCode + Long.hashCode(flexMillis); in hashCode()
786 flexMillis = in.readLong(); in JobInfo()
816 flexMillis = b.mFlexMillis; in JobInfo()
860 out.writeLong(flexMillis); in writeToParcel()
1388 public Builder setPeriodic(long intervalMillis, long flexMillis) { in setPeriodic() argument
1398 if (flexMillis < minFlex) { in setPeriodic()
1399 Log.w(TAG, "Requested flex " + formatDuration(flexMillis) + " for job " + mJobId in setPeriodic()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java153 assertEquals("Flex not restored", periodic.flexMillis, oneoff.flexMillis); in testFailedPeriodicConversion()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java840 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml() local
841 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml()
846 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml()
847 final long clampedLateRuntimeElapsed = elapsedNow + flexMillis in restoreJobFromXml()
850 - flexMillis; in restoreJobFromXml()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt7154 Landroid/app/job/JobInfo;->flexMillis:J