bts.smali
.class public Ldxoptimizer/bts;
.super Ljava/lang/Object;
.source "ReportManager.java"
# interfaces
.implements Ldxoptimizer/aep$d;
# static fields
.field private static b:Ldxoptimizer/bts;
# instance fields
.field private a:Landroid/content/Context;
# direct methods
.method private constructor <init>(Landroid/content/Context;)V
.registers 2
.prologue
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 24
iput-object p1, p0, Ldxoptimizer/bts;->a:Landroid/content/Context;
.line 25
return-void
.end method
.method public static a(Landroid/content/Context;)Ldxoptimizer/bts;
.registers 3
.prologue
.line 28
sget-object v0, Ldxoptimizer/bts;->b:Ldxoptimizer/bts;
if-nez v0, :cond_13
.line 29
const-class v1, Ldxoptimizer/bts;
monitor-enter v1
.line 30
:try_start_7
sget-object v0, Ldxoptimizer/bts;->b:Ldxoptimizer/bts;
if-nez v0, :cond_12
.line 31
new-instance v0, Ldxoptimizer/bts;
invoke-direct {v0, p0}, Ldxoptimizer/bts;-><init>(Landroid/content/Context;)V
sput-object v0, Ldxoptimizer/bts;->b:Ldxoptimizer/bts;
.line 33
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
.line 35
:cond_13
sget-object v0, Ldxoptimizer/bts;->b:Ldxoptimizer/bts;
return-object v0
.line 33
:catchall_16
move-exception v0
:try_start_17
monitor-exit v1
:try_end_18
.catchall {:try_start_17 .. :try_end_18} :catchall_16
throw v0
.end method
# virtual methods
.method public a()V
.registers 2
.prologue
.line 39
invoke-static {}, Ldxoptimizer/aep;->a()Ldxoptimizer/aep;
move-result-object v0
invoke-virtual {v0, p0}, Ldxoptimizer/aep;->a(Ldxoptimizer/aep$d;)V
.line 40
return-void
.end method
.method public b()V
.registers 5
.prologue
.line 57
iget-object v0, p0, Ldxoptimizer/bts;->a:Landroid/content/Context;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-static {v0, v2, v3}, Ldxoptimizer/btm;->f(Landroid/content/Context;J)V
.line 58
return-void
.end method
.method public onChanged(Ldxoptimizer/aep$c;)V
.registers 6
.prologue
.line 44
if-eqz p1, :cond_31
instance-of v0, p1, Ldxoptimizer/aep$a;
if-eqz v0, :cond_31
.line 45
check-cast p1, Ldxoptimizer/aep$a;
.line 46
iget v0, p1, Ldxoptimizer/aep$a;->c:I
const/4 v1, 0x2
if-eq v0, v1, :cond_12
iget v0, p1, Ldxoptimizer/aep$a;->c:I
const/4 v1, 0x4
if-ne v0, v1, :cond_31
.line 48
:cond_12
iget-object v0, p0, Ldxoptimizer/bts;->a:Landroid/content/Context;
invoke-static {v0}, Ldxoptimizer/btm;->u(Landroid/content/Context;)J
move-result-wide v0
.line 49
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
sub-long v0, v2, v0
const-wide/32 v2, 0x36ee80
cmp-long v0, v0, v2
if-gez v0, :cond_31
.line 50
const-string v0, "tb_pkg_i_suc"
iget-object v1, p1, Ldxoptimizer/aep$a;->a:Ljava/lang/String;
const/4 v2, 0x1
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v0, v1, v2}, Ldxoptimizer/cgh;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Number;)V
.line 54
:cond_31
return-void
.end method