a.smali
.class public Lcom/cmcm/ad/data/modules/e/a;
.super Ljava/lang/Object;
.source "AdDataProviderHelper.java"
# static fields
.field private static volatile a:Lcom/cmcm/ad/data/modules/e/a;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 13
const/4 v0, 0x0
sput-object v0, Lcom/cmcm/ad/data/modules/e/a;->a:Lcom/cmcm/ad/data/modules/e/a;
return-void
.end method
.method private constructor <init>()V
.registers 1
.prologue
.line 16
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 17
return-void
.end method
.method public static a()Lcom/cmcm/ad/data/modules/e/a;
.registers 2
.prologue
.line 20
sget-object v0, Lcom/cmcm/ad/data/modules/e/a;->a:Lcom/cmcm/ad/data/modules/e/a;
if-nez v0, :cond_13
.line 21
const-class v1, Lcom/cmcm/ad/data/modules/e/a;
monitor-enter v1
.line 22
:try_start_7
sget-object v0, Lcom/cmcm/ad/data/modules/e/a;->a:Lcom/cmcm/ad/data/modules/e/a;
if-nez v0, :cond_12
.line 23
new-instance v0, Lcom/cmcm/ad/data/modules/e/a;
invoke-direct {v0}, Lcom/cmcm/ad/data/modules/e/a;-><init>()V
sput-object v0, Lcom/cmcm/ad/data/modules/e/a;->a:Lcom/cmcm/ad/data/modules/e/a;
.line 25
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
.line 27
:cond_13
sget-object v0, Lcom/cmcm/ad/data/modules/e/a;->a:Lcom/cmcm/ad/data/modules/e/a;
return-object v0
.line 25
: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(Ljava/lang/String;)V
.registers 7
.prologue
const/4 v4, 0x0
.line 31
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->isUIProcess()Z
move-result v0
if-nez v0, :cond_13
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->isWorkerProcess()Z
move-result v0
if-nez v0, :cond_13
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->isServiceProcess()Z
move-result v0
if-eqz v0, :cond_51
.line 32
:cond_13
invoke-static {}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a()V
.line 33
invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->f()Z
move-result v0
if-eqz v0, :cond_1f
.line 34
invoke-static {}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->j()V
.line 36
:cond_1f
const-wide/32 v0, 0x1499700
invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;
move-result-object v2
invoke-static {v0, v1, v2}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a(JLandroid/content/Context;)V
.line 37
invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->b()Landroid/content/Context;
move-result-object v0
sget-object v1, Lcom/cleanmaster/hpsharelib/ad/AdsPosidConst$CmClean;->PICKS_MID:Ljava/lang/String;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
.line 38
invoke-static {}, Lcom/cleanmaster/pluginscommonlib/n;->e()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
const-string v3, ""
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
.line 37
invoke-static {v0, v1, v2, v4}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Z)V
.line 39
const/16 v0, 0x3e8
invoke-static {v0}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a(I)V
.line 40
invoke-static {p1, v4}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a(Ljava/lang/String;Z)V
.line 42
:cond_51
return-void
.end method
.method public b(Ljava/lang/String;)V
.registers 3
.prologue
.line 45
invoke-static {}, Lcom/cmcm/ad/data/dataProvider/adlogic/e/g;->a()Z
move-result v0
if-nez v0, :cond_7
.line 50
:goto_6
return-void
.line 48
:cond_7
const/4 v0, 0x0
invoke-static {p1, v0}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->a(Ljava/lang/String;Z)V
.line 49
invoke-static {}, Lcom/cmcm/ad/data/dataProviderCoordinator/juhe/a;->b()V
goto :goto_6
.end method