apkfuckery/com.discord/smali_classes2/c0/g0/j/n$c.smali

176 lines
3.4 KiB
Smali
Raw Normal View History

2020-11-21 22:11:07 +00:00
.class public final Lc0/g0/j/n$c;
.super Ld0/b;
2020-11-12 02:11:44 +00:00
.source "Http2Stream.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-21 22:11:07 +00:00
value = Lc0/g0/j/n;
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "c"
.end annotation
# instance fields
2020-11-21 22:11:07 +00:00
.field public final synthetic l:Lc0/g0/j/n;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-21 22:11:07 +00:00
.method public constructor <init>(Lc0/g0/j/n;)V
2020-11-12 02:11:44 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
2020-11-21 22:11:07 +00:00
iput-object p1, p0, Lc0/g0/j/n$c;->l:Lc0/g0/j/n;
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
invoke-direct {p0}, Ld0/b;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
.method public k(Ljava/io/IOException;)Ljava/io/IOException;
.locals 2
new-instance v0, Ljava/net/SocketTimeoutException;
2020-11-25 00:20:22 +00:00
const-string/jumbo v1, "timeout"
2020-11-12 02:11:44 +00:00
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:cond_0
return-object v0
.end method
.method public l()V
.locals 10
2020-11-21 22:11:07 +00:00
iget-object v0, p0, Lc0/g0/j/n$c;->l:Lc0/g0/j/n;
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
sget-object v1, Lc0/g0/j/a;->i:Lc0/g0/j/a;
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
invoke-virtual {v0, v1}, Lc0/g0/j/n;->e(Lc0/g0/j/a;)V
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
iget-object v0, p0, Lc0/g0/j/n$c;->l:Lc0/g0/j/n;
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
iget-object v6, v0, Lc0/g0/j/n;->n:Lc0/g0/j/e;
2020-11-12 02:11:44 +00:00
monitor-enter v6
:try_start_0
2020-11-21 22:11:07 +00:00
iget-wide v0, v6, Lc0/g0/j/e;->s:J
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
iget-wide v2, v6, Lc0/g0/j/e;->r:J
2020-11-12 02:11:44 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
cmp-long v4, v0, v2
if-gez v4, :cond_0
monitor-exit v6
goto :goto_0
:cond_0
2020-11-21 22:11:07 +00:00
const-wide/16 v0, 0x1
2020-11-16 01:00:50 +00:00
2020-11-21 22:11:07 +00:00
add-long/2addr v2, v0
2020-11-21 21:10:53 +00:00
2020-11-21 22:11:07 +00:00
:try_start_1
iput-wide v2, v6, Lc0/g0/j/e;->r:J
2020-11-12 02:11:44 +00:00
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
const v2, 0x3b9aca00
int-to-long v2, v2
add-long/2addr v0, v2
2020-11-21 22:11:07 +00:00
iput-wide v0, v6, Lc0/g0/j/e;->u:J
2020-11-12 02:11:44 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v6
2020-11-21 22:11:07 +00:00
iget-object v0, v6, Lc0/g0/j/e;->l:Lc0/g0/f/c;
2020-11-12 02:11:44 +00:00
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-11-21 22:11:07 +00:00
iget-object v2, v6, Lc0/g0/j/e;->g:Ljava/lang/String;
2020-11-12 02:11:44 +00:00
const-string v3, " ping"
2020-11-21 22:11:07 +00:00
invoke-static {v1, v2, v3}, Lf/e/c/a/a;->y(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object v4
const-wide/16 v7, 0x0
const/4 v5, 0x1
2020-11-21 22:11:07 +00:00
new-instance v9, Lc0/g0/j/k;
2020-11-12 02:11:44 +00:00
move-object v1, v9
move-object v2, v4
move v3, v5
2020-11-21 22:11:07 +00:00
invoke-direct/range {v1 .. v6}, Lc0/g0/j/k;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLc0/g0/j/e;)V
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
invoke-virtual {v0, v9, v7, v8}, Lc0/g0/f/c;->c(Lc0/g0/f/a;J)V
2020-11-12 02:11:44 +00:00
:goto_0
return-void
:catchall_0
move-exception v0
monitor-exit v6
throw v0
.end method
.method public final m()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2020-11-21 22:11:07 +00:00
invoke-virtual {p0}, Ld0/b;->j()Z
2020-11-12 02:11:44 +00:00
move-result v0
if-eqz v0, :cond_0
new-instance v0, Ljava/net/SocketTimeoutException;
2020-11-25 00:20:22 +00:00
const-string/jumbo v1, "timeout"
2020-11-12 02:11:44 +00:00
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
throw v0
:cond_0
return-void
.end method