mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
104 lines
3 KiB
Java
104 lines
3 KiB
Java
package androidx.work;
|
|
|
|
import android.net.Network;
|
|
import android.net.Uri;
|
|
import androidx.work.impl.utils.taskexecutor.TaskExecutor;
|
|
import java.util.Collection;
|
|
import java.util.Collections;
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
import java.util.UUID;
|
|
import java.util.concurrent.Executor;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class WorkerParameters {
|
|
private Executor mBackgroundExecutor;
|
|
private ForegroundUpdater mForegroundUpdater;
|
|
private int mGeneration;
|
|
private UUID mId;
|
|
private Data mInputData;
|
|
private ProgressUpdater mProgressUpdater;
|
|
private int mRunAttemptCount;
|
|
private RuntimeExtras mRuntimeExtras;
|
|
private Set<String> mTags;
|
|
private TaskExecutor mWorkTaskExecutor;
|
|
private WorkerFactory mWorkerFactory;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public static class RuntimeExtras {
|
|
public Network network;
|
|
public List<String> triggeredContentAuthorities = Collections.emptyList();
|
|
public List<Uri> triggeredContentUris = Collections.emptyList();
|
|
}
|
|
|
|
public Executor getBackgroundExecutor() {
|
|
return this.mBackgroundExecutor;
|
|
}
|
|
|
|
public ForegroundUpdater getForegroundUpdater() {
|
|
return this.mForegroundUpdater;
|
|
}
|
|
|
|
public int getGeneration() {
|
|
return this.mGeneration;
|
|
}
|
|
|
|
public UUID getId() {
|
|
return this.mId;
|
|
}
|
|
|
|
public Data getInputData() {
|
|
return this.mInputData;
|
|
}
|
|
|
|
public ProgressUpdater getProgressUpdater() {
|
|
return this.mProgressUpdater;
|
|
}
|
|
|
|
public int getRunAttemptCount() {
|
|
return this.mRunAttemptCount;
|
|
}
|
|
|
|
public RuntimeExtras getRuntimeExtras() {
|
|
return this.mRuntimeExtras;
|
|
}
|
|
|
|
public Set<String> getTags() {
|
|
return this.mTags;
|
|
}
|
|
|
|
public TaskExecutor getTaskExecutor() {
|
|
return this.mWorkTaskExecutor;
|
|
}
|
|
|
|
public WorkerFactory getWorkerFactory() {
|
|
return this.mWorkerFactory;
|
|
}
|
|
|
|
public WorkerParameters(UUID id, Data inputData, Collection<String> tags, RuntimeExtras runtimeExtras, int runAttemptCount, int generation, Executor backgroundExecutor, TaskExecutor workTaskExecutor, WorkerFactory workerFactory, ProgressUpdater progressUpdater, ForegroundUpdater foregroundUpdater) {
|
|
this.mId = id;
|
|
this.mInputData = inputData;
|
|
this.mTags = new HashSet(tags);
|
|
this.mRuntimeExtras = runtimeExtras;
|
|
this.mRunAttemptCount = runAttemptCount;
|
|
this.mGeneration = generation;
|
|
this.mBackgroundExecutor = backgroundExecutor;
|
|
this.mWorkTaskExecutor = workTaskExecutor;
|
|
this.mWorkerFactory = workerFactory;
|
|
this.mProgressUpdater = progressUpdater;
|
|
this.mForegroundUpdater = foregroundUpdater;
|
|
}
|
|
|
|
public List<Uri> getTriggeredContentUris() {
|
|
return this.mRuntimeExtras.triggeredContentUris;
|
|
}
|
|
|
|
public List<String> getTriggeredContentAuthorities() {
|
|
return this.mRuntimeExtras.triggeredContentAuthorities;
|
|
}
|
|
|
|
public Network getNetwork() {
|
|
return this.mRuntimeExtras.network;
|
|
}
|
|
}
|