Searched refs:mWorkSpec (Results 1 – 4 of 4) sorted by relevance
53 private @NonNull WorkSpec mWorkSpec; field in WorkRequest62 mWorkSpec = workSpec; in WorkRequest()94 return mWorkSpec; in getWorkSpec()118 WorkSpec mWorkSpec; field in WorkRequest.Builder123 mWorkSpec = new WorkSpec(mId.toString(), workerClass.getName()); in Builder()144 mWorkSpec.backoffPolicy = backoffPolicy; in setBackoffCriteria()145 mWorkSpec.setBackoffDelayDuration(timeUnit.toMillis(backoffDelay)); in setBackoffCriteria()156 mWorkSpec.constraints = constraints; in setConstraints()167 mWorkSpec.input = inputData; in setInputData()200 mWorkSpec.minimumRetentionDuration = timeUnit.toMillis(duration); in keepResultsForAtLeast()[all …]
41 super(builder.mId, builder.mWorkSpec, builder.mTags); in PeriodicWorkRequest()67 mWorkSpec.setPeriodic(repeatIntervalTimeUnit.toMillis(repeatInterval)); in Builder()87 mWorkSpec.setPeriodic(repeatInterval.toMillis()); in Builder()119 mWorkSpec.setPeriodic( in Builder()150 mWorkSpec.setPeriodic(repeatInterval.toMillis(), flexInterval.toMillis()); in Builder()157 && mWorkSpec.constraints.requiresDeviceIdle()) { in build()
66 super(builder.mId, builder.mWorkSpec, builder.mTags); in OneTimeWorkRequest()76 mWorkSpec.inputMergerClassName = OverwritingInputMerger.class.getName(); in Builder()87 mWorkSpec.initialDelay = timeUnit.toMillis(duration); in setInitialDelay()99 mWorkSpec.initialDelay = duration.toMillis(); in setInitialDelay()114 mWorkSpec.inputMergerClassName = inputMerger.getName(); in setInputMerger()123 && mWorkSpec.constraints.requiresDeviceIdle()) { in build()
64 private WorkSpec mWorkSpec; field in WorkerWrapper97 mWorkSpec = mWorkSpecDao.getWorkSpec(mWorkSpecId); in run()98 if (mWorkSpec == null) { in run()106 if (mWorkSpec.state != ENQUEUED) { in run()114 if (mWorkSpec.isPeriodic()) { in run()115 input = mWorkSpec.input; in run()117 InputMerger inputMerger = InputMerger.fromClassName(mWorkSpec.inputMergerClassName); in run()120 mWorkSpec.inputMergerClassName)); in run()125 inputs.add(mWorkSpec.input); in run()134 mWorkSpec.runAttemptCount); in run()[all …]