186 lines
5.6 KiB
Smali
186 lines
5.6 KiB
Smali
.class public synthetic Landroidx/work/impl/model/WorkTypeConverters$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WorkTypeConverters.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/work/impl/model/WorkTypeConverters;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1009
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $SwitchMap$androidx$work$BackoffPolicy:[I
|
|
|
|
.field public static final synthetic $SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
.field public static final synthetic $SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 9
|
|
|
|
invoke-static {}, Landroidx/work/NetworkType;->values()[Landroidx/work/NetworkType;
|
|
|
|
const/4 v0, 0x5
|
|
|
|
new-array v1, v0, [I
|
|
|
|
sput-object v1, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:try_start_0
|
|
sget-object v4, Landroidx/work/NetworkType;->NOT_REQUIRED:Landroidx/work/NetworkType;
|
|
|
|
aput v3, v1, v2
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
const/4 v1, 0x2
|
|
|
|
:try_start_1
|
|
sget-object v4, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
sget-object v5, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
|
|
|
aput v1, v4, v3
|
|
:try_end_1
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
:catch_1
|
|
const/4 v4, 0x3
|
|
|
|
:try_start_2
|
|
sget-object v5, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
sget-object v6, Landroidx/work/NetworkType;->UNMETERED:Landroidx/work/NetworkType;
|
|
|
|
aput v4, v5, v1
|
|
:try_end_2
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
:catch_2
|
|
const/4 v5, 0x4
|
|
|
|
:try_start_3
|
|
sget-object v6, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
sget-object v7, Landroidx/work/NetworkType;->NOT_ROAMING:Landroidx/work/NetworkType;
|
|
|
|
aput v5, v6, v4
|
|
:try_end_3
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
|
|
|
|
:catch_3
|
|
:try_start_4
|
|
sget-object v6, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$NetworkType:[I
|
|
|
|
sget-object v7, Landroidx/work/NetworkType;->METERED:Landroidx/work/NetworkType;
|
|
|
|
aput v0, v6, v5
|
|
:try_end_4
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
|
|
|
|
:catch_4
|
|
invoke-static {}, Landroidx/work/BackoffPolicy;->values()[Landroidx/work/BackoffPolicy;
|
|
|
|
new-array v6, v1, [I
|
|
|
|
sput-object v6, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$BackoffPolicy:[I
|
|
|
|
:try_start_5
|
|
sget-object v7, Landroidx/work/BackoffPolicy;->EXPONENTIAL:Landroidx/work/BackoffPolicy;
|
|
|
|
aput v3, v6, v2
|
|
:try_end_5
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5
|
|
|
|
:catch_5
|
|
:try_start_6
|
|
sget-object v6, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$BackoffPolicy:[I
|
|
|
|
sget-object v7, Landroidx/work/BackoffPolicy;->LINEAR:Landroidx/work/BackoffPolicy;
|
|
|
|
aput v1, v6, v3
|
|
:try_end_6
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6
|
|
|
|
:catch_6
|
|
invoke-static {}, Landroidx/work/WorkInfo$State;->values()[Landroidx/work/WorkInfo$State;
|
|
|
|
const/4 v6, 0x6
|
|
|
|
new-array v7, v6, [I
|
|
|
|
sput-object v7, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
:try_start_7
|
|
sget-object v8, Landroidx/work/WorkInfo$State;->ENQUEUED:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v3, v7, v2
|
|
:try_end_7
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_7 .. :try_end_7} :catch_7
|
|
|
|
:catch_7
|
|
:try_start_8
|
|
sget-object v2, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
sget-object v7, Landroidx/work/WorkInfo$State;->RUNNING:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v1, v2, v3
|
|
:try_end_8
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_8 .. :try_end_8} :catch_8
|
|
|
|
:catch_8
|
|
:try_start_9
|
|
sget-object v2, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
sget-object v3, Landroidx/work/WorkInfo$State;->SUCCEEDED:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v4, v2, v1
|
|
:try_end_9
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_9 .. :try_end_9} :catch_9
|
|
|
|
:catch_9
|
|
:try_start_a
|
|
sget-object v1, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
sget-object v2, Landroidx/work/WorkInfo$State;->FAILED:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v5, v1, v4
|
|
:try_end_a
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_a .. :try_end_a} :catch_a
|
|
|
|
:catch_a
|
|
:try_start_b
|
|
sget-object v1, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
sget-object v2, Landroidx/work/WorkInfo$State;->BLOCKED:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v0, v1, v5
|
|
:try_end_b
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_b .. :try_end_b} :catch_b
|
|
|
|
:catch_b
|
|
:try_start_c
|
|
sget-object v1, Landroidx/work/impl/model/WorkTypeConverters$1;->$SwitchMap$androidx$work$WorkInfo$State:[I
|
|
|
|
sget-object v2, Landroidx/work/WorkInfo$State;->CANCELLED:Landroidx/work/WorkInfo$State;
|
|
|
|
aput v6, v1, v0
|
|
:try_end_c
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_c .. :try_end_c} :catch_c
|
|
|
|
:catch_c
|
|
return-void
|
|
.end method
|