.class public Lcom/amap/api/mapcore2d/cy;
.super Ljava/lang/Object;
.source "Log.java"


# static fields
.field public static final a:Ljava/lang/String; = "/a/"

.field static final b:Ljava/lang/String; = "b"

.field static final c:Ljava/lang/String; = "c"

.field static final d:Ljava/lang/String; = "d"

.field public static final e:Ljava/lang/String; = "e"

.field public static final f:Ljava/lang/String; = "f"


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method static a(Landroid/content/Context;I)Lcom/amap/api/mapcore2d/de;
    .locals 0

    packed-switch p1, :pswitch_data_0

    const/4 p0, 0x0

    return-object p0

    .line 144
    :pswitch_0
    new-instance p0, Lcom/amap/api/mapcore2d/db;

    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/db;-><init>(I)V

    goto :goto_0

    .line 141
    :pswitch_1
    new-instance p0, Lcom/amap/api/mapcore2d/dd;

    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/dd;-><init>(I)V

    goto :goto_0

    .line 138
    :pswitch_2
    new-instance p0, Lcom/amap/api/mapcore2d/dc;

    invoke-direct {p0, p1}, Lcom/amap/api/mapcore2d/dc;-><init>(I)V

    :goto_0
    return-object p0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public static a(I)Ljava/lang/Class;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/lang/Class<",
            "+",
            "Lcom/amap/api/mapcore2d/dp;",
            ">;"
        }
    .end annotation

    packed-switch p0, :pswitch_data_0

    const/4 p0, 0x0

    return-object p0

    .line 95
    :pswitch_0
    const-class p0, Lcom/amap/api/mapcore2d/dj;

    return-object p0

    .line 92
    :pswitch_1
    const-class p0, Lcom/amap/api/mapcore2d/dm;

    return-object p0

    .line 89
    :pswitch_2
    const-class p0, Lcom/amap/api/mapcore2d/dk;

    return-object p0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 75
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 76
    invoke-virtual {p0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;

    move-result-object p0

    invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p0

    .line 77
    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 78
    sget-object p0, Lcom/amap/api/mapcore2d/cy;->a:Ljava/lang/String;

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 79
    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 80
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method static a(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x2

    .line 229
    :try_start_0
    invoke-static {p0, v0}, Lcom/amap/api/mapcore2d/cy;->a(Landroid/content/Context;I)Lcom/amap/api/mapcore2d/de;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 233
    :cond_0
    invoke-virtual {v0, p0}, Lcom/amap/api/mapcore2d/de;->b(Landroid/content/Context;)V
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 235
    invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_0
    return-void
.end method

.method static a(Landroid/content/Context;Ljava/lang/Throwable;ILjava/lang/String;Ljava/lang/String;)V
    .locals 8

    .line 194
    :try_start_0
    invoke-static {}, Lcom/amap/api/mapcore2d/da;->c()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 195
    invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->isShutdown()Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    .line 202
    :cond_0
    new-instance v1, Lcom/amap/api/mapcore2d/cy$1;

    move-object v2, v1

    move-object v3, p0

    move v4, p2

    move-object v5, p1

    move-object v6, p3

    move-object v7, p4

    invoke-direct/range {v2 .. v7}, Lcom/amap/api/mapcore2d/cy$1;-><init>(Landroid/content/Context;ILjava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
    :try_end_0
    .catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :cond_1
    :goto_0
    return-void

    :catch_0
    move-exception p0

    .line 223
    invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V

    :goto_1
    return-void

    :catch_1
    return-void
.end method

.method public static b(I)Lcom/amap/api/mapcore2d/dp;
    .locals 0

    packed-switch p0, :pswitch_data_0

    const/4 p0, 0x0

    return-object p0

    .line 111
    :pswitch_0
    new-instance p0, Lcom/amap/api/mapcore2d/dj;

    invoke-direct {p0}, Lcom/amap/api/mapcore2d/dj;-><init>()V

    return-object p0

    .line 108
    :pswitch_1
    new-instance p0, Lcom/amap/api/mapcore2d/dm;

    invoke-direct {p0}, Lcom/amap/api/mapcore2d/dm;-><init>()V

    return-object p0

    .line 105
    :pswitch_2
    new-instance p0, Lcom/amap/api/mapcore2d/dk;

    invoke-direct {p0}, Lcom/amap/api/mapcore2d/dk;-><init>()V

    return-object p0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static b(Landroid/content/Context;)V
    .locals 2

    .line 244
    :try_start_0
    invoke-static {}, Lcom/amap/api/mapcore2d/da;->c()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 245
    invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->isShutdown()Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    .line 248
    :cond_0
    new-instance v1, Lcom/amap/api/mapcore2d/cy$2;

    invoke-direct {v1, p0}, Lcom/amap/api/mapcore2d/cy$2;-><init>(Landroid/content/Context;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :cond_1
    :goto_0
    return-void

    :catch_0
    move-exception p0

    const-string v0, "Log"

    const-string v1, "processLog"

    .line 292
    invoke-static {p0, v0, v1}, Lcom/amap/api/mapcore2d/cx;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    return-void
.end method

.method public static c(I)Ljava/lang/String;
    .locals 0

    packed-switch p0, :pswitch_data_0

    const-string p0, ""

    return-object p0

    .line 124
    :pswitch_0
    sget-object p0, Lcom/amap/api/mapcore2d/cy;->d:Ljava/lang/String;

    return-object p0

    .line 128
    :pswitch_1
    sget-object p0, Lcom/amap/api/mapcore2d/cy;->b:Ljava/lang/String;

    return-object p0

    .line 126
    :pswitch_2
    sget-object p0, Lcom/amap/api/mapcore2d/cy;->c:Ljava/lang/String;

    return-object p0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
