Searched refs:flexMillis (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 87 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 …]
|
D | SyncManager.java | 1216 op.extras, op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs() 1617 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH() 3299 long flexMillis) { in maybeUpdateSyncPeriodH() argument 3301 && flexMillis == syncOperation.flexMillis)) { in maybeUpdateSyncPeriodH() 3304 + " and flex to " + flexMillis); in maybeUpdateSyncPeriodH() 3307 flexMillis); in maybeUpdateSyncPeriodH() 3318 final long flexMillis = flex * 1000L; in updateOrAddPeriodicSyncH() local 3329 maybeUpdateSyncPeriodH(op, pollFrequencyMillis, flexMillis); in updateOrAddPeriodicSyncH() 3354 pollFrequencyMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in updateOrAddPeriodicSyncH()
|
/frameworks/base/core/java/android/app/job/ |
D | JobInfo.java | 322 private final long flexMillis; field in JobInfo 575 return flexMillis; in getFlexMillis() 702 if (flexMillis != j.flexMillis) { in equals() 754 hashCode = 31 * hashCode + Long.hashCode(flexMillis); in hashCode() 790 flexMillis = in.readLong(); in JobInfo() 820 flexMillis = b.mFlexMillis; in JobInfo() 864 out.writeLong(flexMillis); in writeToParcel() 1392 public Builder setPeriodic(long intervalMillis, long flexMillis) { in setPeriodic() argument 1402 if (flexMillis < minFlex) { in setPeriodic() 1403 Log.w(TAG, "Requested flex " + formatDuration(flexMillis) + " for job " + mJobId in setPeriodic() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 153 assertEquals("Flex not restored", periodic.flexMillis, oneoff.flexMillis); in testFailedPeriodicConversion()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 840 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/ |
D | hiddenapi-greylist-max-o.txt | 7638 Landroid/app/job/JobInfo;->flexMillis:J
|