Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java92 public final long periodMillis; field in SyncOperation
133 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() argument
136 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in SyncOperation()
142 boolean isPeriodic, int sourcePeriodicId, long periodMillis, in SyncOperation() argument
153 this.periodMillis = periodMillis; in SyncOperation()
167 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in createOneTimeSyncOperation()
185 periodMillis = other.periodMillis; in SyncOperation()
256 jobInfoExtras.putLong("periodMillis", periodMillis); in toJobInfoExtras()
281 long periodMillis, flexMillis; in maybeCreateFromJobExtras() local
299 periodMillis = jobExtras.getLong("periodMillis"); in maybeCreateFromJobExtras()
[all …]
DSyncManager.java1366 op.getClonedExtras(), op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs()
1817 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH()
2230 res = Long.compare(op1.periodMillis, op2.periodMillis);
3516 if (!(pollFrequencyMillis == syncOperation.periodMillis in maybeUpdateSyncPeriodH()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java154 assertEquals("Period not restored", periodic.periodMillis, oneoff.periodMillis); in testFailedPeriodicConversion()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp673 int32_t periodMillis = (timeMillis < 2000) ? kLogPeriodMillis / 4 : kLogPeriodMillis; in main() local
674 usleep(periodMillis * 1000); in main()
675 timeMillis += periodMillis; in main()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1392 final long periodMillis = Long.parseLong(val); in restoreJobFromXml() local
1394 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml()
1395 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml()
1400 if (elapsedRuntimes.second > nowElapsed + periodMillis + flexMillis) { in restoreJobFromXml()
1402 + periodMillis; in restoreJobFromXml()