You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.4 KiB
62 lines
1.4 KiB
2 years ago
|
.class final Lokhttp3/internal/Util$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Util.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/util/concurrent/ThreadFactory;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lokhttp3/internal/Util;->threadFactory(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic val$daemon:Z
|
||
|
|
||
|
.field final synthetic val$name:Ljava/lang/String;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Ljava/lang/String;Z)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 253
|
||
|
iput-object p1, p0, Lokhttp3/internal/Util$1;->val$name:Ljava/lang/String;
|
||
|
|
||
|
iput-boolean p2, p0, Lokhttp3/internal/Util$1;->val$daemon:Z
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 255
|
||
|
new-instance v0, Ljava/lang/Thread;
|
||
|
|
||
|
iget-object v1, p0, Lokhttp3/internal/Util$1;->val$name:Ljava/lang/String;
|
||
|
|
||
|
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
|
||
|
|
||
|
.line 256
|
||
|
iget-boolean v1, p0, Lokhttp3/internal/Util$1;->val$daemon:Z
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/Thread;->setDaemon(Z)V
|
||
|
|
||
|
.line 257
|
||
|
return-object v0
|
||
|
.end method
|