2019-02-04 20:08:30 +00:00
.class public abstract L androidx/work/WorkManager ;
.super L java/lang/Object ;
2019-02-04 20:29:01 +00:00
.source "WorkManager.java"
2019-02-04 20:08:30 +00:00
# direct methods
.method protected constructor <init> ( ) V
.locals 0
.annotation build L androidx/annotation/RestrictTo ;
value = {
.enum L androidx/annotation/RestrictTo$Scope ;-> LIBRARY_GROUP : L androidx/annotation/RestrictTo$Scope ;
}
.end annotation
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
return-void
.end method
.method public static getInstance ( ) L androidx/work/WorkManager ;
.locals 2
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-static { } , L androidx/work/impl/WorkManagerImpl ;-> getInstance ( ) L androidx/work/impl/WorkManagerImpl ;
move-result-object v0
if-eqz v0 , :cond_0
return-object v0
:cond_0
new-instance v0 , L java/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 } , L java/lang/IllegalStateException ;-> <init> ( L java/lang/String ;) V
throw v0
.end method
.method public static initialize ( L android/content/Context ;L androidx/work/Configuration ;) V
.locals 0
. param p0 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p1 # Landroidx/work/Configuration;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-static { p0 , p1 } , L androidx/work/impl/WorkManagerImpl ;-> initialize ( L android/content/Context ;L androidx/work/Configuration ;) V
return-void
.end method
# virtual methods
.method public abstract beginUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;L java/util/List ;) L androidx/work/WorkContinuation ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroidx/work/ExistingWorkPolicy;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Ljava/util/List;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/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 varargs beginUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;[ L androidx/work/OneTimeWorkRequest ;) L androidx/work/WorkContinuation ;
.locals 0
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroidx/work/ExistingWorkPolicy;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # [Landroidx/work/OneTimeWorkRequest;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-static { p3 } , L java/util/Arrays ;-> asList ( [ L java/lang/Object ;) L java/util/List ;
move-result-object p3
invoke-virtual { p0 , p1 , p2 , p3 } , L androidx/work/WorkManager ;-> beginUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;L java/util/List ;) L androidx/work/WorkContinuation ;
move-result-object p1
return-object p1
.end method
.method public final beginWith ( L androidx/work/OneTimeWorkRequest ;) L androidx/work/WorkContinuation ;
.locals 0
. param p1 # Landroidx/work/OneTimeWorkRequest;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-static { p1 } , L java/util/Collections ;-> singletonList ( L java/lang/Object ;) L java/util/List ;
move-result-object p1
invoke-virtual { p0 , p1 } , L androidx/work/WorkManager ;-> beginWith ( L java/util/List ;) L androidx/work/WorkContinuation ;
move-result-object p1
return-object p1
.end method
.method public abstract beginWith ( L java/util/List ;) L androidx/work/WorkContinuation ;
. param p1 # Ljava/util/List;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/List<" ,
"Landroidx/work/OneTimeWorkRequest;" ,
">;)" ,
"Landroidx/work/WorkContinuation;"
}
.end annotation
.end method
.method public abstract cancelAllWork ( ) L androidx/work/Operation ;
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method
.method public abstract cancelAllWorkByTag ( L java/lang/String ;) L androidx/work/Operation ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method
.method public abstract cancelUniqueWork ( L java/lang/String ;) L androidx/work/Operation ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method
.method public abstract cancelWorkById ( L java/util/UUID ;) L androidx/work/Operation ;
. param p1 # Ljava/util/UUID;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method
.method public final enqueue ( L androidx/work/WorkRequest ;) L androidx/work/Operation ;
.locals 0
. param p1 # Landroidx/work/WorkRequest;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-static { p1 } , L java/util/Collections ;-> singletonList ( L java/lang/Object ;) L java/util/List ;
move-result-object p1
invoke-virtual { p0 , p1 } , L androidx/work/WorkManager ;-> enqueue ( L java/util/List ;) L androidx/work/Operation ;
move-result-object p1
return-object p1
.end method
.method public abstract enqueue ( L java/util/List ;) L androidx/work/Operation ;
. param p1 # Ljava/util/List;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/List<" ,
"+" ,
"Landroidx/work/WorkRequest;" ,
">;)" ,
"Landroidx/work/Operation;"
}
.end annotation
.end method
.method public abstract enqueueUniquePeriodicWork ( L java/lang/String ;L androidx/work/ExistingPeriodicWorkPolicy ;L androidx/work/PeriodicWorkRequest ;) L androidx/work/Operation ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroidx/work/ExistingPeriodicWorkPolicy;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Landroidx/work/PeriodicWorkRequest;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method
.method public abstract enqueueUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;L java/util/List ;) L androidx/work/Operation ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroidx/work/ExistingWorkPolicy;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Ljava/util/List;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/lang/String;" ,
"Landroidx/work/ExistingWorkPolicy;" ,
"Ljava/util/List<" ,
"Landroidx/work/OneTimeWorkRequest;" ,
">;)" ,
"Landroidx/work/Operation;"
}
.end annotation
.end method
.method public varargs enqueueUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;[ L androidx/work/OneTimeWorkRequest ;) L androidx/work/Operation ;
.locals 0
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroidx/work/ExistingWorkPolicy;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # [Landroidx/work/OneTimeWorkRequest;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-static { p3 } , L java/util/Arrays ;-> asList ( [ L java/lang/Object ;) L java/util/List ;
move-result-object p3
invoke-virtual { p0 , p1 , p2 , p3 } , L androidx/work/WorkManager ;-> enqueueUniqueWork ( L java/lang/String ;L androidx/work/ExistingWorkPolicy ;L java/util/List ;) L androidx/work/Operation ;
move-result-object p1
return-object p1
.end method
.method public abstract getLastCancelAllTimeMillis ( ) L com/google/a/a/a/a ;
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"()" ,
"Lcom/google/a/a/a/a<" ,
"Ljava/lang/Long;" ,
">;"
}
.end annotation
.end method
.method public abstract getLastCancelAllTimeMillisLiveData ( ) L androidx/lifecycle/LiveData ;
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"()" ,
"Landroidx/lifecycle/LiveData<" ,
"Ljava/lang/Long;" ,
">;"
}
.end annotation
.end method
.method public abstract getWorkInfoById ( L java/util/UUID ;) L com/google/a/a/a/a ;
. param p1 # Ljava/util/UUID;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/UUID;" ,
")" ,
"Lcom/google/a/a/a/a<" ,
"Landroidx/work/WorkInfo;" ,
">;"
}
.end annotation
.end method
.method public abstract getWorkInfoByIdLiveData ( L java/util/UUID ;) L androidx/lifecycle/LiveData ;
. param p1 # Ljava/util/UUID;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/util/UUID;" ,
")" ,
"Landroidx/lifecycle/LiveData<" ,
"Landroidx/work/WorkInfo;" ,
">;"
}
.end annotation
.end method
.method public abstract getWorkInfosByTag ( L java/lang/String ;) L com/google/a/a/a/a ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/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 ( L java/lang/String ;) L androidx/lifecycle/LiveData ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/lang/String;" ,
")" ,
"Landroidx/lifecycle/LiveData<" ,
"Ljava/util/List<" ,
"Landroidx/work/WorkInfo;" ,
">;>;"
}
.end annotation
.end method
.method public abstract getWorkInfosForUniqueWork ( L java/lang/String ;) L com/google/a/a/a/a ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/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 ( L java/lang/String ;) L androidx/lifecycle/LiveData ;
. param p1 # Ljava/lang/String;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/NonNull ;
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"(" ,
"Ljava/lang/String;" ,
")" ,
"Landroidx/lifecycle/LiveData<" ,
"Ljava/util/List<" ,
"Landroidx/work/WorkInfo;" ,
">;>;"
}
.end annotation
.end method
.method public abstract pruneWork ( ) L androidx/work/Operation ;
.annotation build L androidx/annotation/NonNull ;
.end annotation
.end method