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.java1197 op.getClonedExtras(), op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs()
1628 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH()
2041 res = Long.compare(op1.periodMillis, op2.periodMillis);
3323 if (!(pollFrequencyMillis == syncOperation.periodMillis in maybeUpdateSyncPeriodH()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java153 assertEquals("Period not restored", periodic.periodMillis, oneoff.periodMillis); in testFailedPeriodicConversion()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp678 int32_t periodMillis = (timeMillis < 2000) ? kLogPeriodMillis / 4 : kLogPeriodMillis; in main() local
679 usleep(periodMillis * 1000); in main()
680 timeMillis += periodMillis; in main()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java901 final long periodMillis = Long.parseLong(val); in restoreJobFromXml() local
903 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml()
904 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml()
909 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml()
911 + periodMillis; in restoreJobFromXml()