2020-05-17 12:40:10 +00:00
|
|
|
.class public final enum Landroidx/work/NetworkType;
|
|
|
|
.super Ljava/lang/Enum;
|
|
|
|
.source "NetworkType.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Enum<",
|
|
|
|
"Landroidx/work/NetworkType;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final synthetic $VALUES:[Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
.field public static final enum CONNECTED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
.field public static final enum METERED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
.field public static final enum NOT_REQUIRED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
.field public static final enum NOT_ROAMING:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
.field public static final enum UNMETERED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v0, Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "NOT_REQUIRED"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v2, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v2}, Landroidx/work/NetworkType;-><init>(Ljava/lang/String;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sput-object v0, Landroidx/work/NetworkType;->NOT_REQUIRED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "CONNECTED"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v3, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v3}, Landroidx/work/NetworkType;-><init>(Ljava/lang/String;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sput-object v0, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "UNMETERED"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v4, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v4}, Landroidx/work/NetworkType;-><init>(Ljava/lang/String;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sput-object v0, Landroidx/work/NetworkType;->UNMETERED:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "NOT_ROAMING"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v5, 0x3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v5}, Landroidx/work/NetworkType;-><init>(Ljava/lang/String;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sput-object v0, Landroidx/work/NetworkType;->NOT_ROAMING:Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
new-instance v0, Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "METERED"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v6, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v6}, Landroidx/work/NetworkType;-><init>(Ljava/lang/String;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sput-object v0, Landroidx/work/NetworkType;->METERED:Landroidx/work/NetworkType;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v1, 0x5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-array v1, v1, [Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v7, Landroidx/work/NetworkType;->NOT_REQUIRED:Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
aput-object v7, v1, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v2, Landroidx/work/NetworkType;->CONNECTED:Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
aput-object v2, v1, v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v2, Landroidx/work/NetworkType;->UNMETERED:Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
aput-object v2, v1, v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v2, Landroidx/work/NetworkType;->NOT_ROAMING:Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
aput-object v2, v1, v5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
aput-object v0, v1, v6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sput-object v1, Landroidx/work/NetworkType;->$VALUES:[Landroidx/work/NetworkType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Ljava/lang/String;I)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Landroidx/work/NetworkType;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-class v0, Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
check-cast p0, Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static values()[Landroidx/work/NetworkType;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object v0, Landroidx/work/NetworkType;->$VALUES:[Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, [Landroidx/work/NetworkType;->clone()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, [Landroidx/work/NetworkType;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|