Files
vtosters/smali/smali_classes5/okhttp3/Cache$b$a.smali
T

112 lines
2.3 KiB
Smali

.class Lokhttp3/Cache$b$a;
.super Lokio/ForwardingSink;
.source "Cache.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/Cache$b;-><init>(Lokhttp3/Cache;Lokhttp3/f0/e/DiskLruCache$c;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic b:Lokhttp3/f0/e/DiskLruCache$c;
.field final synthetic c:Lokhttp3/Cache$b;
# direct methods
.method constructor <init>(Lokhttp3/Cache$b;Lokio/Sink;Lokhttp3/Cache;Lokhttp3/f0/e/DiskLruCache$c;)V
.locals 0
.line 1
iput-object p1, p0, Lokhttp3/Cache$b$a;->c:Lokhttp3/Cache$b;
iput-object p4, p0, Lokhttp3/Cache$b$a;->b:Lokhttp3/f0/e/DiskLruCache$c;
invoke-direct {p0, p2}, Lokio/ForwardingSink;-><init>(Lokio/Sink;)V
return-void
.end method
# virtual methods
.method public close()V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/Cache$b$a;->c:Lokhttp3/Cache$b;
iget-object v0, v0, Lokhttp3/Cache$b;->e:Lokhttp3/Cache;
monitor-enter v0
.line 2
:try_start_0
iget-object v1, p0, Lokhttp3/Cache$b$a;->c:Lokhttp3/Cache$b;
iget-boolean v1, v1, Lokhttp3/Cache$b;->d:Z
if-eqz v1, :cond_0
.line 3
monitor-exit v0
return-void
.line 4
:cond_0
iget-object v1, p0, Lokhttp3/Cache$b$a;->c:Lokhttp3/Cache$b;
const/4 v2, 0x1
iput-boolean v2, v1, Lokhttp3/Cache$b;->d:Z
.line 5
iget-object v1, p0, Lokhttp3/Cache$b$a;->c:Lokhttp3/Cache$b;
iget-object v1, v1, Lokhttp3/Cache$b;->e:Lokhttp3/Cache;
iget v3, v1, Lokhttp3/Cache;->c:I
add-int/2addr v3, v2
iput v3, v1, Lokhttp3/Cache;->c:I
.line 6
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
invoke-super {p0}, Lokio/ForwardingSink;->close()V
.line 8
iget-object v0, p0, Lokhttp3/Cache$b$a;->b:Lokhttp3/f0/e/DiskLruCache$c;
invoke-virtual {v0}, Lokhttp3/f0/e/DiskLruCache$c;->b()V
return-void
:catchall_0
move-exception v1
.line 9
:try_start_1
monitor-exit v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v1
.end method