b.smali
.class public Lcom/hz/xloglite/d/a/b;
.super Ljava/lang/Object;
.source ""
# direct methods
.method public static a(Landroid/content/Context;)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/hz/xloglite/d/a;->b(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "1"
:goto_8
return-object v0
:cond_9
const-string v0, "0"
goto :goto_8
.end method
.method public static b(Landroid/content/Context;)Ljava/lang/String;
.registers 4
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.permission.ACCESS_FINE_LOCATION"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "android.permission.ACCESS_COARSE_LOCATION"
aput-object v2, v0, v1
invoke-static {p0, v0}, Lcom/hz/xloglite/d/a;->a(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_16
const-string v0, "1"
:goto_15
return-object v0
:cond_16
const-string v0, "0"
goto :goto_15
.end method
.method public static c(Landroid/content/Context;)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/hz/xloglite/d/a;->e(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "1"
:goto_8
return-object v0
:cond_9
const-string v0, "0"
goto :goto_8
.end method
.method public static d(Landroid/content/Context;)Ljava/lang/String;
.registers 4
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.permission.WRITE_EXTERNAL_STORAGE"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "android.permission.READ_EXTERNAL_STORAGE"
aput-object v2, v0, v1
invoke-static {p0, v0}, Lcom/hz/xloglite/d/a;->a(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_16
const-string v0, "1"
:goto_15
return-object v0
:cond_16
const-string v0, "0"
goto :goto_15
.end method
.method public static e(Landroid/content/Context;)Ljava/lang/String;
.registers 4
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.permission.READ_PHONE_STATE"
aput-object v2, v0, v1
invoke-static {p0, v0}, Lcom/hz/xloglite/d/a;->a(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_11
const-string v0, "1"
:goto_10
return-object v0
:cond_11
const-string v0, "0"
goto :goto_10
.end method
.method public static f(Landroid/content/Context;)Ljava/lang/String;
.registers 4
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.permission.READ_EXTERNAL_STORAGE"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "android.permission.WRITE_EXTERNAL_STORAGE"
aput-object v2, v0, v1
invoke-static {p0, v0}, Lcom/hz/xloglite/d/a;->a(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_16
const-string v0, "1"
:goto_15
return-object v0
:cond_16
const-string v0, "0"
goto :goto_15
.end method
.method public static g(Landroid/content/Context;)Ljava/lang/String;
.registers 4
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "android.permission.READ_CONTACTS"
aput-object v2, v0, v1
invoke-static {p0, v0}, Lcom/hz/xloglite/d/a;->a(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_11
const-string v0, "1"
:goto_10
return-object v0
:cond_11
const-string v0, "0"
goto :goto_10
.end method
.method public static h(Landroid/content/Context;)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/hz/xloglite/d/a/a;->a(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "1"
:goto_8
return-object v0
:cond_9
const-string v0, "0"
goto :goto_8
.end method
.method public static i(Landroid/content/Context;)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/hz/xloglite/d/a;->c(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "1"
:goto_8
return-object v0
:cond_9
const-string v0, "0"
goto :goto_8
.end method
.method public static j(Landroid/content/Context;)Ljava/lang/String;
.registers 2
invoke-static {p0}, Lcom/hz/xloglite/d/a;->d(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_9
const-string v0, "1"
:goto_8
return-object v0
:cond_9
const-string v0, "0"
goto :goto_8
.end method
.method public static k(Landroid/content/Context;)Ljava/lang/String;
.registers 4
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
const-string v0, "notification"
:try_start_7
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->a(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_e
.catch Ljava/lang/Exception; {:try_start_7 .. :try_end_e} :catch_64
const-string v0, "location"
:try_start_10
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->b(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_17
.catch Ljava/lang/Exception; {:try_start_10 .. :try_end_17} :catch_64
const-string v0, "locationSys"
:try_start_19
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->c(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_20
.catch Ljava/lang/Exception; {:try_start_19 .. :try_end_20} :catch_64
const-string v0, "storage"
:try_start_22
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->d(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_29
.catch Ljava/lang/Exception; {:try_start_22 .. :try_end_29} :catch_64
const-string v0, "device"
:try_start_2b
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->e(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_32
.catch Ljava/lang/Exception; {:try_start_2b .. :try_end_32} :catch_64
const-string v0, "photo"
:try_start_34
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->f(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_3b
.catch Ljava/lang/Exception; {:try_start_34 .. :try_end_3b} :catch_64
const-string v0, "contact"
:try_start_3d
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->g(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_44
.catch Ljava/lang/Exception; {:try_start_3d .. :try_end_44} :catch_64
const-string v0, "floatWindow"
:try_start_46
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->h(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_4d
.catch Ljava/lang/Exception; {:try_start_46 .. :try_end_4d} :catch_64
const-string v0, "appUsage"
:try_start_4f
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->i(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_56
.catch Ljava/lang/Exception; {:try_start_4f .. :try_end_56} :catch_64
const-string v0, "batteryOpt"
:try_start_58
invoke-static {p0}, Lcom/hz/xloglite/d/a/b;->j(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_5f
.catch Ljava/lang/Exception; {:try_start_58 .. :try_end_5f} :catch_64
:goto_5f
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
:catch_64
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_5f
.end method