212 lines
4.7 KiB
Smali
212 lines
4.7 KiB
Smali
.class public Lf/c/a/q1;
|
|
.super Ljava/lang/Object;
|
|
.source "RequestHandler.java"
|
|
|
|
# interfaces
|
|
.implements Lf/c/a/y0;
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lf/c/a/f2/h;
|
|
|
|
.field public b:Ljava/lang/ref/WeakReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Lf/c/a/x0;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:Ljava/lang/ref/WeakReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Lf/c/a/u0;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public d:Lf/c/a/w0;
|
|
|
|
.field public e:Ljava/lang/String;
|
|
|
|
.field public f:Ljava/lang/String;
|
|
|
|
.field public g:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/c/a/u0;Lf/c/a/x0;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {}, Lf/c/a/a0;->a()Lf/c/a/w0;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/c/a/q1;->d:Lf/c/a/w0;
|
|
|
|
new-instance v0, Lf/c/a/f2/c;
|
|
|
|
const-string v1, "RequestHandler"
|
|
|
|
invoke-direct {v0, v1}, Lf/c/a/f2/c;-><init>(Ljava/lang/String;)V
|
|
|
|
iput-object v0, p0, Lf/c/a/q1;->a:Lf/c/a/f2/h;
|
|
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v0, p2}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lf/c/a/q1;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lf/c/a/q1;->c:Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-interface {p2}, Lf/c/a/x0;->a()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lf/c/a/q1;->e:Ljava/lang/String;
|
|
|
|
invoke-interface {p2}, Lf/c/a/x0;->b()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lf/c/a/q1;->f:Ljava/lang/String;
|
|
|
|
invoke-interface {p2}, Lf/c/a/x0;->c()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lf/c/a/q1;->g:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lf/c/a/u;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Lf/c/a/u;->b()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p2, p3}, Lf/c/a/e2;->n(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 p3, 0x2
|
|
|
|
new-array p3, p3, [Ljava/lang/Object;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object v0, p3, v1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aput-object p2, p3, v0
|
|
|
|
const-string p2, "%s. (%s) Will retry later"
|
|
|
|
invoke-static {p2, p3}, Lf/c/a/e2;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p3, p0, Lf/c/a/q1;->d:Lf/c/a/w0;
|
|
|
|
new-array v0, v1, [Ljava/lang/Object;
|
|
|
|
invoke-interface {p3, p2, v0}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
invoke-static {p1}, Lf/c/a/r1;->a(Lf/c/a/u;)Lf/c/a/r1;
|
|
|
|
move-result-object p3
|
|
|
|
iput-object p2, p3, Lf/c/a/r1;->d:Ljava/lang/String;
|
|
|
|
iget-object p2, p0, Lf/c/a/q1;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lf/c/a/x0;
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {p2, p3, p1}, Lf/c/a/x0;->i(Lf/c/a/r1;Lf/c/a/u;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Lf/c/a/u;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Lf/c/a/u;->b()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p2, p3}, Lf/c/a/e2;->n(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 p3, 0x2
|
|
|
|
new-array p3, p3, [Ljava/lang/Object;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object v0, p3, v1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aput-object p2, p3, v0
|
|
|
|
const-string p2, "%s. (%s)"
|
|
|
|
invoke-static {p2, p3}, Lf/c/a/e2;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p3, p0, Lf/c/a/q1;->d:Lf/c/a/w0;
|
|
|
|
new-array v0, v1, [Ljava/lang/Object;
|
|
|
|
invoke-interface {p3, p2, v0}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
invoke-static {p1}, Lf/c/a/r1;->a(Lf/c/a/u;)Lf/c/a/r1;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p2, p1, Lf/c/a/r1;->d:Ljava/lang/String;
|
|
|
|
iget-object p2, p0, Lf/c/a/q1;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lf/c/a/x0;
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {p2, p1}, Lf/c/a/x0;->f(Lf/c/a/r1;)V
|
|
|
|
return-void
|
|
.end method
|