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

115 lines
2.4 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class final Lokhttp3/d$a;
.super Lokhttp3/aa;
.source "Cache.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-11-28 00:30:53 +00:00
accessFlags = 0x18
2019-07-24 11:27:29 +00:00
name = "a"
.end annotation
# instance fields
2019-11-28 00:30:53 +00:00
.field private final bnH:Lokio/g;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.field final bnI:Lokhttp3/internal/a/d$d;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.field private final bnJ:Ljava/lang/String;
2019-11-15 02:21:15 +00:00
2019-11-28 00:30:53 +00:00
.field private final bnK:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# direct methods
.method public constructor <init>(Lokhttp3/internal/a/d$d;Ljava/lang/String;Ljava/lang/String;)V
.locals 1
2019-10-25 01:57:51 +00:00
2019-11-28 00:30:53 +00:00
const-string v0, "snapshot"
2019-08-30 20:04:20 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p0}, Lokhttp3/aa;-><init>()V
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
iput-object p1, p0, Lokhttp3/d$a;->bnI:Lokhttp3/internal/a/d$d;
iput-object p2, p0, Lokhttp3/d$a;->bnJ:Ljava/lang/String;
iput-object p3, p0, Lokhttp3/d$a;->bnK:Ljava/lang/String;
iget-object p1, p0, Lokhttp3/d$a;->bnI:Lokhttp3/internal/a/d$d;
const/4 p2, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {p1, p2}, Lokhttp3/internal/a/d$d;->dk(I)Lokio/x;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object p1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-instance p2, Lokhttp3/d$a$1;
2019-08-30 20:04:20 +00:00
2019-11-28 00:30:53 +00:00
invoke-direct {p2, p0, p1, p1}, Lokhttp3/d$a$1;-><init>(Lokhttp3/d$a;Lokio/x;Lokio/x;)V
2019-10-25 01:57:51 +00:00
2019-11-28 00:30:53 +00:00
check-cast p2, Lokio/x;
invoke-static {p2}, Lokio/n;->c(Lokio/x;)Lokio/g;
move-result-object p1
iput-object p1, p0, Lokhttp3/d$a;->bnH:Lokio/g;
2019-10-31 00:47:18 +00:00
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-11-28 00:30:53 +00:00
.method public final Fg()Lokio/g;
2019-07-24 11:27:29 +00:00
.locals 1
2019-11-28 00:30:53 +00:00
iget-object v0, p0, Lokhttp3/d$a;->bnH:Lokio/g;
return-object v0
.end method
.method public final contentLength()J
.locals 2
iget-object v0, p0, Lokhttp3/d$a;->bnK:Ljava/lang/String;
if-eqz v0, :cond_0
invoke-static {v0}, Lokhttp3/internal/b;->dZ(Ljava/lang/String;)J
move-result-wide v0
return-wide v0
:cond_0
const-wide/16 v0, -0x1
return-wide v0
.end method
.method public final contentType()Lokhttp3/MediaType;
.locals 2
iget-object v0, p0, Lokhttp3/d$a;->bnJ:Ljava/lang/String;
if-eqz v0, :cond_0
sget-object v1, Lokhttp3/MediaType;->bsl:Lokhttp3/MediaType$a;
invoke-static {v0}, Lokhttp3/MediaType$a;->dN(Ljava/lang/String;)Lokhttp3/MediaType;
move-result-object v0
return-object v0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
return-object v0
.end method