144 lines
2.9 KiB
Smali
144 lines
2.9 KiB
Smali
.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
|
|
.field private final bnW:Lokio/v;
|
|
|
|
.field private final bnX:Lokio/v;
|
|
|
|
.field final bnY:Lokhttp3/internal/a/d$b;
|
|
|
|
.field final synthetic bnZ:Lokhttp3/d;
|
|
|
|
.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
|
|
|
|
iput-object p1, p0, Lokhttp3/d$d;->bnZ:Lokhttp3/d;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p2, p0, Lokhttp3/d$d;->bnY:Lokhttp3/internal/a/d$b;
|
|
|
|
iget-object p1, p0, Lokhttp3/d$d;->bnY:Lokhttp3/internal/a/d$b;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/internal/a/d$b;->dj(I)Lokio/v;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lokhttp3/d$d;->bnW:Lokio/v;
|
|
|
|
new-instance p1, Lokhttp3/d$d$1;
|
|
|
|
iget-object p2, p0, Lokhttp3/d$d;->bnW:Lokio/v;
|
|
|
|
invoke-direct {p1, p0, p2}, Lokhttp3/d$d$1;-><init>(Lokhttp3/d$d;Lokio/v;)V
|
|
|
|
check-cast p1, Lokio/v;
|
|
|
|
iput-object p1, p0, Lokhttp3/d$d;->bnX:Lokio/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final Fi()Lokio/v;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/d$d;->bnX:Lokio/v;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final abort()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lokhttp3/d$d;->bnZ:Lokhttp3/d;
|
|
|
|
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
|
|
|
|
iget-object v2, p0, Lokhttp3/d$d;->bnZ:Lokhttp3/d;
|
|
|
|
iget v3, v2, Lokhttp3/d;->bnD:I
|
|
|
|
add-int/2addr v3, v1
|
|
|
|
iput v3, v2, Lokhttp3/d;->bnD:I
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
iget-object v0, p0, Lokhttp3/d$d;->bnW:Lokio/v;
|
|
|
|
check-cast v0, Ljava/io/Closeable;
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/b;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
:try_start_2
|
|
iget-object v0, p0, Lokhttp3/d$d;->bnY:Lokhttp3/internal/a/d$b;
|
|
|
|
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
|