195 lines
5.7 KiB
Smali
195 lines
5.7 KiB
Smali
.class public final Landroidx/work/WorkerParameters;
|
|
.super Ljava/lang/Object;
|
|
.source "WorkerParameters.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mBackgroundExecutor:Ljava/util/concurrent/Executor;
|
|
|
|
.field private mId:Ljava/util/UUID;
|
|
|
|
.field private mInputData:Landroidx/work/Data;
|
|
|
|
.field private mRunAttemptCount:I
|
|
|
|
.field private mRuntimeExtras:Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
|
|
.field private mTags:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mWorkTaskExecutor:Landroidx/work/impl/utils/taskexecutor/TaskExecutor;
|
|
|
|
.field private mWorkerFactory:Landroidx/work/WorkerFactory;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/UUID;Landroidx/work/Data;Ljava/util/Collection;Landroidx/work/WorkerParameters$RuntimeExtras;ILjava/util/concurrent/Executor;Landroidx/work/impl/utils/taskexecutor/TaskExecutor;Landroidx/work/WorkerFactory;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/UUID;",
|
|
"Landroidx/work/Data;",
|
|
"Ljava/util/Collection<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Landroidx/work/WorkerParameters$RuntimeExtras;",
|
|
"I",
|
|
"Ljava/util/concurrent/Executor;",
|
|
"Landroidx/work/impl/utils/taskexecutor/TaskExecutor;",
|
|
"Landroidx/work/WorkerFactory;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/work/WorkerParameters;->mId:Ljava/util/UUID;
|
|
|
|
iput-object p2, p0, Landroidx/work/WorkerParameters;->mInputData:Landroidx/work/Data;
|
|
|
|
new-instance p1, Ljava/util/HashSet;
|
|
|
|
invoke-direct {p1, p3}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
|
|
|
iput-object p1, p0, Landroidx/work/WorkerParameters;->mTags:Ljava/util/Set;
|
|
|
|
iput-object p4, p0, Landroidx/work/WorkerParameters;->mRuntimeExtras:Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
|
|
iput p5, p0, Landroidx/work/WorkerParameters;->mRunAttemptCount:I
|
|
|
|
iput-object p6, p0, Landroidx/work/WorkerParameters;->mBackgroundExecutor:Ljava/util/concurrent/Executor;
|
|
|
|
iput-object p7, p0, Landroidx/work/WorkerParameters;->mWorkTaskExecutor:Landroidx/work/impl/utils/taskexecutor/TaskExecutor;
|
|
|
|
iput-object p8, p0, Landroidx/work/WorkerParameters;->mWorkerFactory:Landroidx/work/WorkerFactory;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getBackgroundExecutor()Ljava/util/concurrent/Executor;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mBackgroundExecutor:Ljava/util/concurrent/Executor;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getId()Ljava/util/UUID;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mId:Ljava/util/UUID;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getInputData()Landroidx/work/Data;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mInputData:Landroidx/work/Data;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getNetwork()Landroid/net/Network;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mRuntimeExtras:Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
|
|
iget-object v0, v0, Landroidx/work/WorkerParameters$RuntimeExtras;->network:Landroid/net/Network;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRunAttemptCount()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/work/WorkerParameters;->mRunAttemptCount:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getTags()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mTags:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTaskExecutor()Landroidx/work/impl/utils/taskexecutor/TaskExecutor;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mWorkTaskExecutor:Landroidx/work/impl/utils/taskexecutor/TaskExecutor;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTriggeredContentAuthorities()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mRuntimeExtras:Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
|
|
iget-object v0, v0, Landroidx/work/WorkerParameters$RuntimeExtras;->triggeredContentAuthorities:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTriggeredContentUris()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroid/net/Uri;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mRuntimeExtras:Landroidx/work/WorkerParameters$RuntimeExtras;
|
|
|
|
iget-object v0, v0, Landroidx/work/WorkerParameters$RuntimeExtras;->triggeredContentUris:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getWorkerFactory()Landroidx/work/WorkerFactory;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/work/WorkerParameters;->mWorkerFactory:Landroidx/work/WorkerFactory;
|
|
|
|
return-object v0
|
|
.end method
|