f.smali
.class public Lcom/tencent/open/a/f;
.super Ljava/lang/Object;
# static fields
.field public static a:Lcom/tencent/open/a/f;
.field protected static final c:Lcom/tencent/open/a/b;
.field private static d:Z
# instance fields
.field protected b:Lcom/tencent/open/a/a;
# direct methods
.method static constructor <clinit>()V
.registers 12
const/4 v0, 0x0
sput-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
const/4 v0, 0x0
sput-boolean v0, Lcom/tencent/open/a/f;->d:Z
sget v2, Lcom/tencent/open/a/c;->m:I
sget-wide v10, Lcom/tencent/open/a/c;->n:J
invoke-static {}, Lcom/tencent/open/a/f;->c()Ljava/io/File;
move-result-object v1
new-instance v0, Lcom/tencent/open/a/b;
sget v3, Lcom/tencent/open/a/c;->g:I
sget v4, Lcom/tencent/open/a/c;->h:I
sget-object v5, Lcom/tencent/open/a/c;->c:Ljava/lang/String;
sget v6, Lcom/tencent/open/a/c;->i:I
int-to-long v6, v6
const/16 v8, 0xa
sget-object v9, Lcom/tencent/open/a/c;->e:Ljava/lang/String;
invoke-direct/range {v0 .. v11}, Lcom/tencent/open/a/b;-><init>(Ljava/io/File;IIILjava/lang/String;JILjava/lang/String;J)V
sput-object v0, Lcom/tencent/open/a/f;->c:Lcom/tencent/open/a/b;
return-void
.end method
.method private constructor <init>()V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/tencent/open/a/a;
sget-object v1, Lcom/tencent/open/a/f;->c:Lcom/tencent/open/a/b;
invoke-direct {v0, v1}, Lcom/tencent/open/a/a;-><init>(Lcom/tencent/open/a/b;)V
iput-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
return-void
.end method
.method public static a()Lcom/tencent/open/a/f;
.registers 2
sget-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
if-nez v0, :cond_16
const-class v1, Lcom/tencent/open/a/f;
monitor-enter v1
:try_start_7
sget-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
if-nez v0, :cond_15
new-instance v0, Lcom/tencent/open/a/f;
invoke-direct {v0}, Lcom/tencent/open/a/f;-><init>()V
sput-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
const/4 v0, 0x1
sput-boolean v0, Lcom/tencent/open/a/f;->d:Z
:cond_15
monitor-exit v1
:try_end_16
.catchall {:try_start_7 .. :try_end_16} :catchall_19
:cond_16
sget-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
return-object v0
:catchall_19
move-exception v0
:try_start_1a
monitor-exit v1
:try_end_1b
.catchall {:try_start_1a .. :try_end_1b} :catchall_19
throw v0
.end method
.method public static final a(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/4 v1, 0x1
const/4 v2, 0x0
invoke-virtual {v0, v1, p0, p1, v2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public static final a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/4 v1, 0x2
invoke-virtual {v0, v1, p0, p1, p2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public static b()V
.registers 2
const-class v1, Lcom/tencent/open/a/f;
monitor-enter v1
:try_start_3
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
invoke-virtual {v0}, Lcom/tencent/open/a/f;->d()V
sget-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
if-eqz v0, :cond_11
const/4 v0, 0x0
sput-object v0, Lcom/tencent/open/a/f;->a:Lcom/tencent/open/a/f;
:cond_11
monitor-exit v1
return-void
:catchall_13
move-exception v0
monitor-exit v1
:try_end_15
.catchall {:try_start_3 .. :try_end_15} :catchall_13
throw v0
.end method
.method public static final b(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/4 v1, 0x2
const/4 v2, 0x0
invoke-virtual {v0, v1, p0, p1, v2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public static final b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/16 v1, 0x10
invoke-virtual {v0, v1, p0, p1, p2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method protected static c()Ljava/io/File;
.registers 8
const/4 v0, 0x0
sget-object v2, Lcom/tencent/open/a/c;->d:Ljava/lang/String;
:try_start_3
invoke-static {}, Lcom/tencent/open/a/d$b;->b()Lcom/tencent/open/a/d$c;
move-result-object v1
if-eqz v1, :cond_14
invoke-virtual {v1}, Lcom/tencent/open/a/d$c;->c()J
move-result-wide v4
sget-wide v6, Lcom/tencent/open/a/c;->f:J
:try_end_f
.catch Ljava/lang/Throwable; {:try_start_3 .. :try_end_f} :catch_20
cmp-long v1, v4, v6
if-lez v1, :cond_14
const/4 v0, 0x1
:cond_14
:goto_14
if-eqz v0, :cond_25
new-instance v0, Ljava/io/File;
invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;
move-result-object v1
invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
:goto_1f
return-object v0
:catch_20
move-exception v1
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_14
:cond_25
new-instance v0, Ljava/io/File;
invoke-static {}, Lcom/tencent/open/utils/c;->c()Ljava/io/File;
move-result-object v1
invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
goto :goto_1f
.end method
.method public static final c(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/4 v1, 0x4
const/4 v2, 0x0
invoke-virtual {v0, v1, p0, p1, v2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public static final d(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/16 v1, 0x8
const/4 v2, 0x0
invoke-virtual {v0, v1, p0, p1, v2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public static final e(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/tencent/open/a/f;->a()Lcom/tencent/open/a/f;
move-result-object v0
const/16 v1, 0x10
const/4 v2, 0x0
invoke-virtual {v0, v1, p0, p1, v2}, Lcom/tencent/open/a/f;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
# virtual methods
.method protected a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.registers 14
const/4 v8, 0x0
const/16 v2, 0x20
sget-boolean v0, Lcom/tencent/open/a/f;->d:Z
if-eqz v0, :cond_14
invoke-static {}, Lcom/tencent/open/utils/c;->b()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-eqz v1, :cond_32
const-string/jumbo v0, "default"
:cond_14
:goto_14
sget-object v1, Lcom/tencent/open/a/e;->a:Lcom/tencent/open/a/e;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
move v2, p1
move-object v6, p2
move-object v7, p3
move-object v8, p4
invoke-virtual/range {v1 .. v8}, Lcom/tencent/open/a/e;->b(ILjava/lang/Thread;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
sget v0, Lcom/tencent/open/a/c;->b:I
invoke-static {v0, p1}, Lcom/tencent/open/a/d$a;->a(II)Z
move-result v0
if-eqz v0, :cond_31
iget-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
if-nez v0, :cond_75
:cond_31
:goto_31
return-void
:cond_32
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string/jumbo v1, " SDK_VERSION:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string/jumbo v1, "3.3.0.lite"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
iget-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
if-eqz v0, :cond_31
sget-object v1, Lcom/tencent/open/a/e;->a:Lcom/tencent/open/a/e;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
const-string/jumbo v6, "openSDK_LOG"
invoke-virtual/range {v1 .. v8}, Lcom/tencent/open/a/e;->b(ILjava/lang/Thread;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
iget-object v1, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
const-string/jumbo v6, "openSDK_LOG"
invoke-virtual/range {v1 .. v8}, Lcom/tencent/open/a/a;->b(ILjava/lang/Thread;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
const/4 v0, 0x0
sput-boolean v0, Lcom/tencent/open/a/f;->d:Z
goto :goto_14
:cond_75
iget-object v1, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
move v2, p1
move-object v6, p2
move-object v7, p3
move-object v8, p4
invoke-virtual/range {v1 .. v8}, Lcom/tencent/open/a/a;->b(ILjava/lang/Thread;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
goto :goto_31
.end method
.method protected d()V
.registers 2
iget-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
if-eqz v0, :cond_11
iget-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
invoke-virtual {v0}, Lcom/tencent/open/a/a;->a()V
iget-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
invoke-virtual {v0}, Lcom/tencent/open/a/a;->b()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/tencent/open/a/f;->b:Lcom/tencent/open/a/a;
:cond_11
return-void
.end method