OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:flexMillis
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/services/core/java/com/android/server/content/
SyncOperation.java
85
public final long
flexMillis
;
113
public SyncOperation(SyncOperation op, long periodMillis, long
flexMillis
) {
116
periodMillis,
flexMillis
);
122
long
flexMillis
) {
133
this.
flexMillis
=
flexMillis
;
145
periodMillis,
flexMillis
);
161
flexMillis
= other.
flexMillis
;
228
jobInfoExtras.putLong("
flexMillis
", flexMillis)
[
all
...]
SyncManager.java
493
0 /* no
flexMillis
*/,
[
all
...]
/frameworks/base/core/java/android/app/job/
JobInfo.java
189
private final long
flexMillis
;
321
long clampedFlex = Math.max(
flexMillis
, Math.max(percentClamp, getMinFlexMillis()));
376
flexMillis
= in.readLong();
402
flexMillis
= b.mFlexMillis;
432
out.writeLong(
flexMillis
);
713
* @param
flexMillis
Millisecond flex for this job. Flex is clamped to be at least
717
public Builder setPeriodic(long intervalMillis, long
flexMillis
) {
720
mFlexMillis =
flexMillis
;
833
if (job.
flexMillis
!= job.getFlexMillis()) {
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
SyncOperationTest.java
152
assertEquals("Flex not restored", periodic.
flexMillis
, oneoff.
flexMillis
);
/frameworks/base/services/core/java/com/android/server/job/
JobStore.java
606
final long
flexMillis
= (val != null) ? Long.valueOf(val) : periodMillis;
607
jobBuilder.setPeriodic(periodMillis,
flexMillis
);
612
if (elapsedRuntimes.second > elapsedNow + periodMillis +
flexMillis
) {
613
final long clampedLateRuntimeElapsed = elapsedNow +
flexMillis
616
-
flexMillis
;
[
all
...]
Completed in 297 milliseconds