alexandroid/decompiled/jadx/sources/androidx/work/WorkerParameters.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

166 lines
4.4 KiB
Java

package androidx.work;
import android.net.Network;
import android.net.Uri;
import androidx.annotation.IntRange;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.annotation.RestrictTo;
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;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes14.dex */
public final class WorkerParameters {
@NonNull
private Executor mBackgroundExecutor;
@NonNull
private ForegroundUpdater mForegroundUpdater;
private int mGeneration;
@NonNull
private UUID mId;
@NonNull
private Data mInputData;
@NonNull
private ProgressUpdater mProgressUpdater;
private int mRunAttemptCount;
@NonNull
private RuntimeExtras mRuntimeExtras;
@NonNull
private Set<String> mTags;
@NonNull
private TaskExecutor mWorkTaskExecutor;
@NonNull
private WorkerFactory mWorkerFactory;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public static class RuntimeExtras {
@Nullable
@RequiresApi(28)
public Network network;
@NonNull
public List<String> triggeredContentAuthorities;
@NonNull
public List<Uri> triggeredContentUris;
public RuntimeExtras() {
List list = Collections.EMPTY_LIST;
this.triggeredContentAuthorities = list;
this.triggeredContentUris = list;
}
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public WorkerParameters(@NonNull UUID uuid, @NonNull Data data, @NonNull Collection<String> collection, @NonNull RuntimeExtras runtimeExtras, @IntRange(from = 0) int i, @IntRange(from = 0) int i2, @NonNull Executor executor, @NonNull TaskExecutor taskExecutor, @NonNull WorkerFactory workerFactory, @NonNull ProgressUpdater progressUpdater, @NonNull ForegroundUpdater foregroundUpdater) {
this.mId = uuid;
this.mInputData = data;
this.mTags = new HashSet(collection);
this.mRuntimeExtras = runtimeExtras;
this.mRunAttemptCount = i;
this.mGeneration = i2;
this.mBackgroundExecutor = executor;
this.mWorkTaskExecutor = taskExecutor;
this.mWorkerFactory = workerFactory;
this.mProgressUpdater = progressUpdater;
this.mForegroundUpdater = foregroundUpdater;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public Executor getBackgroundExecutor() {
return this.mBackgroundExecutor;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public ForegroundUpdater getForegroundUpdater() {
return this.mForegroundUpdater;
}
@IntRange(from = 0)
public int getGeneration() {
return this.mGeneration;
}
@NonNull
public UUID getId() {
return this.mId;
}
@NonNull
public Data getInputData() {
return this.mInputData;
}
@Nullable
@RequiresApi(28)
public Network getNetwork() {
return this.mRuntimeExtras.network;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public ProgressUpdater getProgressUpdater() {
return this.mProgressUpdater;
}
@IntRange(from = 0)
public int getRunAttemptCount() {
return this.mRunAttemptCount;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public RuntimeExtras getRuntimeExtras() {
return this.mRuntimeExtras;
}
@NonNull
public Set<String> getTags() {
return this.mTags;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public TaskExecutor getTaskExecutor() {
return this.mWorkTaskExecutor;
}
@NonNull
@RequiresApi(24)
public List<String> getTriggeredContentAuthorities() {
return this.mRuntimeExtras.triggeredContentAuthorities;
}
@NonNull
@RequiresApi(24)
public List<Uri> getTriggeredContentUris() {
return this.mRuntimeExtras.triggeredContentUris;
}
@NonNull
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public WorkerFactory getWorkerFactory() {
return this.mWorkerFactory;
}
}