318 lines
8.5 KiB
Smali
318 lines
8.5 KiB
Smali
.class public final enum Lorg/webrtc/VideoCodecStatus;
|
|
.super Ljava/lang/Enum;
|
|
.source "VideoCodecStatus.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lorg/webrtc/VideoCodecStatus;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum ERROR:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum ERR_PARAMETER:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum ERR_REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum ERR_SIZE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum FALLBACK_SOFTWARE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum LEVEL_EXCEEDED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum MEMORY:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum NO_OUTPUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum OK:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum TARGET_BITRATE_OVERSHOOT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum TIMEOUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
.field public static final enum UNINITIALIZED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
|
|
# instance fields
|
|
.field private final number:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 16
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "REQUEST_SLI"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v0, v1, v3, v2}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "NO_OUTPUT"
|
|
|
|
const/4 v4, 0x1
|
|
|
|
invoke-direct {v0, v1, v4, v4}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->NO_OUTPUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "OK"
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->OK:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "ERROR"
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, -0x1
|
|
|
|
invoke-direct {v0, v1, v5, v6}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->ERROR:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "LEVEL_EXCEEDED"
|
|
|
|
const/4 v6, 0x4
|
|
|
|
const/4 v7, -0x2
|
|
|
|
invoke-direct {v0, v1, v6, v7}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->LEVEL_EXCEEDED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "MEMORY"
|
|
|
|
const/4 v7, 0x5
|
|
|
|
const/4 v8, -0x3
|
|
|
|
invoke-direct {v0, v1, v7, v8}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->MEMORY:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "ERR_PARAMETER"
|
|
|
|
const/4 v8, 0x6
|
|
|
|
const/4 v9, -0x4
|
|
|
|
invoke-direct {v0, v1, v8, v9}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->ERR_PARAMETER:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "ERR_SIZE"
|
|
|
|
const/4 v9, 0x7
|
|
|
|
const/4 v10, -0x5
|
|
|
|
invoke-direct {v0, v1, v9, v10}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->ERR_SIZE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "TIMEOUT"
|
|
|
|
const/16 v10, 0x8
|
|
|
|
const/4 v11, -0x6
|
|
|
|
invoke-direct {v0, v1, v10, v11}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->TIMEOUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "UNINITIALIZED"
|
|
|
|
const/16 v11, 0x9
|
|
|
|
const/4 v12, -0x7
|
|
|
|
invoke-direct {v0, v1, v11, v12}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->UNINITIALIZED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "ERR_REQUEST_SLI"
|
|
|
|
const/16 v12, 0xa
|
|
|
|
const/16 v13, -0xc
|
|
|
|
invoke-direct {v0, v1, v12, v13}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->ERR_REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "FALLBACK_SOFTWARE"
|
|
|
|
const/16 v13, 0xb
|
|
|
|
const/16 v14, -0xd
|
|
|
|
invoke-direct {v0, v1, v13, v14}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->FALLBACK_SOFTWARE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
new-instance v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const-string v1, "TARGET_BITRATE_OVERSHOOT"
|
|
|
|
const/16 v14, 0xc
|
|
|
|
const/16 v15, -0xe
|
|
|
|
invoke-direct {v0, v1, v14, v15}, Lorg/webrtc/VideoCodecStatus;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->TARGET_BITRATE_OVERSHOOT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
const/16 v0, 0xd
|
|
|
|
new-array v0, v0, [Lorg/webrtc/VideoCodecStatus;
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->NO_OUTPUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->OK:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->ERROR:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->LEVEL_EXCEEDED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->MEMORY:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v7
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->ERR_PARAMETER:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v8
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->ERR_SIZE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v9
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->TIMEOUT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v10
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->UNINITIALIZED:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v11
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->ERR_REQUEST_SLI:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v12
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->FALLBACK_SOFTWARE:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v13
|
|
|
|
sget-object v1, Lorg/webrtc/VideoCodecStatus;->TARGET_BITRATE_OVERSHOOT:Lorg/webrtc/VideoCodecStatus;
|
|
|
|
aput-object v1, v0, v14
|
|
|
|
sput-object v0, Lorg/webrtc/VideoCodecStatus;->$VALUES:[Lorg/webrtc/VideoCodecStatus;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput p3, p0, Lorg/webrtc/VideoCodecStatus;->number:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lorg/webrtc/VideoCodecStatus;
|
|
.locals 1
|
|
|
|
const-class v0, Lorg/webrtc/VideoCodecStatus;
|
|
|
|
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/VideoCodecStatus;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lorg/webrtc/VideoCodecStatus;
|
|
.locals 1
|
|
|
|
sget-object v0, Lorg/webrtc/VideoCodecStatus;->$VALUES:[Lorg/webrtc/VideoCodecStatus;
|
|
|
|
invoke-virtual {v0}, [Lorg/webrtc/VideoCodecStatus;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lorg/webrtc/VideoCodecStatus;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getNumber()I
|
|
.locals 1
|
|
.annotation build Lorg/webrtc/CalledByNative;
|
|
.end annotation
|
|
|
|
iget v0, p0, Lorg/webrtc/VideoCodecStatus;->number:I
|
|
|
|
return v0
|
|
.end method
|