INervLbs$CppProxy.smali

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


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/overwall/config/INervLbs;
.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 35
    const-class v0, Lsg/bigo/overwall/config/INervLbs;

    return-void
.end method

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

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

    .line 39
    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/INervLbs$CppProxy;->destroyed:Ljava/util/concurrent/atomic/AtomicBoolean;

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-eqz v2, :cond_14

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

    return-void

    .line 43
    :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_getBackupDomain(J)Ljava/lang/String;
.end method

.method private native native_getBackupIp(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_getHardcodeIP(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_getLbsDomain(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_getMobileDomains(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_getProxyDomain(J)Ljava/lang/String;
.end method


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

    .line 50
    iget-object v0, p0, Lsg/bigo/overwall/config/INervLbs$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 51
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$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 55
    invoke-virtual {p0}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->_djinni_private_destroy()V

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

    return-void
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getBackupDomain(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 108
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getBackupDomain(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 110
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getBackupIp(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 148
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getBackupIp(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 150
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getHardcodeIP(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 128
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getHardcodeIP(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 130
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getLbsDomain(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 68
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getLbsDomain(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 70
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getMobileDomains(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 88
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getMobileDomains(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 90
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getMobileDomains(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 163
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$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 168
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$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 170
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method

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

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_1b

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

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getProxyDomain(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 188
    :catch_d
    :try_start_d
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

    invoke-direct {p0, v0, v1}, Lsg/bigo/overwall/config/INervLbs$CppProxy;->native_getProxyDomain(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 190
    :catch_14
    iget-wide v0, p0, Lsg/bigo/overwall/config/INervLbs$CppProxy;->nativeRef:J

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

    move-result-object v0

    return-object v0

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

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

    move-result-object v0

    return-object v0
.end method