Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java94 public final long flexMillis; field in SyncOperation
133 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() argument
136 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in SyncOperation()
143 long flexMillis, @SyncExemption int syncExemptionFlag) { in SyncOperation() argument
154 this.flexMillis = flexMillis; in SyncOperation()
167 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in createOneTimeSyncOperation()
186 flexMillis = other.flexMillis; in SyncOperation()
257 jobInfoExtras.putLong("flexMillis", flexMillis); in toJobInfoExtras()
281 long periodMillis, flexMillis; in maybeCreateFromJobExtras() local
300 flexMillis = jobExtras.getLong("flexMillis"); in maybeCreateFromJobExtras()
[all …]
DSyncManager.java1366 op.getClonedExtras(), op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs()
1817 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH()
3515 long flexMillis) { in maybeUpdateSyncPeriodH() argument
3517 && flexMillis == syncOperation.flexMillis)) { in maybeUpdateSyncPeriodH()
3520 + " and flex to " + flexMillis); in maybeUpdateSyncPeriodH()
3523 flexMillis); in maybeUpdateSyncPeriodH()
3534 final long flexMillis = flex * 1000L; in updateOrAddPeriodicSyncH() local
3548 maybeUpdateSyncPeriodH(op, pollFrequencyMillis, flexMillis); in updateOrAddPeriodicSyncH()
3573 pollFrequencyMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in updateOrAddPeriodicSyncH()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java490 private final long flexMillis; field in JobInfo
748 return flexMillis; in getFlexMillis()
916 if (flexMillis != j.flexMillis) { in equals()
978 hashCode = 31 * hashCode + Long.hashCode(flexMillis); in hashCode()
1024 flexMillis = in.readLong(); in JobInfo()
1067 flexMillis = b.mFlexMillis; in JobInfo()
1115 out.writeLong(flexMillis); in writeToParcel()
1852 public Builder setPeriodic(long intervalMillis, long flexMillis) { in setPeriodic() argument
1862 if (flexMillis < minFlex) { in setPeriodic()
1863 Log.w(TAG, "Requested flex " + formatDuration(flexMillis) + " for job " + mJobId in setPeriodic()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java155 assertEquals("Flex not restored", periodic.flexMillis, oneoff.flexMillis); in testFailedPeriodicConversion()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1394 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml() local
1395 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml()
1400 if (elapsedRuntimes.second > nowElapsed + periodMillis + flexMillis) { in restoreJobFromXml()
1401 final long clampedLateRuntimeElapsed = nowElapsed + flexMillis in restoreJobFromXml()
1404 - flexMillis; in restoreJobFromXml()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7151 Landroid/app/job/JobInfo;->flexMillis:J