mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
214 lines
5.7 KiB
Smali
214 lines
5.7 KiB
Smali
.class final Lokhttp3/Cache$RealCacheRequest;
|
|
.super Ljava/lang/Object;
|
|
.source "Cache.kt"
|
|
|
|
# interfaces
|
|
.implements Lokhttp3/internal/cache/CacheRequest;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/Cache;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x12
|
|
name = "RealCacheRequest"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0000\u0008\u0082\u0004\u0018\u00002\u00020\u0001B\u0011\u0012\n\u0010\u0002\u001a\u00060\u0003R\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0008\u0010\u0006\u001a\u00020\u0007H\u0016R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0008\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u00020\nX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u000b\u0010\u000c\"\u0004\u0008\r\u0010\u000eR\u0012\u0010\u0002\u001a\u00060\u0003R\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/Cache$RealCacheRequest;",
|
|
"Lokhttp3/internal/cache/CacheRequest;",
|
|
"editor",
|
|
"Lokhttp3/internal/cache/DiskLruCache$Editor;",
|
|
"Lokhttp3/internal/cache/DiskLruCache;",
|
|
"(Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V",
|
|
"body",
|
|
"Lokio/Sink;",
|
|
"cacheOut",
|
|
"done",
|
|
"",
|
|
"getDone",
|
|
"()Z",
|
|
"setDone",
|
|
"(Z)V",
|
|
"abort",
|
|
"",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final body:Lokio/Sink;
|
|
|
|
.field private final cacheOut:Lokio/Sink;
|
|
|
|
.field private done:Z
|
|
|
|
.field private final editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
|
|
|
|
.field final synthetic this$0:Lokhttp3/Cache;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lokhttp3/internal/cache/DiskLruCache$Editor;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "editor"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p1, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache;
|
|
|
|
.line 389
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p2, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 392
|
|
invoke-virtual {p2, p1}, Lokhttp3/internal/cache/DiskLruCache$Editor;->newSink(I)Lokio/Sink;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lokhttp3/Cache$RealCacheRequest;->cacheOut:Lokio/Sink;
|
|
|
|
.line 397
|
|
new-instance p2, Lokhttp3/Cache$RealCacheRequest$1;
|
|
|
|
invoke-direct {p2, p0, p1}, Lokhttp3/Cache$RealCacheRequest$1;-><init>(Lokhttp3/Cache$RealCacheRequest;Lokio/Sink;)V
|
|
|
|
check-cast p2, Lokio/Sink;
|
|
|
|
iput-object p2, p0, Lokhttp3/Cache$RealCacheRequest;->body:Lokio/Sink;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getEditor$p(Lokhttp3/Cache$RealCacheRequest;)Lokhttp3/internal/cache/DiskLruCache$Editor;
|
|
.locals 0
|
|
|
|
.line 389
|
|
iget-object p0, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abort()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache;
|
|
|
|
.line 412
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 413
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
:try_start_1
|
|
iput-boolean v1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z
|
|
|
|
iget-object v2, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache;
|
|
|
|
.line 415
|
|
invoke-virtual {v2}, Lokhttp3/Cache;->getWriteAbortCount$okhttp()I
|
|
|
|
move-result v3
|
|
|
|
add-int/2addr v3, v1
|
|
|
|
invoke-virtual {v2, v3}, Lokhttp3/Cache;->setWriteAbortCount$okhttp(I)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 412
|
|
monitor-exit v0
|
|
|
|
iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->cacheOut:Lokio/Sink;
|
|
|
|
.line 417
|
|
check-cast v0, Ljava/io/Closeable;
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/Util;->closeQuietly(Ljava/io/Closeable;)V
|
|
|
|
:try_start_2
|
|
iget-object p0, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
|
|
|
|
.line 419
|
|
invoke-virtual {p0}, Lokhttp3/internal/cache/DiskLruCache$Editor;->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 p0
|
|
|
|
.line 412
|
|
monitor-exit v0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public body()Lokio/Sink;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/Cache$RealCacheRequest;->body:Lokio/Sink;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getDone()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final setDone(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z
|
|
|
|
return-void
|
|
.end method
|