Changes of com.discord v1344
This commit is contained in:
parent
00a03df92a
commit
ed7cf41cb9
18279 changed files with 989752 additions and 1013884 deletions
14
com.discord/smali/u/a$a.smali
Normal file
14
com.discord/smali/u/a$a.smali
Normal file
|
@ -0,0 +1,14 @@
|
|||
.class public synthetic Lu/a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AndroidExecutors.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lu/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1009
|
||||
name = null
|
||||
.end annotation
|
45
com.discord/smali/u/a$b.smali
Normal file
45
com.discord/smali/u/a$b.smali
Normal file
|
@ -0,0 +1,45 @@
|
|||
.class public Lu/a$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AndroidExecutors.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lu/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lu/a$a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public execute(Ljava/lang/Runnable;)V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroid/os/Handler;
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
75
com.discord/smali/u/a.smali
Normal file
75
com.discord/smali/u/a.smali
Normal file
|
@ -0,0 +1,75 @@
|
|||
.class public final Lu/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AndroidExecutors.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lu/a$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Lu/a;
|
||||
|
||||
.field public static final c:I
|
||||
|
||||
.field public static final d:I
|
||||
|
||||
.field public static final e:I
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lu/a;
|
||||
|
||||
invoke-direct {v0}, Lu/a;-><init>()V
|
||||
|
||||
sput-object v0, Lu/a;->b:Lu/a;
|
||||
|
||||
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Runtime;->availableProcessors()I
|
||||
|
||||
move-result v0
|
||||
|
||||
sput v0, Lu/a;->c:I
|
||||
|
||||
add-int/lit8 v1, v0, 0x1
|
||||
|
||||
sput v1, Lu/a;->d:I
|
||||
|
||||
mul-int/lit8 v0, v0, 0x2
|
||||
|
||||
add-int/lit8 v0, v0, 0x1
|
||||
|
||||
sput v0, Lu/a;->e:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lu/a$b;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lu/a$b;-><init>(Lu/a$a;)V
|
||||
|
||||
iput-object v0, p0, Lu/a;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,40 +0,0 @@
|
|||
.class public final synthetic Lu/a/a/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/IBinder$DeathRecipient;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Landroidx/browser/customtabs/CustomTabsService$1;
|
||||
|
||||
.field public final synthetic b:Landroidx/browser/customtabs/CustomTabsSessionToken;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Landroidx/browser/customtabs/CustomTabsService$1;Landroidx/browser/customtabs/CustomTabsSessionToken;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lu/a/a/a;->a:Landroidx/browser/customtabs/CustomTabsService$1;
|
||||
|
||||
iput-object p2, p0, Lu/a/a/a;->b:Landroidx/browser/customtabs/CustomTabsSessionToken;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final binderDied()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lu/a/a/a;->a:Landroidx/browser/customtabs/CustomTabsService$1;
|
||||
|
||||
iget-object v1, p0, Lu/a/a/a;->b:Landroidx/browser/customtabs/CustomTabsSessionToken;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/browser/customtabs/CustomTabsService$1;->g(Landroidx/browser/customtabs/CustomTabsSessionToken;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class public final synthetic Lu/a/b/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Landroidx/browser/trusted/ConnectionHolder;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Landroidx/browser/trusted/ConnectionHolder;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lu/a/b/a;->a:Landroidx/browser/trusted/ConnectionHolder;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final attachCompleter(Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lu/a/b/a;->a:Landroidx/browser/trusted/ConnectionHolder;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/browser/trusted/ConnectionHolder;->a(Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,48 +0,0 @@
|
|||
.class public final synthetic Lu/a/b/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/Comparator;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic d:Lu/a/b/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lu/a/b/b;
|
||||
|
||||
invoke-direct {v0}, Lu/a/b/b;-><init>()V
|
||||
|
||||
sput-object v0, Lu/a/b/b;->d:Lu/a/b/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||||
.locals 0
|
||||
|
||||
check-cast p1, [B
|
||||
|
||||
check-cast p2, [B
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/browser/trusted/TokenContents;->compareByteArrays([B[B)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -1,40 +0,0 @@
|
|||
.class public final synthetic Lu/a/b/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Landroidx/browser/trusted/TrustedWebActivityServiceConnectionPool;
|
||||
|
||||
.field public final synthetic e:Landroid/net/Uri;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Landroidx/browser/trusted/TrustedWebActivityServiceConnectionPool;Landroid/net/Uri;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lu/a/b/c;->d:Landroidx/browser/trusted/TrustedWebActivityServiceConnectionPool;
|
||||
|
||||
iput-object p2, p0, Lu/a/b/c;->e:Landroid/net/Uri;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lu/a/b/c;->d:Landroidx/browser/trusted/TrustedWebActivityServiceConnectionPool;
|
||||
|
||||
iget-object v1, p0, Lu/a/b/c;->e:Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/browser/trusted/TrustedWebActivityServiceConnectionPool;->a(Landroid/net/Uri;)V
|
||||
|
||||
return-void
|
||||
.end method
|
14
com.discord/smali/u/b$a.smali
Normal file
14
com.discord/smali/u/b$a.smali
Normal file
|
@ -0,0 +1,14 @@
|
|||
.class public synthetic Lu/b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BoltsExecutors.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lu/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1009
|
||||
name = null
|
||||
.end annotation
|
159
com.discord/smali/u/b$b.smali
Normal file
159
com.discord/smali/u/b$b.smali
Normal file
|
@ -0,0 +1,159 @@
|
|||
.class public Lu/b$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BoltsExecutors.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lu/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ljava/lang/ThreadLocal;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/ThreadLocal<",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lu/b$a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance p1, Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/ThreadLocal;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Integer;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v0
|
||||
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v1, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/ThreadLocal;->remove()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iget-object v1, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public execute(Ljava/lang/Runnable;)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Integer;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||||
|
||||
move-result v0
|
||||
|
||||
add-int/lit8 v0, v0, 0x1
|
||||
|
||||
iget-object v1, p0, Lu/b$b;->d:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
||||
|
||||
const/16 v1, 0xf
|
||||
|
||||
if-gt v0, v1, :cond_1
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {p1}, Ljava/lang/Runnable;->run()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Lu/b;->c:Lu/b;
|
||||
|
||||
iget-object v0, v0, Lu/b;->a:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p0}, Lu/b$b;->a()I
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {p0}, Lu/b$b;->a()I
|
||||
|
||||
throw p1
|
||||
.end method
|
115
com.discord/smali/u/b.smali
Normal file
115
com.discord/smali/u/b.smali
Normal file
|
@ -0,0 +1,115 @@
|
|||
.class public final Lu/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BoltsExecutors.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lu/b$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final c:Lu/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
.field public final b:Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lu/b;
|
||||
|
||||
invoke-direct {v0}, Lu/b;-><init>()V
|
||||
|
||||
sput-object v0, Lu/b;->c:Lu/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 8
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-string v0, "java.runtime.name"
|
||||
|
||||
invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "android"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
:goto_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {}, Ljava/util/concurrent/Executors;->newCachedThreadPool()Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Lu/a;->b:Lu/a;
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/ThreadPoolExecutor;
|
||||
|
||||
sget v2, Lu/a;->d:I
|
||||
|
||||
sget v3, Lu/a;->e:I
|
||||
|
||||
sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
new-instance v7, Ljava/util/concurrent/LinkedBlockingQueue;
|
||||
|
||||
invoke-direct {v7}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
|
||||
|
||||
const-wide/16 v4, 0x1
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v7}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;)V
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
|
||||
|
||||
:goto_1
|
||||
iput-object v0, p0, Lu/b;->a:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadScheduledExecutor()Ljava/util/concurrent/ScheduledExecutorService;
|
||||
|
||||
new-instance v0, Lu/b$b;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lu/b$b;-><init>(Lu/b$a;)V
|
||||
|
||||
iput-object v0, p0, Lu/b;->b:Ljava/util/concurrent/Executor;
|
||||
|
||||
return-void
|
||||
.end method
|
34
com.discord/smali/u/c.smali
Normal file
34
com.discord/smali/u/c.smali
Normal file
|
@ -0,0 +1,34 @@
|
|||
.class public interface abstract Lu/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Continuation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TTaskResult:",
|
||||
"Ljava/lang/Object;",
|
||||
"TContinuationResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Lu/g;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lu/g<",
|
||||
"TTTaskResult;>;)TTContinuationResult;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Exception;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
84
com.discord/smali/u/d.smali
Normal file
84
com.discord/smali/u/d.smali
Normal file
|
@ -0,0 +1,84 @@
|
|||
.class public Lu/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Task.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lu/c;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lu/c<",
|
||||
"TTResult;",
|
||||
"Ljava/lang/Void;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lu/h;
|
||||
|
||||
.field public final synthetic b:Lu/c;
|
||||
|
||||
.field public final synthetic c:Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lu/g;Lu/h;Lu/c;Ljava/util/concurrent/Executor;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p2, p0, Lu/d;->a:Lu/h;
|
||||
|
||||
iput-object p3, p0, Lu/d;->b:Lu/c;
|
||||
|
||||
iput-object p4, p0, Lu/d;->c:Ljava/util/concurrent/Executor;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lu/g;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Exception;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lu/d;->a:Lu/h;
|
||||
|
||||
iget-object v1, p0, Lu/d;->b:Lu/c;
|
||||
|
||||
iget-object v2, p0, Lu/d;->c:Ljava/util/concurrent/Executor;
|
||||
|
||||
:try_start_0
|
||||
new-instance v3, Lu/e;
|
||||
|
||||
invoke-direct {v3, v0, v1, p1}, Lu/e;-><init>(Lu/h;Lu/c;Lu/g;)V
|
||||
|
||||
invoke-interface {v2, v3}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance v1, Lbolts/ExecutorException;
|
||||
|
||||
invoke-direct {v1, p1}, Lbolts/ExecutorException;-><init>(Ljava/lang/Exception;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lu/h;->b(Ljava/lang/Exception;)V
|
||||
|
||||
:goto_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
71
com.discord/smali/u/e.smali
Normal file
71
com.discord/smali/u/e.smali
Normal file
|
@ -0,0 +1,71 @@
|
|||
.class public final Lu/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Task.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lu/h;
|
||||
|
||||
.field public final synthetic e:Lu/c;
|
||||
|
||||
.field public final synthetic f:Lu/g;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lu/h;Lu/c;Lu/g;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lu/e;->d:Lu/h;
|
||||
|
||||
iput-object p2, p0, Lu/e;->e:Lu/c;
|
||||
|
||||
iput-object p3, p0, Lu/e;->f:Lu/g;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 2
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lu/e;->e:Lu/c;
|
||||
|
||||
iget-object v1, p0, Lu/e;->f:Lu/g;
|
||||
|
||||
invoke-interface {v0, v1}, Lu/c;->a(Lu/g;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lu/e;->d:Lu/h;
|
||||
|
||||
invoke-virtual {v1, v0}, Lu/h;->c(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catch Ljava/util/concurrent/CancellationException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
iget-object v1, p0, Lu/e;->d:Lu/h;
|
||||
|
||||
invoke-virtual {v1, v0}, Lu/h;->b(Ljava/lang/Exception;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_1
|
||||
iget-object v0, p0, Lu/e;->d:Lu/h;
|
||||
|
||||
invoke-virtual {v0}, Lu/h;->a()V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
65
com.discord/smali/u/f.smali
Normal file
65
com.discord/smali/u/f.smali
Normal file
|
@ -0,0 +1,65 @@
|
|||
.class public final Lu/f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Task.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lu/h;
|
||||
|
||||
.field public final synthetic e:Ljava/util/concurrent/Callable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lu/h;Ljava/util/concurrent/Callable;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lu/f;->d:Lu/h;
|
||||
|
||||
iput-object p2, p0, Lu/f;->e:Ljava/util/concurrent/Callable;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 2
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lu/f;->d:Lu/h;
|
||||
|
||||
iget-object v1, p0, Lu/f;->e:Ljava/util/concurrent/Callable;
|
||||
|
||||
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lu/h;->c(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catch Ljava/util/concurrent/CancellationException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
iget-object v1, p0, Lu/f;->d:Lu/h;
|
||||
|
||||
invoke-virtual {v1, v0}, Lu/h;->b(Ljava/lang/Exception;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_1
|
||||
iget-object v0, p0, Lu/f;->d:Lu/h;
|
||||
|
||||
invoke-virtual {v0}, Lu/h;->a()V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
672
com.discord/smali/u/g.smali
Normal file
672
com.discord/smali/u/g.smali
Normal file
|
@ -0,0 +1,672 @@
|
|||
.class public Lu/g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Task.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final h:Ljava/util/concurrent/Executor;
|
||||
|
||||
.field public static i:Lu/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lu/g<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static j:Lu/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lu/g<",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static k:Lu/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lu/g<",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/Object;
|
||||
|
||||
.field public b:Z
|
||||
|
||||
.field public c:Z
|
||||
|
||||
.field public d:Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"TTResult;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public e:Ljava/lang/Exception;
|
||||
|
||||
.field public f:Z
|
||||
|
||||
.field public g:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lu/c<",
|
||||
"TTResult;",
|
||||
"Ljava/lang/Void;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Lu/b;->c:Lu/b;
|
||||
|
||||
iget-object v1, v0, Lu/b;->a:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
iget-object v0, v0, Lu/b;->b:Ljava/util/concurrent/Executor;
|
||||
|
||||
sput-object v0, Lu/g;->h:Ljava/util/concurrent/Executor;
|
||||
|
||||
sget-object v0, Lu/a;->b:Lu/a;
|
||||
|
||||
iget-object v0, v0, Lu/a;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lu/g;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sput-object v0, Lu/g;->i:Lu/g;
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
|
||||
|
||||
invoke-direct {v0, v1}, Lu/g;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sput-object v0, Lu/g;->j:Lu/g;
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
||||
|
||||
invoke-direct {v0, v1}, Lu/g;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sput-object v0, Lu/g;->k:Lu/g;
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Lu/g;-><init>(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/lang/Object;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TTResult;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/lang/Object;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
invoke-virtual {p0, p1}, Lu/g;->h(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Z)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/lang/Object;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Lu/g;->g()Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1}, Lu/g;->h(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Ljava/util/concurrent/Callable;Ljava/util/concurrent/Executor;)Lu/g;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/util/concurrent/Callable<",
|
||||
"TTResult;>;",
|
||||
"Ljava/util/concurrent/Executor;",
|
||||
")",
|
||||
"Lu/g<",
|
||||
"TTResult;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lu/h;
|
||||
|
||||
invoke-direct {v0}, Lu/h;-><init>()V
|
||||
|
||||
:try_start_0
|
||||
new-instance v1, Lu/f;
|
||||
|
||||
invoke-direct {v1, v0, p0}, Lu/f;-><init>(Lu/h;Ljava/util/concurrent/Callable;)V
|
||||
|
||||
invoke-interface {p1, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p0
|
||||
|
||||
new-instance p1, Lbolts/ExecutorException;
|
||||
|
||||
invoke-direct {p1, p0}, Lbolts/ExecutorException;-><init>(Ljava/lang/Exception;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Lu/h;->b(Ljava/lang/Exception;)V
|
||||
|
||||
:goto_0
|
||||
iget-object p0, v0, Lu/h;->a:Lu/g;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static c(Ljava/lang/Exception;)Lu/g;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/Exception;",
|
||||
")",
|
||||
"Lu/g<",
|
||||
"TTResult;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
invoke-direct {v0}, Lu/g;-><init>()V
|
||||
|
||||
iget-object v1, v0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v1
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v2, v0, Lu/g;->b:Z
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
monitor-exit v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput-boolean v4, v0, Lu/g;->b:Z
|
||||
|
||||
iput-object p0, v0, Lu/g;->e:Ljava/lang/Exception;
|
||||
|
||||
iput-boolean v3, v0, Lu/g;->f:Z
|
||||
|
||||
iget-object p0, v0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
||||
|
||||
invoke-virtual {v0}, Lu/g;->f()V
|
||||
|
||||
monitor-exit v1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Cannot set the error on a completed task."
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:catchall_0
|
||||
move-exception p0
|
||||
|
||||
:try_start_1
|
||||
monitor-exit v1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Lu/c;)Lu/g;
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TContinuationResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Lu/c<",
|
||||
"TTResult;TTContinuationResult;>;)",
|
||||
"Lu/g<",
|
||||
"TTContinuationResult;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lu/g;->h:Ljava/util/concurrent/Executor;
|
||||
|
||||
new-instance v1, Lu/h;
|
||||
|
||||
invoke-direct {v1}, Lu/h;-><init>()V
|
||||
|
||||
iget-object v2, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v2
|
||||
|
||||
:try_start_0
|
||||
iget-object v3, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v3
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
:try_start_1
|
||||
iget-boolean v4, p0, Lu/g;->b:Z
|
||||
|
||||
monitor-exit v3
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
:try_start_2
|
||||
iget-object v3, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
new-instance v5, Lu/d;
|
||||
|
||||
invoke-direct {v5, p0, v1, p1, v0}, Lu/d;-><init>(Lu/g;Lu/h;Lu/c;Ljava/util/concurrent/Executor;)V
|
||||
|
||||
invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_0
|
||||
monitor-exit v2
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
:try_start_3
|
||||
new-instance v2, Lu/e;
|
||||
|
||||
invoke-direct {v2, v1, p1, p0}, Lu/e;-><init>(Lu/h;Lu/c;Lu/g;)V
|
||||
|
||||
invoke-interface {v0, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||||
:try_end_3
|
||||
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance v0, Lbolts/ExecutorException;
|
||||
|
||||
invoke-direct {v0, p1}, Lbolts/ExecutorException;-><init>(Ljava/lang/Exception;)V
|
||||
|
||||
invoke-virtual {v1, v0}, Lu/h;->b(Ljava/lang/Exception;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
iget-object p1, v1, Lu/h;->a:Lu/g;
|
||||
|
||||
return-object p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_4
|
||||
monitor-exit v3
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||||
|
||||
:try_start_5
|
||||
throw p1
|
||||
|
||||
:catchall_1
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v2
|
||||
:try_end_5
|
||||
.catchall {:try_start_5 .. :try_end_5} :catchall_1
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public d()Ljava/lang/Exception;
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lu/g;->e:Ljava/lang/Exception;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
iput-boolean v2, p0, Lu/g;->f:Z
|
||||
|
||||
:cond_0
|
||||
monitor-exit v0
|
||||
|
||||
return-object v1
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public e()Z
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0}, Lu/g;->d()Ljava/lang/Exception;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
monitor-exit v0
|
||||
|
||||
return v1
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final f()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lu/c;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:try_start_1
|
||||
invoke-interface {v2, p0}, Lu/c;->a(Lu/g;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
:try_start_2
|
||||
new-instance v2, Ljava/lang/RuntimeException;
|
||||
|
||||
invoke-direct {v2, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw v2
|
||||
|
||||
:catch_1
|
||||
move-exception v1
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lu/g;->g:Ljava/util/List;
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public g()Z
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v1, p0, Lu/g;->b:Z
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x1
|
||||
|
||||
iput-boolean v1, p0, Lu/g;->b:Z
|
||||
|
||||
iput-boolean v1, p0, Lu/g;->c:Z
|
||||
|
||||
iget-object v2, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->notifyAll()V
|
||||
|
||||
invoke-virtual {p0}, Lu/g;->f()V
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return v1
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public h(Ljava/lang/Object;)Z
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TTResult;)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v1, p0, Lu/g;->b:Z
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x1
|
||||
|
||||
iput-boolean v1, p0, Lu/g;->b:Z
|
||||
|
||||
iput-object p1, p0, Lu/g;->d:Ljava/lang/Object;
|
||||
|
||||
iget-object p1, p0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
||||
|
||||
invoke-virtual {p0}, Lu/g;->f()V
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return v1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
160
com.discord/smali/u/h.smali
Normal file
160
com.discord/smali/u/h.smali
Normal file
|
@ -0,0 +1,160 @@
|
|||
.class public Lu/h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "TaskCompletionSource.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<TResult:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lu/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lu/g<",
|
||||
"TTResult;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lu/g;
|
||||
|
||||
invoke-direct {v0}, Lu/g;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lu/h;->a:Lu/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lu/h;->a:Lu/g;
|
||||
|
||||
invoke-virtual {v0}, Lu/g;->g()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Cannot cancel a completed task."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Exception;)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lu/h;->a:Lu/g;
|
||||
|
||||
iget-object v1, v0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
monitor-enter v1
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v2, v0, Lu/g;->b:Z
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
monitor-exit v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iput-boolean v4, v0, Lu/g;->b:Z
|
||||
|
||||
iput-object p1, v0, Lu/g;->e:Ljava/lang/Exception;
|
||||
|
||||
iput-boolean v3, v0, Lu/g;->f:Z
|
||||
|
||||
iget-object p1, v0, Lu/g;->a:Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
||||
|
||||
invoke-virtual {v0}, Lu/g;->f()V
|
||||
|
||||
monitor-exit v1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Cannot set the error on a completed task."
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
monitor-exit v1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public c(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TTResult;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lu/h;->a:Lu/g;
|
||||
|
||||
invoke-virtual {v0, p1}, Lu/g;->h(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Cannot set the result of a completed task."
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue