dg.smali
.class public Lcom/tendcloud/tenddata/dg;
.super Lcom/tendcloud/tenddata/cy;
.source "td"
# direct methods
.method public constructor <init>()V
.registers 3
.line 1
invoke-direct {p0}, Lcom/tendcloud/tenddata/cy;-><init>()V
.line 2
invoke-static {}, Lcom/tendcloud/tenddata/dg;->c()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
const-string v1, "bootTime"
invoke-virtual {p0, v1, v0}, Lcom/tendcloud/tenddata/cy;->a(Ljava/lang/String;Ljava/lang/Object;)V
.line 3
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
const-string v1, "activeTime"
invoke-virtual {p0, v1, v0}, Lcom/tendcloud/tenddata/cy;->a(Ljava/lang/String;Ljava/lang/Object;)V
.line 4
invoke-static {}, Lcom/tendcloud/tenddata/dg;->a()I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const-string v1, "freeDiskSpace"
invoke-virtual {p0, v1, v0}, Lcom/tendcloud/tenddata/cy;->a(Ljava/lang/String;Ljava/lang/Object;)V
.line 5
sget-object v0, Lcom/tendcloud/tenddata/ab;->g:Landroid/content/Context;
invoke-static {v0}, Lcom/tendcloud/tenddata/p;->e(Landroid/content/Context;)I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const-string v1, "batteryLevel"
invoke-virtual {p0, v1, v0}, Lcom/tendcloud/tenddata/cy;->a(Ljava/lang/String;Ljava/lang/Object;)V
.line 6
sget-object v0, Lcom/tendcloud/tenddata/ab;->g:Landroid/content/Context;
invoke-static {v0}, Lcom/tendcloud/tenddata/p;->f(Landroid/content/Context;)I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const-string v1, "batteryState"
invoke-virtual {p0, v1, v0}, Lcom/tendcloud/tenddata/cy;->a(Ljava/lang/String;Ljava/lang/Object;)V
return-void
.end method
.method public static a()I
.registers 2
.line 1
:try_start_0
invoke-static {}, Lcom/tendcloud/tenddata/p;->s()[I
move-result-object v0
if-eqz v0, :cond_a
const/4 v1, 0x1
.line 2
aget v0, v0, v1
:try_end_9
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_9} :catch_a
return v0
:catch_a
:cond_a
const/4 v0, 0x0
return v0
.end method
.method public static c()J
.registers 4
.line 1
:try_start_0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
:try_end_8
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_8} :catch_a
sub-long/2addr v0, v2
return-wide v0
:catch_a
const-wide/16 v0, -0x1
return-wide v0
.end method