i.smali

.class public Lcom/huawei/hms/update/a/i;
.super Ljava/lang/Object;
.source "ThreadWrapper.java"

# interfaces
.implements Lcom/huawei/hms/update/a/a/a;


# static fields
.field private static final b:Ljava/util/concurrent/Executor;


# instance fields
.field private final a:Lcom/huawei/hms/update/a/a/a;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 32
    invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    sput-object v0, Lcom/huawei/hms/update/a/i;->b:Ljava/util/concurrent/Executor;

    return-void
.end method

.method public constructor <init>(Lcom/huawei/hms/update/a/a/a;)V
    .registers 3

    .prologue
    .line 40
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 41
    const-string v0, "update must not be null."

    invoke-static {p1, v0}, Lcom/huawei/hms/c/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 43
    iput-object p1, p0, Lcom/huawei/hms/update/a/i;->a:Lcom/huawei/hms/update/a/a/a;

    .line 44
    return-void
.end method

.method static synthetic a(Lcom/huawei/hms/update/a/i;)Lcom/huawei/hms/update/a/a/a;
    .registers 2

    .prologue
    .line 22
    iget-object v0, p0, Lcom/huawei/hms/update/a/i;->a:Lcom/huawei/hms/update/a/a/a;

    return-object v0
.end method

.method static synthetic b(Lcom/huawei/hms/update/a/a/b;)Lcom/huawei/hms/update/a/a/b;
    .registers 2

    .prologue
    .line 22
    invoke-static {p0}, Lcom/huawei/hms/update/a/i;->c(Lcom/huawei/hms/update/a/a/b;)Lcom/huawei/hms/update/a/a/b;

    move-result-object v0

    return-object v0
.end method

.method private static c(Lcom/huawei/hms/update/a/a/b;)Lcom/huawei/hms/update/a/a/b;
    .registers 2

    .prologue
    .line 99
    new-instance v0, Lcom/huawei/hms/update/a/l;

    invoke-direct {v0, p0}, Lcom/huawei/hms/update/a/l;-><init>(Lcom/huawei/hms/update/a/a/b;)V

    return-object v0
.end method


# virtual methods
.method public a()V
    .registers 2

    .prologue
    .line 59
    iget-object v0, p0, Lcom/huawei/hms/update/a/i;->a:Lcom/huawei/hms/update/a/a/a;

    invoke-interface {v0}, Lcom/huawei/hms/update/a/a/a;->a()V

    .line 60
    return-void
.end method

.method public a(Lcom/huawei/hms/update/a/a/b;)V
    .registers 4

    .prologue
    .line 67
    sget-object v0, Lcom/huawei/hms/update/a/i;->b:Ljava/util/concurrent/Executor;

    new-instance v1, Lcom/huawei/hms/update/a/j;

    invoke-direct {v1, p0, p1}, Lcom/huawei/hms/update/a/j;-><init>(Lcom/huawei/hms/update/a/i;Lcom/huawei/hms/update/a/a/b;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 75
    return-void
.end method

.method public a(Lcom/huawei/hms/update/a/a/b;Lcom/huawei/hms/update/a/a/c;)V
    .registers 5

    .prologue
    .line 82
    sget-object v0, Lcom/huawei/hms/update/a/i;->b:Ljava/util/concurrent/Executor;

    new-instance v1, Lcom/huawei/hms/update/a/k;

    invoke-direct {v1, p0, p1, p2}, Lcom/huawei/hms/update/a/k;-><init>(Lcom/huawei/hms/update/a/i;Lcom/huawei/hms/update/a/a/b;Lcom/huawei/hms/update/a/a/c;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 90
    return-void
.end method

.method public b()Landroid/content/Context;
    .registers 2

    .prologue
    .line 51
    iget-object v0, p0, Lcom/huawei/hms/update/a/i;->a:Lcom/huawei/hms/update/a/a/a;

    invoke-interface {v0}, Lcom/huawei/hms/update/a/a/a;->b()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method