241 lines
8.8 KiB
Smali
241 lines
8.8 KiB
Smali
.class public final enum Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
.super Ljava/lang/Enum;
|
|
.source "NetworkMonitorAutoDetect.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lorg/webrtc/NetworkMonitorAutoDetect;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x4019
|
|
name = "ConnectionType"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $VALUES:[Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_2G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_3G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_4G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_BLUETOOTH:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_ETHERNET:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_NONE:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_UNKNOWN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_UNKNOWN_CELLULAR:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_VPN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
.field public static final enum CONNECTION_WIFI:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 12
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "CONNECTION_UNKNOWN"
|
|
|
|
invoke-direct {v0, v2, v1}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_UNKNOWN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "CONNECTION_ETHERNET"
|
|
|
|
invoke-direct {v0, v3, v2}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_ETHERNET:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const-string v4, "CONNECTION_WIFI"
|
|
|
|
invoke-direct {v0, v4, v3}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_WIFI:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const-string v5, "CONNECTION_4G"
|
|
|
|
invoke-direct {v0, v5, v4}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_4G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const-string v6, "CONNECTION_3G"
|
|
|
|
invoke-direct {v0, v6, v5}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_3G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v6, 0x5
|
|
|
|
const-string v7, "CONNECTION_2G"
|
|
|
|
invoke-direct {v0, v7, v6}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_2G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v7, 0x6
|
|
|
|
const-string v8, "CONNECTION_UNKNOWN_CELLULAR"
|
|
|
|
invoke-direct {v0, v8, v7}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_UNKNOWN_CELLULAR:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/4 v8, 0x7
|
|
|
|
const-string v9, "CONNECTION_BLUETOOTH"
|
|
|
|
invoke-direct {v0, v9, v8}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_BLUETOOTH:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/16 v9, 0x8
|
|
|
|
const-string v10, "CONNECTION_VPN"
|
|
|
|
invoke-direct {v0, v10, v9}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_VPN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
new-instance v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/16 v10, 0x9
|
|
|
|
const-string v11, "CONNECTION_NONE"
|
|
|
|
invoke-direct {v0, v11, v10}, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_NONE:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
const/16 v0, 0xa
|
|
|
|
new-array v0, v0, [Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
sget-object v11, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_UNKNOWN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v11, v0, v1
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_ETHERNET:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_WIFI:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_4G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_3G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_2G:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_UNKNOWN_CELLULAR:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v7
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_BLUETOOTH:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v8
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_VPN:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v9
|
|
|
|
sget-object v1, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->CONNECTION_NONE:Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
aput-object v1, v0, v10
|
|
|
|
sput-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->$VALUES:[Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
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;)Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
.locals 1
|
|
|
|
const-class v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
.locals 1
|
|
|
|
sget-object v0, Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->$VALUES:[Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
invoke-virtual {v0}, [Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lorg/webrtc/NetworkMonitorAutoDetect$ConnectionType;
|
|
|
|
return-object v0
|
|
.end method
|