apkfuckery/com.discord/smali_classes2/okhttp3/internal/b.smali

75 lines
1.7 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public abstract Lokhttp3/internal/b;
2019-02-04 20:05:16 +00:00
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field protected final name:Ljava/lang/String;
# direct methods
.method public varargs constructor <init>(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
.locals 0
2019-02-04 20:05:16 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-04 20:08:30 +00:00
invoke-static {p1, p2}, Lokhttp3/internal/c;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
iput-object p1, p0, Lokhttp3/internal/b;->name:Ljava/lang/String;
2019-02-04 20:05:16 +00:00
return-void
.end method
# virtual methods
.method protected abstract execute()V
.end method
.method public final run()V
.locals 3
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
2019-02-04 20:05:16 +00:00
move-result-object v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
2019-02-04 20:08:30 +00:00
iget-object v2, p0, Lokhttp3/internal/b;->name:Ljava/lang/String;
2019-02-04 20:05:16 +00:00
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
:try_start_0
2019-02-04 20:08:30 +00:00
invoke-virtual {p0}, Lokhttp3/internal/b;->execute()V
2019-02-04 20:05:16 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
invoke-virtual {v1, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-void
:catchall_0
move-exception v1
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v2
invoke-virtual {v2, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
throw v1
.end method