Nerv.smali

.class public abstract Lsg/bigo/nerv/Nerv;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/nerv/Nerv$CppProxy;
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static init(Lsg/bigo/nerv/NervConfig;)Lsg/bigo/nerv/Nerv;
    .registers 3

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_15

    .line 217
    :try_start_6
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->init(Lsg/bigo/nerv/NervConfig;)Lsg/bigo/nerv/Nerv;

    move-result-object p0
    :try_end_a
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_a} :catch_b

    return-object p0

    .line 220
    :catch_b
    :try_start_b
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->init(Lsg/bigo/nerv/NervConfig;)Lsg/bigo/nerv/Nerv;

    move-result-object p0
    :try_end_f
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_b .. :try_end_f} :catch_10

    return-object p0

    .line 222
    :catch_10
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->init(Lsg/bigo/nerv/NervConfig;)Lsg/bigo/nerv/Nerv;

    move-result-object p0

    return-object p0

    .line 226
    :cond_15
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->init(Lsg/bigo/nerv/NervConfig;)Lsg/bigo/nerv/Nerv;

    move-result-object p0

    return-object p0
.end method

.method public static instance()Lsg/bigo/nerv/Nerv;
    .registers 2

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_15

    .line 199
    :try_start_6
    invoke-static {}, Lsg/bigo/nerv/Nerv$CppProxy;->instance()Lsg/bigo/nerv/Nerv;

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

    return-object v0

    .line 202
    :catch_b
    :try_start_b
    invoke-static {}, Lsg/bigo/nerv/Nerv$CppProxy;->instance()Lsg/bigo/nerv/Nerv;

    move-result-object v0
    :try_end_f
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_b .. :try_end_f} :catch_10

    return-object v0

    .line 204
    :catch_10
    invoke-static {}, Lsg/bigo/nerv/Nerv$CppProxy;->instance()Lsg/bigo/nerv/Nerv;

    move-result-object v0

    return-object v0

    .line 208
    :cond_15
    invoke-static {}, Lsg/bigo/nerv/Nerv$CppProxy;->instance()Lsg/bigo/nerv/Nerv;

    move-result-object v0

    return-object v0
.end method

.method public static wrapUrlWithLocalProxy(Ljava/lang/String;)Ljava/lang/String;
    .registers 3

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_15

    .line 235
    :try_start_6
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0
    :try_end_a
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_a} :catch_b

    return-object p0

    .line 238
    :catch_b
    :try_start_b
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0
    :try_end_f
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_b .. :try_end_f} :catch_10

    return-object p0

    .line 240
    :catch_10
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0

    .line 244
    :cond_15
    invoke-static {p0}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static wrapUrlWithLocalProxy2(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .registers 4

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

    const/16 v1, 0x15

    if-ge v0, v1, :cond_15

    .line 253
    :try_start_6
    invoke-static {p0, p1}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy2(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0
    :try_end_a
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_a} :catch_b

    return-object p0

    .line 257
    :catch_b
    :try_start_b
    invoke-static {p0, p1}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy2(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0
    :try_end_f
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_b .. :try_end_f} :catch_10

    return-object p0

    .line 260
    :catch_10
    invoke-static {p0, p1}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy2(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0

    .line 265
    :cond_15
    invoke-static {p0, p1}, Lsg/bigo/nerv/Nerv$CppProxy;->wrapUrlWithLocalProxy2(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method


# virtual methods
.method public abstract IsSupportTranscodeTs(Ljava/lang/String;)Z
.end method

.method public abstract appendABKeyValue(Ljava/lang/String;Ljava/lang/String;)V
.end method

.method public abstract clearCache()V
.end method

.method public abstract clearTokenCache()V
.end method

.method public abstract configConnectionPool(Lsg/bigo/nerv/ChanType;Lsg/bigo/nerv/ConnectionPoolConfig;)V
.end method

.method public abstract copyLocalVideoToCache(Ljava/lang/String;Ljava/lang/String;)I
.end method

.method public abstract deleteCache(Ljava/lang/String;)V
.end method

.method public abstract destroy()V
.end method

.method public abstract fetchM3u8Url(Ljava/lang/String;Lsg/bigo/nerv/M3u8UrlFetchListener;JZ)V
.end method

.method public abstract findTask(ILsg/bigo/nerv/TaskType;Ljava/lang/String;Ljava/lang/String;)Lsg/bigo/nerv/TaskInfo;
.end method

.method public abstract getAllTaskCnt()I
.end method

.method public abstract getAllTaskInfo()Ljava/lang/String;
.end method

.method public abstract getAllTaskMapInfo()Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation
.end method

.method public abstract getAllTasks()Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Lsg/bigo/nerv/TaskInfo;",
            ">;"
        }
    .end annotation
.end method

.method public abstract getCacheAvailableSpace()J
.end method

.method public abstract getCacheDirSize()J
.end method

.method public abstract getCacheFileInfo(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method public abstract getCacheFilePath(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.end method

.method public abstract getCachePath(Ljava/lang/String;)Ljava/lang/String;
.end method

.method public abstract getCacheProgress(Ljava/lang/String;Ljava/lang/String;)I
.end method

.method public abstract getPlayCacheSize()J
.end method

.method public abstract getPlayStat(I)Lsg/bigo/nerv/PlayStatMap;
.end method

.method public abstract getRealTimeIpPort()J
.end method

.method public abstract getRealTimeSpeed(I)I
.end method

.method public abstract getRunningStat(I)Lsg/bigo/nerv/PlayStat;
.end method

.method public abstract getStatController()Lsg/bigo/nerv/StatController;
.end method

.method public abstract getStreamStat(I)Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end method

.method public abstract getVersion()I
.end method

.method public abstract initLogger(Ljava/lang/String;BZ)V
.end method

.method public abstract isCacheDone(Ljava/lang/String;Ljava/lang/String;)Z
.end method

.method public abstract isCacheFull()Z
.end method

.method public abstract isLocalTokenExists(Lsg/bigo/nerv/ChanType;)Z
.end method

.method public abstract markPlayEnd(I)V
.end method

.method public abstract markPlayStart()I
.end method

.method public abstract newStreamTask(Lsg/bigo/nerv/TaskType;Ljava/lang/String;Lsg/bigo/nerv/ChanSpecEnum;Lsg/bigo/nerv/TaskStrategy;)Lsg/bigo/nerv/FileInputStream;
.end method

.method public abstract newTask(Lsg/bigo/nerv/TaskType;Ljava/lang/String;Ljava/lang/String;Lsg/bigo/nerv/TaskStrategy;JI)Lsg/bigo/nerv/TaskInfo;
.end method

.method public abstract newUploadTask(Lsg/bigo/nerv/TaskType;Ljava/lang/String;Lsg/bigo/nerv/TaskStrategy;ILjava/util/HashMap;JLsg/bigo/nerv/ChanType;Z)Lsg/bigo/nerv/TaskInfo;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lsg/bigo/nerv/TaskType;",
            "Ljava/lang/String;",
            "Lsg/bigo/nerv/TaskStrategy;",
            "I",
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;J",
            "Lsg/bigo/nerv/ChanType;",
            "Z)",
            "Lsg/bigo/nerv/TaskInfo;"
        }
    .end annotation
.end method

.method public abstract onBackground()V
.end method

.method public abstract onClientIpChanged(I)I
.end method

.method public abstract onForeground()V
.end method

.method public abstract onNetworkChanged(Lsg/bigo/nerv/NetworkType;)V
.end method

.method public abstract onUserChanged(JI)V
.end method

.method public abstract scheduleTask(ILsg/bigo/nerv/TaskStrategy;)Z
.end method

.method public abstract setCacheThreshold(JJJ)V
.end method

.method public abstract setChanCount(Lsg/bigo/nerv/ChanSpecEnum;I)V
.end method

.method public abstract setClientInfo(Ljava/util/HashMap;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/Short;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation
.end method

.method public abstract setClientIpExprieTime(J)V
.end method

.method public abstract setDebugIpPort(Lsg/bigo/nerv/ChanType;Ljava/util/ArrayList;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lsg/bigo/nerv/ChanType;",
            "Ljava/util/ArrayList<",
            "Lsg/bigo/nerv/ChanIPPort;",
            ">;)V"
        }
    .end annotation
.end method

.method public abstract setDebugShortVideoLevel(Lsg/bigo/nerv/ShortVideoLevel;)V
.end method

.method public abstract setGlobalEventListener(Lsg/bigo/nerv/GlobalEventListener;)V
.end method

.method public abstract setGlobalPlayEventListener(Lsg/bigo/nerv/GlobalPlayEventListener;)V
.end method

.method public abstract setLoggerProvider(Lsg/bigo/nerv/LoggerProvider;)V
.end method

.method public abstract setM3u8NextTsFetcher(Lsg/bigo/nerv/M3u8NextTsFetcher;)V
.end method

.method public abstract setNervEventListener(Lsg/bigo/nerv/NervEventListener;)V
.end method

.method public abstract setNetDetectSrvData([B)V
.end method

.method public abstract setNetDetectStatHelper(Lsg/bigo/nerv/NetDetectStatHelper;)V
.end method

.method public abstract setNetworkStatus(Lsg/bigo/nerv/NetworkStatus;)V
.end method

.method public abstract setPlaySessionId(Ljava/lang/String;)V
.end method

.method public abstract setRegetTokenHandler(Lsg/bigo/nerv/RegetTokenHandler;)V
.end method

.method public abstract setResolution(II)V
.end method

.method public abstract setShortVideoAbTestInfo(Ljava/lang/String;Ljava/util/HashMap;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation
.end method

.method public abstract setShortVideoChanType(Lsg/bigo/nerv/ChanType;)V
.end method

.method public abstract setShortVideoExtensions(Ljava/lang/String;Ljava/util/HashMap;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation
.end method

.method public abstract setStatManager(Lsg/bigo/nerv/IStatManager;)V
.end method

.method public abstract setStorageInfoGetter(Lsg/bigo/nerv/StorageInfoGetter;)V
.end method

.method public abstract setTaskListener(Lsg/bigo/nerv/TaskListener;)V
.end method

.method public abstract setToken(Lsg/bigo/nerv/ChanType;Ljava/util/ArrayList;[BIIJZ)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lsg/bigo/nerv/ChanType;",
            "Ljava/util/ArrayList<",
            "Lsg/bigo/nerv/ChanIPPort;",
            ">;[BIIJZ)V"
        }
    .end annotation
.end method

.method public abstract setTokenRaw(Lsg/bigo/nerv/ChanType;[BIZ)V
.end method

.method public abstract setTokenRawTransfer(Lsg/bigo/nerv/ChanType;[BZ)V
.end method

.method public abstract setTransferNervSameToken(Z)V
.end method

.method public abstract stopAll()V
.end method

.method public abstract triggerConnectionPool(Lsg/bigo/nerv/ChanType;)V
.end method

.method public abstract updateABConfigs(Ljava/util/HashMap;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation
.end method

.method public abstract updateTaskParam(IJLjava/util/HashMap;)Z
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(IJ",
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Ljava/lang/String;",
            ">;)Z"
        }
    .end annotation
.end method

.method public abstract updateXFile(Ljava/lang/String;Ljava/lang/String;)Z
.end method