333 lines
11 KiB
Smali
333 lines
11 KiB
Smali
.class public final Lco/discord/media_engine/internal/NativeStats;
|
|
.super Ljava/lang/Object;
|
|
.source "NativeStatistics.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
.field public final outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
.field public final screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
.field public final transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lco/discord/media_engine/internal/Transport;Lco/discord/media_engine/internal/Outbound;Lco/discord/media_engine/internal/Screenshare;[Lco/discord/media_engine/internal/Inbound;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
iput-object p2, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
iput-object p3, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
iput-object p4, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lco/discord/media_engine/internal/NativeStats;Lco/discord/media_engine/internal/Transport;Lco/discord/media_engine/internal/Outbound;Lco/discord/media_engine/internal/Screenshare;[Lco/discord/media_engine/internal/Inbound;ILjava/lang/Object;)Lco/discord/media_engine/internal/NativeStats;
|
|
.locals 0
|
|
|
|
and-int/lit8 p6, p5, 0x1
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
iget-object p1, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
:cond_0
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
iget-object p2, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
:cond_1
|
|
and-int/lit8 p6, p5, 0x4
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
iget-object p3, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
:cond_2
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_3
|
|
|
|
iget-object p4, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
:cond_3
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lco/discord/media_engine/internal/NativeStats;->copy(Lco/discord/media_engine/internal/Transport;Lco/discord/media_engine/internal/Outbound;Lco/discord/media_engine/internal/Screenshare;[Lco/discord/media_engine/internal/Inbound;)Lco/discord/media_engine/internal/NativeStats;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lco/discord/media_engine/internal/Transport;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Lco/discord/media_engine/internal/Outbound;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Lco/discord/media_engine/internal/Screenshare;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()[Lco/discord/media_engine/internal/Inbound;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lco/discord/media_engine/internal/Transport;Lco/discord/media_engine/internal/Outbound;Lco/discord/media_engine/internal/Screenshare;[Lco/discord/media_engine/internal/Inbound;)Lco/discord/media_engine/internal/NativeStats;
|
|
.locals 1
|
|
|
|
new-instance v0, Lco/discord/media_engine/internal/NativeStats;
|
|
|
|
invoke-direct {v0, p1, p2, p3, p4}, Lco/discord/media_engine/internal/NativeStats;-><init>(Lco/discord/media_engine/internal/Transport;Lco/discord/media_engine/internal/Outbound;Lco/discord/media_engine/internal/Screenshare;[Lco/discord/media_engine/internal/Inbound;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lco/discord/media_engine/internal/NativeStats;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lco/discord/media_engine/internal/NativeStats;
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
iget-object p1, p1, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
invoke-static {v0, p1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getInbound()[Lco/discord/media_engine/internal/Inbound;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getOutbound()Lco/discord/media_engine/internal/Outbound;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getScreenshare()Lco/discord/media_engine/internal/Screenshare;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTransport()Lco/discord/media_engine/internal/Transport;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lco/discord/media_engine/internal/Transport;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/internal/Outbound;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/internal/Screenshare;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-static {v2}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
:cond_3
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "NativeStats(transport="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/internal/NativeStats;->transport:Lco/discord/media_engine/internal/Transport;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", outbound="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/internal/NativeStats;->outbound:Lco/discord/media_engine/internal/Outbound;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", screenshare="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/internal/NativeStats;->screenshare:Lco/discord/media_engine/internal/Screenshare;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", inbound="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/internal/NativeStats;->inbound:[Lco/discord/media_engine/internal/Inbound;
|
|
|
|
invoke-static {v1}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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
|