bgp.smali

.class public Ldxoptimizer/bgp;
.super Ljava/lang/Object;
.source "MobileDataManager.java"


# static fields
.field private static volatile a:Ldxoptimizer/bgp;


# instance fields
.field private b:Landroid/content/Context;

.field private c:Ldxoptimizer/bgn;


# direct methods
.method private constructor <init>(Landroid/content/Context;)V
    .registers 3

    .prologue
    .line 41
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 42
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Ldxoptimizer/bgp;->b:Landroid/content/Context;

    .line 43
    return-void
.end method

.method public static a(Landroid/content/Context;)Ldxoptimizer/bgp;
    .registers 3

    .prologue
    .line 31
    sget-object v0, Ldxoptimizer/bgp;->a:Ldxoptimizer/bgp;

    if-nez v0, :cond_13

    .line 32
    const-class v1, Ldxoptimizer/bgp;

    monitor-enter v1

    .line 33
    :try_start_7
    sget-object v0, Ldxoptimizer/bgp;->a:Ldxoptimizer/bgp;

    if-nez v0, :cond_12

    .line 34
    new-instance v0, Ldxoptimizer/bgp;

    invoke-direct {v0, p0}, Ldxoptimizer/bgp;-><init>(Landroid/content/Context;)V

    sput-object v0, Ldxoptimizer/bgp;->a:Ldxoptimizer/bgp;

    .line 36
    :cond_12
    monitor-exit v1
    :try_end_13
    .catchall {:try_start_7 .. :try_end_13} :catchall_16

    .line 38
    :cond_13
    sget-object v0, Ldxoptimizer/bgp;->a:Ldxoptimizer/bgp;

    return-object v0

    .line 36
    :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

.method private g()Ldxoptimizer/bgn;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 48
    iget-object v0, p0, Ldxoptimizer/bgp;->c:Ldxoptimizer/bgn;

    .line 49
    if-eqz v0, :cond_f

    invoke-interface {v0}, Ldxoptimizer/bgn;->asBinder()Landroid/os/IBinder;

    move-result-object v1

    invoke-interface {v1}, Landroid/os/IBinder;->isBinderAlive()Z

    move-result v1

    if-eqz v1, :cond_f

    .line 54
    :goto_e
    return-object v0

    .line 52
    :cond_f
    iget-object v0, p0, Ldxoptimizer/bgp;->b:Landroid/content/Context;

    invoke-static {v0}, Ldxoptimizer/byd;->a(Landroid/content/Context;)Ldxoptimizer/byd;

    move-result-object v0

    invoke-virtual {v0}, Ldxoptimizer/byd;->g()Landroid/os/IBinder;

    move-result-object v0

    .line 53
    invoke-static {v0}, Ldxoptimizer/bgn$a;->a(Landroid/os/IBinder;)Ldxoptimizer/bgn;

    move-result-object v0

    iput-object v0, p0, Ldxoptimizer/bgp;->c:Ldxoptimizer/bgn;

    goto :goto_e
.end method


# virtual methods
.method public a()J
    .registers 3

    .prologue
    .line 78
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 79
    if-eqz v0, :cond_c

    .line 80
    invoke-interface {v0}, Ldxoptimizer/bgn;->a()J
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-wide v0

    .line 85
    :goto_a
    return-wide v0

    .line 82
    :catch_b
    move-exception v0

    .line 85
    :cond_c
    const-wide/16 v0, 0x0

    goto :goto_a
.end method

.method public a(I)Ljava/util/List;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/List",
            "<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .prologue
    .line 66
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 67
    if-eqz v0, :cond_c

    .line 68
    invoke-interface {v0, p1}, Ldxoptimizer/bgn;->a(I)Ljava/util/List;
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-object v0

    .line 73
    :goto_a
    return-object v0

    .line 70
    :catch_b
    move-exception v0

    .line 73
    :cond_c
    const/4 v0, 0x0

    goto :goto_a
.end method

.method public a(JI)V
    .registers 5

    .prologue
    .line 108
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 109
    if-eqz v0, :cond_9

    .line 110
    invoke-interface {v0, p1, p2, p3}, Ldxoptimizer/bgn;->a(JI)V
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_a

    .line 115
    :cond_9
    :goto_9
    return-void

    .line 112
    :catch_a
    move-exception v0

    goto :goto_9
.end method

.method public b()J
    .registers 3

    .prologue
    .line 166
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 167
    if-eqz v0, :cond_c

    .line 168
    invoke-interface {v0}, Ldxoptimizer/bgn;->c()J
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-wide v0

    .line 173
    :goto_a
    return-wide v0

    .line 170
    :catch_b
    move-exception v0

    .line 173
    :cond_c
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Ldxoptimizer/bhl;->b(J)J

    move-result-wide v0

    goto :goto_a
.end method

.method public b(I)Ljava/util/Map;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/Long;",
            "Ldxoptimizer/bhu;",
            ">;"
        }
    .end annotation

    .prologue
    .line 95
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 96
    if-eqz v0, :cond_c

    .line 97
    invoke-interface {v0, p1}, Ldxoptimizer/bgn;->b(I)Ljava/util/Map;
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-object v0

    .line 102
    :goto_a
    return-object v0

    .line 99
    :catch_b
    move-exception v0

    .line 102
    :cond_c
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    goto :goto_a
.end method

.method public b(JI)V
    .registers 5

    .prologue
    .line 120
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 121
    if-eqz v0, :cond_9

    .line 122
    invoke-interface {v0, p1, p2, p3}, Ldxoptimizer/bgn;->b(JI)V
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_a

    .line 127
    :cond_9
    :goto_9
    return-void

    .line 124
    :catch_a
    move-exception v0

    goto :goto_9
.end method

.method public c()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ldxoptimizer/bhx;",
            ">;"
        }
    .end annotation

    .prologue
    .line 178
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 179
    if-eqz v0, :cond_c

    .line 180
    invoke-interface {v0}, Ldxoptimizer/bgn;->i()Ljava/util/List;
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-object v0

    .line 185
    :goto_a
    return-object v0

    .line 182
    :catch_b
    move-exception v0

    .line 185
    :cond_c
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    goto :goto_a
.end method

.method public d()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ldxoptimizer/bhw;",
            ">;"
        }
    .end annotation

    .prologue
    .line 190
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 191
    if-eqz v0, :cond_c

    .line 192
    invoke-interface {v0}, Ldxoptimizer/bgn;->j()Ljava/util/List;
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result-object v0

    .line 197
    :goto_a
    return-object v0

    .line 194
    :catch_b
    move-exception v0

    .line 197
    :cond_c
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    goto :goto_a
.end method

.method public e()I
    .registers 2

    .prologue
    .line 202
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 203
    if-eqz v0, :cond_c

    .line 204
    invoke-interface {v0}, Ldxoptimizer/bgn;->k()I
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result v0

    .line 209
    :goto_a
    return v0

    .line 206
    :catch_b
    move-exception v0

    .line 209
    :cond_c
    const/4 v0, -0x1

    goto :goto_a
.end method

.method public f()Z
    .registers 2

    .prologue
    .line 214
    :try_start_0
    invoke-direct {p0}, Ldxoptimizer/bgp;->g()Ldxoptimizer/bgn;

    move-result-object v0

    .line 215
    if-eqz v0, :cond_15

    .line 216
    invoke-interface {v0}, Ldxoptimizer/bgn;->l()Z
    :try_end_9
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

    move-result v0

    .line 222
    :goto_a
    return v0

    .line 218
    :catch_b
    move-exception v0

    .line 220
    invoke-static {}, Ldxoptimizer/bil;->a()Ldxoptimizer/bil;

    move-result-object v0

    invoke-virtual {v0}, Ldxoptimizer/bil;->e()Z

    move-result v0

    goto :goto_a

    .line 222
    :cond_15
    const/4 v0, 0x0

    goto :goto_a
.end method