apkfuckery/com.discord/smali_classes2/okhttp3/d$d.smali

145 lines
2.9 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class final Lokhttp3/d$d;
.super Ljava/lang/Object;
.source "Cache.kt"
# interfaces
.implements Lokhttp3/internal/a/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x10
name = "d"
.end annotation
# instance fields
2019-12-03 21:42:56 +00:00
.field private final bod:Lokio/v;
2019-11-28 00:30:53 +00:00
2019-12-03 21:42:56 +00:00
.field private final boe:Lokio/v;
2019-11-28 00:30:53 +00:00
2019-12-03 21:42:56 +00:00
.field final bof:Lokhttp3/internal/a/d$b;
2019-11-28 00:30:53 +00:00
2019-12-03 21:42:56 +00:00
.field final synthetic bog:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
.field done:Z
# direct methods
.method public constructor <init>(Lokhttp3/d;Lokhttp3/internal/a/d$b;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/internal/a/d$b;",
")V"
}
.end annotation
const-string v0, "editor"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-03 21:42:56 +00:00
iput-object p1, p0, Lokhttp3/d$d;->bog:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-03 21:42:56 +00:00
iput-object p2, p0, Lokhttp3/d$d;->bof:Lokhttp3/internal/a/d$b;
2019-11-28 00:30:53 +00:00
2019-12-03 21:42:56 +00:00
iget-object p1, p0, Lokhttp3/d$d;->bof:Lokhttp3/internal/a/d$b;
2019-11-28 00:30:53 +00:00
const/4 p2, 0x1
invoke-virtual {p1, p2}, Lokhttp3/internal/a/d$b;->dj(I)Lokio/v;
move-result-object p1
2019-12-03 21:42:56 +00:00
iput-object p1, p0, Lokhttp3/d$d;->bod:Lokio/v;
2019-11-28 00:30:53 +00:00
new-instance p1, Lokhttp3/d$d$1;
2019-12-03 21:42:56 +00:00
iget-object p2, p0, Lokhttp3/d$d;->bod:Lokio/v;
2019-11-28 00:30:53 +00:00
invoke-direct {p1, p0, p2}, Lokhttp3/d$d$1;-><init>(Lokhttp3/d$d;Lokio/v;)V
check-cast p1, Lokio/v;
2019-12-03 21:42:56 +00:00
iput-object p1, p0, Lokhttp3/d$d;->boe:Lokio/v;
2019-11-28 00:30:53 +00:00
return-void
.end method
# virtual methods
2019-12-03 21:42:56 +00:00
.method public final Fj()Lokio/v;
2019-11-28 00:30:53 +00:00
.locals 1
2019-12-03 21:42:56 +00:00
iget-object v0, p0, Lokhttp3/d$d;->boe:Lokio/v;
2019-11-28 00:30:53 +00:00
return-object v0
.end method
.method public final abort()V
.locals 4
2019-12-03 21:42:56 +00:00
iget-object v0, p0, Lokhttp3/d$d;->bog:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
monitor-enter v0
:try_start_0
iget-boolean v1, p0, Lokhttp3/d$d;->done:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v1, :cond_0
monitor-exit v0
return-void
:cond_0
const/4 v1, 0x1
:try_start_1
iput-boolean v1, p0, Lokhttp3/d$d;->done:Z
2019-12-03 21:42:56 +00:00
iget-object v2, p0, Lokhttp3/d$d;->bog:Lokhttp3/d;
2019-11-28 00:30:53 +00:00
2019-12-03 21:42:56 +00:00
iget v3, v2, Lokhttp3/d;->bnK:I
2019-11-28 00:30:53 +00:00
add-int/2addr v3, v1
2019-12-03 21:42:56 +00:00
iput v3, v2, Lokhttp3/d;->bnK:I
2019-11-28 00:30:53 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v0
2019-12-03 21:42:56 +00:00
iget-object v0, p0, Lokhttp3/d$d;->bod:Lokio/v;
2019-11-28 00:30:53 +00:00
check-cast v0, Ljava/io/Closeable;
invoke-static {v0}, Lokhttp3/internal/b;->closeQuietly(Ljava/io/Closeable;)V
:try_start_2
2019-12-03 21:42:56 +00:00
iget-object v0, p0, Lokhttp3/d$d;->bof:Lokhttp3/internal/a/d$b;
2019-11-28 00:30:53 +00:00
invoke-virtual {v0}, Lokhttp3/internal/a/d$b;->abort()V
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
:catch_0
return-void
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method