576 lines
14 KiB
Smali
576 lines
14 KiB
Smali
.class public final Lco/discord/media_engine/internal/PacketStats;
|
|
.super Ljava/lang/Object;
|
|
.source "NativeStatistics.kt"
|
|
|
|
|
|
# instance fields
|
|
.field private headerBytes:I
|
|
|
|
.field private packets:I
|
|
|
|
.field private paddingBytes:I
|
|
|
|
.field private payloadBytes:I
|
|
|
|
|
|
# direct methods
|
|
.method public synthetic constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(IIII)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
iput p2, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
iput p3, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
iput p4, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lco/discord/media_engine/internal/PacketStats;IIIIILjava/lang/Object;)Lco/discord/media_engine/internal/PacketStats;
|
|
.locals 0
|
|
|
|
and-int/lit8 p6, p5, 0x1
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
iget p1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
:cond_0
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
iget p2, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
:cond_1
|
|
and-int/lit8 p6, p5, 0x4
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
iget p3, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
:cond_2
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_3
|
|
|
|
iget p4, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lco/discord/media_engine/internal/PacketStats;->copy(IIII)Lco/discord/media_engine/internal/PacketStats;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component2()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component3()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component4()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final copy(IIII)Lco/discord/media_engine/internal/PacketStats;
|
|
.locals 1
|
|
|
|
new-instance v0, Lco/discord/media_engine/internal/PacketStats;
|
|
|
|
invoke-direct {v0, p1, p2, p3, p4}, Lco/discord/media_engine/internal/PacketStats;-><init>(IIII)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_5
|
|
|
|
instance-of v1, p1, Lco/discord/media_engine/internal/PacketStats;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
check-cast p1, Lco/discord/media_engine/internal/PacketStats;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
if-ne v1, v3, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v1, :cond_4
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
if-ne v1, v3, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_2
|
|
if-eqz v1, :cond_4
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
iget p1, p1, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
if-ne v1, p1, :cond_3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 p1, 0x0
|
|
|
|
:goto_3
|
|
if-eqz p1, :cond_4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
return v2
|
|
|
|
:cond_5
|
|
:goto_4
|
|
return v0
|
|
.end method
|
|
|
|
.method public final synthetic fromJson$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonReader;Lproguard/optimize/gson/_OptimizedJsonReader;)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->beginObject()V
|
|
|
|
:goto_0
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p3, p2}, Lproguard/optimize/gson/_OptimizedJsonReader;->l(Lcom/google/gson/stream/JsonReader;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, p1, p2, v0}, Lco/discord/media_engine/internal/PacketStats;->fromJsonField$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonReader;I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->endObject()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected final synthetic fromJsonField$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonReader;I)V
|
|
.locals 1
|
|
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
const/4 v0, 0x6
|
|
|
|
if-eq p3, v0, :cond_7
|
|
|
|
const/16 v0, 0x12
|
|
|
|
if-eq p3, v0, :cond_5
|
|
|
|
const/16 v0, 0x19
|
|
|
|
if-eq p3, v0, :cond_3
|
|
|
|
const/16 v0, 0x37
|
|
|
|
if-eq p3, v0, :cond_1
|
|
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->skipValue()V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
if-eqz p1, :cond_2
|
|
|
|
:try_start_0
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextInt()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Lcom/google/gson/p;
|
|
|
|
invoke-direct {p2, p1}, Lcom/google/gson/p;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:cond_2
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextNull()V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
if-eqz p1, :cond_4
|
|
|
|
:try_start_1
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextInt()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
:try_end_1
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p1
|
|
|
|
new-instance p2, Lcom/google/gson/p;
|
|
|
|
invoke-direct {p2, p1}, Lcom/google/gson/p;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:cond_4
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextNull()V
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
if-eqz p1, :cond_6
|
|
|
|
:try_start_2
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextInt()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
:try_end_2
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
return-void
|
|
|
|
:catch_2
|
|
move-exception p1
|
|
|
|
new-instance p2, Lcom/google/gson/p;
|
|
|
|
invoke-direct {p2, p1}, Lcom/google/gson/p;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:cond_6
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextNull()V
|
|
|
|
return-void
|
|
|
|
:cond_7
|
|
if-eqz p1, :cond_8
|
|
|
|
:try_start_3
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextInt()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
:try_end_3
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_3 .. :try_end_3} :catch_3
|
|
|
|
return-void
|
|
|
|
:catch_3
|
|
move-exception p1
|
|
|
|
new-instance p2, Lcom/google/gson/p;
|
|
|
|
invoke-direct {p2, p1}, Lcom/google/gson/p;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:cond_8
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonReader;->nextNull()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final getHeaderBytes()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPackets()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPaddingBytes()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPayloadBytes()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
invoke-static {v0}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
|
|
|
|
move-result v0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Integer$hashCode$II;->hashCode(I)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final synthetic toJson$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonWriter;Lproguard/optimize/gson/_OptimizedJsonWriter;)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonWriter;->beginObject()Lcom/google/gson/stream/JsonWriter;
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lco/discord/media_engine/internal/PacketStats;->toJsonBody$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonWriter;Lproguard/optimize/gson/_OptimizedJsonWriter;)V
|
|
|
|
invoke-virtual {p2}, Lcom/google/gson/stream/JsonWriter;->endObject()Lcom/google/gson/stream/JsonWriter;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected final synthetic toJsonBody$11(Lcom/google/gson/Gson;Lcom/google/gson/stream/JsonWriter;Lproguard/optimize/gson/_OptimizedJsonWriter;)V
|
|
.locals 0
|
|
|
|
const/16 p1, 0x12
|
|
|
|
invoke-interface {p3, p2, p1}, Lproguard/optimize/gson/_OptimizedJsonWriter;->a(Lcom/google/gson/stream/JsonWriter;I)V
|
|
|
|
iget p1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
|
|
|
|
const/4 p1, 0x6
|
|
|
|
invoke-interface {p3, p2, p1}, Lproguard/optimize/gson/_OptimizedJsonWriter;->a(Lcom/google/gson/stream/JsonWriter;I)V
|
|
|
|
iget p1, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
|
|
|
|
const/16 p1, 0x37
|
|
|
|
invoke-interface {p3, p2, p1}, Lproguard/optimize/gson/_OptimizedJsonWriter;->a(Lcom/google/gson/stream/JsonWriter;I)V
|
|
|
|
iget p1, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
|
|
|
|
const/16 p1, 0x19
|
|
|
|
invoke-interface {p3, p2, p1}, Lproguard/optimize/gson/_OptimizedJsonWriter;->a(Lcom/google/gson/stream/JsonWriter;I)V
|
|
|
|
iget p1, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Lcom/google/gson/stream/JsonWriter;->value(Ljava/lang/Number;)Lcom/google/gson/stream/JsonWriter;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "PacketStats(headerBytes="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->headerBytes:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", packets="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->packets:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", paddingBytes="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->paddingBytes:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", payloadBytes="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/internal/PacketStats;->payloadBytes:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|