Home
last modified time | relevance | path

Searched refs:isPeriodic (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java78 public final boolean isPeriodic; field in SyncOperation
121 new Bundle(op.extras), op.allowParallelSyncs, op.isPeriodic, op.sourcePeriodicId, in SyncOperation()
127 boolean isPeriodic, int sourcePeriodicId, long periodMillis, in SyncOperation() argument
136 this.isPeriodic = isPeriodic; in SyncOperation()
147 if (!isPeriodic) { in createOneTimeSyncOperation()
165 isPeriodic = other.isPeriodic; in SyncOperation()
233 jobInfoExtras.putBoolean("isPeriodic", isPeriodic); in toJobInfoExtras()
258 boolean allowParallelSyncs, isPeriodic; in maybeCreateFromJobExtras()
275 isPeriodic = jobExtras.getBoolean("isPeriodic", false); in maybeCreateFromJobExtras()
302 extras, allowParallelSyncs, isPeriodic, initiatedBy, periodMillis, flexMillis, in maybeCreateFromJobExtras()
[all …]
DSyncManager.java529 if (op.isPeriodic) { in verifyJobScheduler()
870 if (!op.isPeriodic && op.target.matchesSpec(info)) { in setAuthorityPendingState()
1245 if (op.isPeriodic && op.target.matchesSpec(target)) { in getPeriodicSyncs()
1445 if (!op.isPeriodic && op.target.matchesSpec(target)) { in rescheduleSyncs()
1534 if (!syncOperation.isPeriodic) { in scheduleSyncOperationH()
1554 if (op.isPeriodic) { in scheduleSyncOperationH()
1586 if (op.isPeriodic) { in scheduleSyncOperationH()
1645 if (syncOperation.isPeriodic) { in scheduleSyncOperationH()
1692 if (!op.isPeriodic && op.target.matchesSpec(info)) { in clearScheduledSyncOperations()
1709 if (!op.isPeriodic && op.target.matchesSpec(info) in cancelScheduledSyncOperation()
[all …]
DContentService.java579 if (request.isPeriodic()) { in syncAsUser()
664 if (request.isPeriodic()) { in cancelRequest()
679 if (request.isPeriodic()) { in cancelRequest()
/frameworks/support/work/workmanager-ktx/src/androidTest/java/androidx/work/
DPeriodicWorkRequestTest.kt39 assertEquals(workRequest.workSpec.isPeriodic, true) in testPeriodicWorkRequestBuilder()
51 assertEquals(workRequest.workSpec.isPeriodic, true) in testPeriodicWorkRequestBuilder_withDuration()
65 assertEquals(workRequest.workSpec.isPeriodic, true) in testPeriodicWorkRequestBuilder_withFlexTime()
79 assertEquals(workRequest.workSpec.isPeriodic, true) in testPeriodicWorkRequestBuilder_withFlexTimeandDuration()
/frameworks/base/core/java/android/app/job/
DJobInfo.java302 private final boolean isPeriodic; field in JobInfo
366 return ((flags & FLAG_EXEMPT_FROM_APP_STANDBY) != 0) && !isPeriodic(); in isExemptedFromAppStandby()
529 public boolean isPeriodic() { in isPeriodic() method in JobInfo
530 return isPeriodic; in isPeriodic()
675 if (isPeriodic != j.isPeriodic) { in equals()
733 hashCode = 31 * hashCode + Boolean.hashCode(isPeriodic); in hashCode()
769 isPeriodic = in.readInt() == 1; in JobInfo()
799 isPeriodic = b.mIsPeriodic; in JobInfo()
843 out.writeInt(isPeriodic ? 1 : 0); in writeToParcel()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobService.java79 boolean isPeriodic = extras.getBoolean(SystemJobInfoConverter.EXTRA_IS_PERIODIC, false); in onStartJob()
80 if (isPeriodic && params.isOverrideDeadlineExpired()) { in onStartJob()
DSystemJobInfoConverter.java75 extras.putBoolean(EXTRA_IS_PERIODIC, workSpec.isPeriodic()); in convert()
89 if (workSpec.isPeriodic()) { in convert()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkerWrapper.java114 if (mWorkSpec.isPeriodic()) { in run()
244 if (mWorkSpec.isPeriodic()) { in handleResult()
261 if (mWorkSpec.isPeriodic()) { in handleResult()
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/
DTestScheduler.java110 if (workSpec.isPeriodic()) { in scheduleInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java151 assertFalse("Conversion to oneoff sync failed.", oneoff.isPeriodic); in testFailedPeriodicConversion()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkSpec.java141 public boolean isPeriodic() { in isPeriodic() method in WorkSpec
223 } else if (isPeriodic()) { in calculateNextRunTime()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/
DGreedyScheduler.java72 && !workSpec.isPeriodic() in schedule()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobConverter.java69 } else if (workSpec.isPeriodic()) { in setExecutionTrigger()
/frameworks/base/core/java/android/content/
DSyncRequest.java61 public boolean isPeriodic() { in isPeriodic() method in SyncRequest
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java443 if (job.isPeriodic()) { in createFromJobInfo()
943 final boolean deadlineSatisfied = (!job.isPeriodic() && hasDeadlineConstraint() in isReady()
1023 if (job.isPeriodic()) { in toString()
1230 if (job.isPeriodic()) { in dump()
1429 proto.write(JobStatusDumpProto.JobInfo.IS_PERIODIC, job.isPeriodic()); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java405 assertEquals("Different periodic status.", first.isPeriodic(), second.isPeriodic()); in assertTasksEqual()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java475 addEvent(job.getJob().isPeriodic() ? EVENT_START_PERIODIC_JOB : EVENT_START_JOB, in noteActive()
488 addEvent(job.getJob().isPeriodic() ? EVENT_STOP_JOB : EVENT_STOP_PERIODIC_JOB, in noteInactive()
DJobStore.java501 if (jobStatus.getJob().isPeriodic()) {
541 if (job.isPeriodic()) {
DJobSchedulerService.java1526 if (!stopTrackingJobLocked(jobStatus, rescheduledJob, !jobStatus.getJob().isPeriodic())) { in onJobCompletedLocked()
1543 } else if (jobStatus.getJob().isPeriodic()) { in onJobCompletedLocked()
2289 if (job.getJob().isPeriodic() || !isCurrentlyActiveLocked(job)) { in getSystemScheduledPendingJobs()
2525 if (job.isPeriodic()) { in validateJobFlags()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java430 assertThat(workSpec.isPeriodic(), is(true)); in testEnqueue_insertPeriodicWork()
/frameworks/base/config/
Dboot-image-profile.txt1636 HPLandroid/content/SyncRequest;->isPeriodic()Z
16027 HSPLandroid/app/job/JobInfo;->isPeriodic()Z
49886 HSPLjava/util/concurrent/RunnableScheduledFuture;->isPeriodic()Z
49913 HSPLjava/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask;->isPeriodic()Z
Dhiddenapi-public-dex.txt3199 Landroid/app/job/JobInfo;->isPeriodic()Z
68627 Ljava/util/concurrent/RunnableScheduledFuture;->isPeriodic()Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5543 method public boolean isPeriodic();
49712 method public abstract boolean isPeriodic();
/frameworks/base/api/
Dcurrent.txt7085 method public boolean isPeriodic();
68493 method public abstract boolean isPeriodic();