.class public final enum Lcom/alipay/sdk/util/NetConnectionType;
.super Ljava/lang/Enum;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lcom/alipay/sdk/util/NetConnectionType;",
        ">;"
    }
.end annotation


# static fields
.field private static final synthetic $VALUES:[Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_1:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_10:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_11:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_12:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_13:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_15:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_2:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_3:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_4:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_5:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_6:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_8:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NETWORK_TYPE_9:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum NONE:Lcom/alipay/sdk/util/NetConnectionType;

.field public static final enum WIFI:Lcom/alipay/sdk/util/NetConnectionType;


# instance fields
.field private code:I

.field private name:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 16

    .line 16
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "WIFI"

    const-string v2, "WIFI"

    const/4 v3, 0x0

    invoke-direct {v0, v1, v3, v3, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->WIFI:Lcom/alipay/sdk/util/NetConnectionType;

    .line 18
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_1"

    const-string v2, "unicom2G"

    const/4 v4, 0x1

    invoke-direct {v0, v1, v4, v4, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_1:Lcom/alipay/sdk/util/NetConnectionType;

    .line 20
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_2"

    const-string v2, "mobile2G"

    const/4 v5, 0x2

    invoke-direct {v0, v1, v5, v5, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_2:Lcom/alipay/sdk/util/NetConnectionType;

    .line 22
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_4"

    const-string v2, "telecom2G"

    const/4 v6, 0x4

    const/4 v7, 0x3

    invoke-direct {v0, v1, v7, v6, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_4:Lcom/alipay/sdk/util/NetConnectionType;

    .line 24
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_5"

    const-string v2, "telecom3G"

    const/4 v8, 0x5

    invoke-direct {v0, v1, v6, v8, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_5:Lcom/alipay/sdk/util/NetConnectionType;

    .line 26
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_6"

    const-string v2, "telecom3G"

    const/4 v9, 0x6

    invoke-direct {v0, v1, v8, v9, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_6:Lcom/alipay/sdk/util/NetConnectionType;

    .line 28
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_12"

    const-string v2, "telecom3G"

    const/16 v10, 0xc

    invoke-direct {v0, v1, v9, v10, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_12:Lcom/alipay/sdk/util/NetConnectionType;

    .line 30
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_8"

    const-string v2, "unicom3G"

    const/4 v11, 0x7

    const/16 v12, 0x8

    invoke-direct {v0, v1, v11, v12, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_8:Lcom/alipay/sdk/util/NetConnectionType;

    .line 32
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_3"

    const-string v2, "unicom3G"

    invoke-direct {v0, v1, v12, v7, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_3:Lcom/alipay/sdk/util/NetConnectionType;

    .line 34
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_13"

    const-string v2, "LTE"

    const/16 v13, 0xd

    const/16 v14, 0x9

    invoke-direct {v0, v1, v14, v13, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_13:Lcom/alipay/sdk/util/NetConnectionType;

    .line 36
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_11"

    const-string v2, "IDEN"

    const/16 v15, 0xb

    const/16 v12, 0xa

    invoke-direct {v0, v1, v12, v15, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_11:Lcom/alipay/sdk/util/NetConnectionType;

    .line 38
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_9"

    const-string v2, "HSUPA"

    invoke-direct {v0, v1, v15, v14, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_9:Lcom/alipay/sdk/util/NetConnectionType;

    .line 40
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_10"

    const-string v2, "HSPA"

    invoke-direct {v0, v1, v10, v12, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_10:Lcom/alipay/sdk/util/NetConnectionType;

    .line 42
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NETWORK_TYPE_15"

    const-string v2, "HSPAP"

    const/16 v10, 0xf

    invoke-direct {v0, v1, v13, v10, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_15:Lcom/alipay/sdk/util/NetConnectionType;

    .line 44
    new-instance v0, Lcom/alipay/sdk/util/NetConnectionType;

    const-string v1, "NONE"

    const-string v2, "none"

    const/16 v13, 0xe

    const/4 v15, -0x1

    invoke-direct {v0, v1, v13, v15, v2}, Lcom/alipay/sdk/util/NetConnectionType;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->NONE:Lcom/alipay/sdk/util/NetConnectionType;

    .line 14
    new-array v0, v10, [Lcom/alipay/sdk/util/NetConnectionType;

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->WIFI:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v3

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_1:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v4

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_2:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v5

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_4:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v7

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_5:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v6

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_6:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v8

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_12:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v9

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_8:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v11

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_3:Lcom/alipay/sdk/util/NetConnectionType;

    const/16 v2, 0x8

    aput-object v1, v0, v2

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_13:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v14

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_11:Lcom/alipay/sdk/util/NetConnectionType;

    aput-object v1, v0, v12

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_9:Lcom/alipay/sdk/util/NetConnectionType;

    const/16 v2, 0xb

    aput-object v1, v0, v2

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_10:Lcom/alipay/sdk/util/NetConnectionType;

    const/16 v2, 0xc

    aput-object v1, v0, v2

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NETWORK_TYPE_15:Lcom/alipay/sdk/util/NetConnectionType;

    const/16 v2, 0xd

    aput-object v1, v0, v2

    sget-object v1, Lcom/alipay/sdk/util/NetConnectionType;->NONE:Lcom/alipay/sdk/util/NetConnectionType;

    const/16 v2, 0xe

    aput-object v1, v0, v2

    sput-object v0, Lcom/alipay/sdk/util/NetConnectionType;->$VALUES:[Lcom/alipay/sdk/util/NetConnectionType;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;IILjava/lang/String;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .line 50
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    .line 51
    iput p3, p0, Lcom/alipay/sdk/util/NetConnectionType;->code:I

    .line 52
    iput-object p4, p0, Lcom/alipay/sdk/util/NetConnectionType;->name:Ljava/lang/String;

    return-void
.end method

.method public static getTypeByCode(I)Lcom/alipay/sdk/util/NetConnectionType;
    .locals 5

    .line 64
    invoke-static {}, Lcom/alipay/sdk/util/NetConnectionType;->values()[Lcom/alipay/sdk/util/NetConnectionType;

    move-result-object v0

    .line 65
    array-length v1, v0

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_1

    aget-object v3, v0, v2

    .line 66
    invoke-virtual {v3}, Lcom/alipay/sdk/util/NetConnectionType;->getCode()I

    move-result v4

    if-ne v4, p0, :cond_0

    return-object v3

    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 70
    :cond_1
    sget-object p0, Lcom/alipay/sdk/util/NetConnectionType;->NONE:Lcom/alipay/sdk/util/NetConnectionType;

    return-object p0
.end method

.method public static valueOf(Ljava/lang/String;)Lcom/alipay/sdk/util/NetConnectionType;
    .locals 1

    .line 14
    const-class v0, Lcom/alipay/sdk/util/NetConnectionType;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lcom/alipay/sdk/util/NetConnectionType;

    return-object p0
.end method

.method public static values()[Lcom/alipay/sdk/util/NetConnectionType;
    .locals 1

    .line 14
    sget-object v0, Lcom/alipay/sdk/util/NetConnectionType;->$VALUES:[Lcom/alipay/sdk/util/NetConnectionType;

    invoke-virtual {v0}, [Lcom/alipay/sdk/util/NetConnectionType;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lcom/alipay/sdk/util/NetConnectionType;

    return-object v0
.end method


# virtual methods
.method public final getCode()I
    .locals 1

    .line 56
    iget v0, p0, Lcom/alipay/sdk/util/NetConnectionType;->code:I

    return v0
.end method

.method public final getName()Ljava/lang/String;
    .locals 1

    .line 60
    iget-object v0, p0, Lcom/alipay/sdk/util/NetConnectionType;->name:Ljava/lang/String;

    return-object v0
.end method
