Searched refs:periodMillis (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 85 public final long periodMillis; field in SyncOperation 119 public SyncOperation(SyncOperation op, long periodMillis, long flexMillis) { in SyncOperation() argument 122 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in SyncOperation() 127 boolean isPeriodic, int sourcePeriodicId, long periodMillis, in SyncOperation() argument 138 this.periodMillis = periodMillis; in SyncOperation() 152 periodMillis, flexMillis, ContentResolver.SYNC_EXEMPTION_NONE); in createOneTimeSyncOperation() 167 periodMillis = other.periodMillis; in SyncOperation() 235 jobInfoExtras.putLong("periodMillis", periodMillis); in toJobInfoExtras() 259 long periodMillis, flexMillis; in maybeCreateFromJobExtras() local 277 periodMillis = jobExtras.getLong("periodMillis"); in maybeCreateFromJobExtras() [all …]
|
D | SyncManager.java | 1247 op.extras, op.periodMillis / 1000, op.flexMillis / 1000)); in getPeriodicSyncs() 1646 b.setPeriodic(syncOperation.periodMillis, syncOperation.flexMillis); in scheduleSyncOperationH() 2035 res = Long.compare(op1.periodMillis, op2.periodMillis); 3362 if (!(pollFrequencyMillis == syncOperation.periodMillis in maybeUpdateSyncPeriodH()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 152 assertEquals("Period not restored", periodic.periodMillis, oneoff.periodMillis); in testFailedPeriodicConversion()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 571 int32_t periodMillis = (timeMillis < 2000) ? PERIOD_MILLIS / 4 : PERIOD_MILLIS; in main() local 572 usleep(periodMillis * 1000); in main() 573 timeMillis += periodMillis; in main()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 784 final long periodMillis = Long.parseLong(val); in restoreJobFromXml() local 786 final long flexMillis = (val != null) ? Long.valueOf(val) : periodMillis; in restoreJobFromXml() 787 jobBuilder.setPeriodic(periodMillis, flexMillis); in restoreJobFromXml() 792 if (elapsedRuntimes.second > elapsedNow + periodMillis + flexMillis) { in restoreJobFromXml() 794 + periodMillis; in restoreJobFromXml()
|