275 lines
8.2 KiB
Smali
275 lines
8.2 KiB
Smali
.class public abstract Landroidx/work/WorkManager;
|
|
.super Ljava/lang/Object;
|
|
.source "WorkManager.java"
|
|
|
|
|
|
# direct methods
|
|
.method protected constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getInstance()Landroidx/work/WorkManager;
|
|
.locals 2
|
|
|
|
invoke-static {}, Landroidx/work/impl/WorkManagerImpl;->getInstance()Landroidx/work/impl/WorkManagerImpl;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "WorkManager is not initialized properly. The most likely cause is that you disabled WorkManagerInitializer in your manifest but forgot to call WorkManager#initialize in your Application#onCreate or a ContentProvider."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static initialize(Landroid/content/Context;Landroidx/work/Configuration;)V
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Landroidx/work/impl/WorkManagerImpl;->initialize(Landroid/content/Context;Landroidx/work/Configuration;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Landroidx/work/OneTimeWorkRequest;)Landroidx/work/WorkContinuation;
|
|
.locals 0
|
|
|
|
invoke-static {p3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/work/WorkManager;->beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/WorkContinuation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/WorkContinuation;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/work/ExistingWorkPolicy;",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/OneTimeWorkRequest;",
|
|
">;)",
|
|
"Landroidx/work/WorkContinuation;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final beginWith(Landroidx/work/OneTimeWorkRequest;)Landroidx/work/WorkContinuation;
|
|
.locals 0
|
|
|
|
invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/work/WorkManager;->beginWith(Ljava/util/List;)Landroidx/work/WorkContinuation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract beginWith(Ljava/util/List;)Landroidx/work/WorkContinuation;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/OneTimeWorkRequest;",
|
|
">;)",
|
|
"Landroidx/work/WorkContinuation;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract cancelAllWork()Landroidx/work/Operation;
|
|
.end method
|
|
|
|
.method public abstract cancelAllWorkByTag(Ljava/lang/String;)Landroidx/work/Operation;
|
|
.end method
|
|
|
|
.method public abstract cancelUniqueWork(Ljava/lang/String;)Landroidx/work/Operation;
|
|
.end method
|
|
|
|
.method public abstract cancelWorkById(Ljava/util/UUID;)Landroidx/work/Operation;
|
|
.end method
|
|
|
|
.method public final enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation;
|
|
.locals 0
|
|
|
|
invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/work/WorkManager;->enqueue(Ljava/util/List;)Landroidx/work/Operation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract enqueue(Ljava/util/List;)Landroidx/work/Operation;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/work/WorkRequest;",
|
|
">;)",
|
|
"Landroidx/work/Operation;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract enqueueUniquePeriodicWork(Ljava/lang/String;Landroidx/work/ExistingPeriodicWorkPolicy;Landroidx/work/PeriodicWorkRequest;)Landroidx/work/Operation;
|
|
.end method
|
|
|
|
.method public enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Landroidx/work/OneTimeWorkRequest;)Landroidx/work/Operation;
|
|
.locals 0
|
|
|
|
invoke-static {p3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/work/WorkManager;->enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/Operation;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/Operation;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/work/ExistingWorkPolicy;",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/OneTimeWorkRequest;",
|
|
">;)",
|
|
"Landroidx/work/Operation;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getLastCancelAllTimeMillis()Lcom/google/a/a/a/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/google/a/a/a/a<",
|
|
"Ljava/lang/Long;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getLastCancelAllTimeMillisLiveData()Landroidx/lifecycle/LiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"Ljava/lang/Long;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfoById(Ljava/util/UUID;)Lcom/google/a/a/a/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/UUID;",
|
|
")",
|
|
"Lcom/google/a/a/a/a<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfoByIdLiveData(Ljava/util/UUID;)Landroidx/lifecycle/LiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/UUID;",
|
|
")",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfosByTag(Ljava/lang/String;)Lcom/google/a/a/a/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lcom/google/a/a/a/a<",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfosByTagLiveData(Ljava/lang/String;)Landroidx/lifecycle/LiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfosForUniqueWork(Ljava/lang/String;)Lcom/google/a/a/a/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lcom/google/a/a/a/a<",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getWorkInfosForUniqueWorkLiveData(Ljava/lang/String;)Landroidx/lifecycle/LiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"Ljava/util/List<",
|
|
"Landroidx/work/WorkInfo;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract pruneWork()Landroidx/work/Operation;
|
|
.end method
|