apkfuckery/com.discord/smali/okhttp3/internal/a/c.smali

161 lines
2.7 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/internal/a/c;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "CacheStrategy.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/internal/a/c$a;
}
.end annotation
# instance fields
2019-05-08 22:54:48 +00:00
.field public final bqS:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-05-08 22:54:48 +00:00
.field public final bqe:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method constructor <init>(Lokhttp3/w;Lokhttp3/Response;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lokhttp3/internal/a/c;->bqS:Lokhttp3/w;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p2, p0, Lokhttp3/internal/a/c;->bqe:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public static a(Lokhttp3/Response;Lokhttp3/w;)Z
.locals 3
iget v0, p0, Lokhttp3/Response;->code:I
2019-05-03 18:53:54 +00:00
const/16 v1, 0xc8
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
if-eq v0, v1, :cond_1
const/16 v1, 0x19a
if-eq v0, v1, :cond_1
const/16 v1, 0x19e
if-eq v0, v1, :cond_1
const/16 v1, 0x1f5
if-eq v0, v1, :cond_1
const/16 v1, 0xcb
if-eq v0, v1, :cond_1
const/16 v1, 0xcc
if-eq v0, v1, :cond_1
const/16 v1, 0x133
if-eq v0, v1, :cond_0
const/16 v1, 0x134
if-eq v0, v1, :cond_1
const/16 v1, 0x194
if-eq v0, v1, :cond_1
const/16 v1, 0x195
if-eq v0, v1, :cond_1
packed-switch v0, :pswitch_data_0
2019-02-04 20:08:30 +00:00
goto :goto_0
2019-05-03 18:53:54 +00:00
:cond_0
:pswitch_0
2019-02-04 20:08:30 +00:00
const-string v0, "Expires"
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v0}, Lokhttp3/Response;->du(Ljava/lang/String;)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokhttp3/Response;->Cq()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-08 22:54:48 +00:00
iget v0, v0, Lokhttp3/d;->blc:I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, -0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-ne v0, v1, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokhttp3/Response;->Cq()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-08 22:54:48 +00:00
iget-boolean v0, v0, Lokhttp3/d;->blf:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokhttp3/Response;->Cq()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-08 22:54:48 +00:00
iget-boolean v0, v0, Lokhttp3/d;->ble:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_0
return v2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_1
:pswitch_1
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokhttp3/Response;->Cq()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-05-08 22:54:48 +00:00
iget-boolean p0, p0, Lokhttp3/d;->blb:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p1}, Lokhttp3/w;->Cq()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object p0
2019-05-08 22:54:48 +00:00
iget-boolean p0, p0, Lokhttp3/d;->blb:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0, :cond_2
2019-02-04 20:08:30 +00:00
const/4 p0, 0x1
return p0
2019-05-03 18:53:54 +00:00
:cond_2
return v2
2019-02-04 20:29:01 +00:00
2019-05-03 18:53:54 +00:00
:pswitch_data_0
.packed-switch 0x12c
:pswitch_1
:pswitch_1
:pswitch_0
.end packed-switch
2019-02-04 20:08:30 +00:00
.end method