ThreadUtils$4.smali
.class final Lorg/webrtc/ali/ThreadUtils$4;
.super Ljava/lang/Object;
.source "ThreadUtils.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lorg/webrtc/ali/ThreadUtils;->invokeAtFrontUninterruptibly(Landroid/os/Handler;Ljava/util/concurrent/Callable;)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$barrier:Ljava/util/concurrent/CountDownLatch;
.field final synthetic val$callable:Ljava/util/concurrent/Callable;
.field final synthetic val$caughtException:Lorg/webrtc/ali/ThreadUtils$1CaughtException;
.field final synthetic val$result:Lorg/webrtc/ali/ThreadUtils$1Result;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lorg/webrtc/ali/ThreadUtils$1Result;Ljava/util/concurrent/Callable;Lorg/webrtc/ali/ThreadUtils$1CaughtException;Ljava/util/concurrent/CountDownLatch;)V
.registers 5
.line 214
iput-object p1, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$result:Lorg/webrtc/ali/ThreadUtils$1Result;
iput-object p2, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$callable:Ljava/util/concurrent/Callable;
iput-object p3, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$caughtException:Lorg/webrtc/ali/ThreadUtils$1CaughtException;
iput-object p4, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$barrier:Ljava/util/concurrent/CountDownLatch;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 3
.line 218
:try_start_0
iget-object v0, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$result:Lorg/webrtc/ali/ThreadUtils$1Result;
iget-object v1, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$callable:Ljava/util/concurrent/Callable;
invoke-interface {v1}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v1
iput-object v1, v0, Lorg/webrtc/ali/ThreadUtils$1Result;->value:Ljava/lang/Object;
:try_end_a
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_a} :catch_b
.line 221
goto :goto_10
.line 219
:catch_b
move-exception v0
.line 220
.local v0, "e":Ljava/lang/Exception;
iget-object v1, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$caughtException:Lorg/webrtc/ali/ThreadUtils$1CaughtException;
iput-object v0, v1, Lorg/webrtc/ali/ThreadUtils$1CaughtException;->e:Ljava/lang/Exception;
.line 222
.end local v0 # "e":Ljava/lang/Exception;
:goto_10
iget-object v0, p0, Lorg/webrtc/ali/ThreadUtils$4;->val$barrier:Ljava/util/concurrent/CountDownLatch;
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
.line 223
return-void
.end method