IBackupLbsConfig$CppProxy.smali

.class final Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;
.super Lsg/bigo/overwall/config/IBackupLbsConfig;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/overwall/config/IBackupLbsConfig;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = "CppProxy"
.end annotation


# static fields
.field static final synthetic $assertionsDisabled:Z


# instance fields
.field private final destroyed:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private final nativeRef:J


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 38
    const-class v0, Lsg/bigo/overwall/config/IBackupLbsConfig;

    return-void
.end method

.method private constructor <init>(J)V
    .registers 6

    .line 45
    invoke-direct {p0}, Lsg/bigo/overwall/config/IBackupLbsConfig;-><init>()V

    .line 42
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->destroyed:Ljava/util/concurrent/atomic/AtomicBoolean;

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-eqz v2, :cond_14

    .line 47
    iput-wide p1, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    return-void

    .line 46
    :cond_14
    new-instance p1, Ljava/lang/RuntimeException;

    const-string p2, "nativeRef is zero"

    invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method private native nativeDestroy(J)V
.end method

.method private native native_getBackupIpVersion(J)S
.end method

.method private native native_getBackupIps(J)Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method private native native_getHardCodeIpVersion(J)S
.end method

.method private native native_getHardcodeIps(J)Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method private native native_getHostNames(J)Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method private native native_getIpUrls(J)Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method private native native_getPorts(J)Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Short;",
            ">;"
        }
    .end annotation
.end method

.method private native native_getSwitch(J)I
.end method

.method private native native_getTags(J)Ljava/lang/String;
.end method


# virtual methods
.method public final _djinni_private_destroy()V
    .registers 3

    .line 53
    iget-object v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->destroyed:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->getAndSet(Z)Z

    move-result v0

    if-nez v0, :cond_e

    .line 54
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeDestroy(J)V

    :cond_e
    return-void
.end method

.method protected final finalize()V
    .registers 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .line 58
    invoke-virtual {p0}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->_djinni_private_destroy()V

    .line 59
    invoke-super {p0}, Ljava/lang/Object;->finalize()V

    return-void
.end method

.method public final getBackupIpVersion()S
    .registers 3

    .line 106
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 108
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIpVersion(J)S

    move-result v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return v0

    .line 111
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIpVersion(J)S

    move-result v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return v0

    .line 113
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIpVersion(J)S

    move-result v0

    return v0

    .line 117
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIpVersion(J)S

    move-result v0

    return v0
.end method

.method public final getBackupIps()Ljava/util/ArrayList;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 126
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 128
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIps(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 131
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIps(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 133
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIps(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0

    .line 137
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getBackupIps(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method public final getHardCodeIpVersion()S
    .registers 3

    .line 146
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 148
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardCodeIpVersion(J)S

    move-result v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return v0

    .line 151
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardCodeIpVersion(J)S

    move-result v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return v0

    .line 153
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardCodeIpVersion(J)S

    move-result v0

    return v0

    .line 157
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardCodeIpVersion(J)S

    move-result v0

    return v0
.end method

.method public final getHardcodeIps()Ljava/util/ArrayList;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 166
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 168
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardcodeIps(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 171
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardcodeIps(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 173
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardcodeIps(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0

    .line 177
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHardcodeIps(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method public final getHostNames()Ljava/util/ArrayList;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 186
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 188
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHostNames(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 191
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHostNames(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 193
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHostNames(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0

    .line 197
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getHostNames(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method public final getIpUrls()Ljava/util/ArrayList;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 206
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 208
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getIpUrls(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 211
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getIpUrls(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 213
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getIpUrls(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0

    .line 217
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getIpUrls(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method public final getPorts()Ljava/util/ArrayList;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Short;",
            ">;"
        }
    .end annotation

    .line 226
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 228
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getPorts(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 231
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getPorts(J)Ljava/util/ArrayList;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 233
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getPorts(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0

    .line 237
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getPorts(J)Ljava/util/ArrayList;

    move-result-object v0

    return-object v0
.end method

.method public final getSwitch()I
    .registers 3

    .line 66
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 68
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getSwitch(J)I

    move-result v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return v0

    .line 71
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getSwitch(J)I

    move-result v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return v0

    .line 73
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getSwitch(J)I

    move-result v0

    return v0

    .line 77
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getSwitch(J)I

    move-result v0

    return v0
.end method

.method public final getTags()Ljava/lang/String;
    .registers 3

    .line 86
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

    .line 88
    :try_start_6
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getTags(J)Ljava/lang/String;

    move-result-object v0
    :try_end_c
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_c} :catch_d

    return-object v0

    .line 91
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getTags(J)Ljava/lang/String;

    move-result-object v0
    :try_end_13
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_d .. :try_end_13} :catch_14

    return-object v0

    .line 93
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getTags(J)Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 97
    :cond_1b
    iget-wide v0, p0, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/IBackupLbsConfig$CppProxy;->native_getTags(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method