132 lines
2.9 KiB
Smali
132 lines
2.9 KiB
Smali
.class final Lio/fabric/sdk/android/a/c/a$c;
|
|
.super Ljava/lang/Object;
|
|
.source "AsyncTask.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/Executor;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lio/fabric/sdk/android/a/c/a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final bjL:Ljava/util/LinkedList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/LinkedList<",
|
|
"Ljava/lang/Runnable;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field bjM:Ljava/lang/Runnable;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/LinkedList;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
|
|
|
iput-object v0, p0, Lio/fabric/sdk/android/a/c/a$c;->bjL:Ljava/util/LinkedList;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(B)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/a/c/a$c;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected final declared-synchronized Dq()V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/c/a$c;->bjL:Ljava/util/LinkedList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/LinkedList;->poll()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Runnable;
|
|
|
|
iput-object v0, p0, Lio/fabric/sdk/android/a/c/a$c;->bjM:Ljava/lang/Runnable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget-object v0, Lio/fabric/sdk/android/a/c/a;->THREAD_POOL_EXECUTOR:Ljava/util/concurrent/Executor;
|
|
|
|
iget-object v1, p0, Lio/fabric/sdk/android/a/c/a$c;->bjM:Ljava/lang/Runnable;
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_0
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized execute(Ljava/lang/Runnable;)V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/c/a$c;->bjL:Ljava/util/LinkedList;
|
|
|
|
new-instance v1, Lio/fabric/sdk/android/a/c/a$c$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lio/fabric/sdk/android/a/c/a$c$1;-><init>(Lio/fabric/sdk/android/a/c/a$c;Ljava/lang/Runnable;)V
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/LinkedList;->offer(Ljava/lang/Object;)Z
|
|
|
|
iget-object p1, p0, Lio/fabric/sdk/android/a/c/a$c;->bjM:Ljava/lang/Runnable;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lio/fabric/sdk/android/a/c/a$c;->Dq()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_0
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|