c.smali
.class public Lcom/fulishe/shadow/mediation/d/c;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Lcom/fulishe/shadow/mediation/a/h;
# static fields
.field public static volatile a:Lcom/fulishe/shadow/mediation/d/c;
# instance fields
.field public b:J
.field public c:Lorg/json/JSONObject;
# direct methods
.method public constructor <init>()V
.registers 7
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
:try_start_3
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v0
invoke-interface {v0}, Lcom/fulishe/shadow/base/m;->a()Landroid/content/Context;
move-result-object v0
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v1
const-string v2, "key_adv_polling_update_time"
const-wide/16 v4, 0x1
invoke-interface {v1, v0, v2, v4, v5}, Lcom/fulishe/shadow/base/m;->a(Landroid/content/Context;Ljava/lang/String;J)J
move-result-wide v2
iput-wide v2, p0, Lcom/fulishe/shadow/mediation/d/c;->b:J
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v1
const-string v2, "KEY_ADV_POLLING_JSON"
const-string v3, "{}"
invoke-interface {v1, v0, v2, v3}, Lcom/fulishe/shadow/base/m;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
iput-object v1, p0, Lcom/fulishe/shadow/mediation/d/c;->c:Lorg/json/JSONObject;
:try_end_2c
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_2c} :catch_2d
:goto_2c
return-void
:catch_2d
move-exception v0
goto :goto_2c
.end method
.method public static c()Lcom/fulishe/shadow/mediation/d/c;
.registers 2
sget-object v0, Lcom/fulishe/shadow/mediation/d/c;->a:Lcom/fulishe/shadow/mediation/d/c;
if-nez v0, :cond_13
const-class v1, Lcom/fulishe/shadow/mediation/d/c;
monitor-enter v1
:try_start_7
sget-object v0, Lcom/fulishe/shadow/mediation/d/c;->a:Lcom/fulishe/shadow/mediation/d/c;
if-nez v0, :cond_12
new-instance v0, Lcom/fulishe/shadow/mediation/d/c;
invoke-direct {v0}, Lcom/fulishe/shadow/mediation/d/c;-><init>()V
sput-object v0, Lcom/fulishe/shadow/mediation/d/c;->a:Lcom/fulishe/shadow/mediation/d/c;
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
:cond_13
sget-object v0, Lcom/fulishe/shadow/mediation/d/c;->a:Lcom/fulishe/shadow/mediation/d/c;
return-object v0
: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()J
.registers 3
iget-wide v0, p0, Lcom/fulishe/shadow/mediation/d/c;->b:J
return-wide v0
.end method
.method public a(Lorg/json/JSONObject;)V
.registers 8
:try_start_0
iput-object p1, p0, Lcom/fulishe/shadow/mediation/d/c;->c:Lorg/json/JSONObject;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/fulishe/shadow/mediation/d/c;->b:J
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v0
invoke-interface {v0}, Lcom/fulishe/shadow/base/m;->a()Landroid/content/Context;
move-result-object v0
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
:try_end_13
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_13} :catch_29
move-result-object v1
const-string v2, "key_adv_polling_update_time"
:try_start_16
iget-wide v4, p0, Lcom/fulishe/shadow/mediation/d/c;->b:J
invoke-interface {v1, v0, v2, v4, v5}, Lcom/fulishe/shadow/base/m;->b(Landroid/content/Context;Ljava/lang/String;J)V
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
:try_end_1e
.catch Ljava/lang/Exception; {:try_start_16 .. :try_end_1e} :catch_29
move-result-object v1
const-string v2, "KEY_ADV_POLLING_JSON"
:try_start_21
invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v0, v2, v3}, Lcom/fulishe/shadow/base/m;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
:try_end_28
.catch Ljava/lang/Exception; {:try_start_21 .. :try_end_28} :catch_29
:goto_28
return-void
:catch_29
move-exception v0
goto :goto_28
.end method
.method public b()Lorg/json/JSONObject;
.registers 2
iget-object v0, p0, Lcom/fulishe/shadow/mediation/d/c;->c:Lorg/json/JSONObject;
return-object v0
.end method