Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
.class public final Lcom/mbridge/msdk/playercommon/BuildConfig;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final BUILD_TYPE:Ljava/lang/String; = "release"
.field public static final DEBUG:Z = false
.field public static final FLAVOR:Ljava/lang/String; = "oversea"
.field public static final LIBRARY_PACKAGE_NAME:Ljava/lang/String; = "com.mbridge.msdk.playercommon"
# direct methods
.method public constructor <init>()V
.locals 0
.line 6
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,192 @@
.class public Lcom/mbridge/msdk/playercommon/DefaultVideoPlayerStatusListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
# static fields
.field protected static final TAG:Ljava/lang/String; = "DefaultVideoPlayerStatusListener"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onBufferingEnd()V
.locals 2
const-string v0, "DefaultVideoPlayerStatusListener"
const-string v1, "OnBufferingEnd"
.line 37
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onBufferingStart(Ljava/lang/String;)V
.locals 2
.line 32
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "OnBufferingStart:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "DefaultVideoPlayerStatusListener"
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlayCompleted()V
.locals 2
const-string v0, "DefaultVideoPlayerStatusListener"
const-string v1, "onPlayCompleted"
.line 17
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlayError(Ljava/lang/String;)V
.locals 2
.line 22
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "onPlayError:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "DefaultVideoPlayerStatusListener"
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlayProgress(II)V
.locals 2
.line 27
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "onPlayProgress:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ",allDuration:"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string p2, "DefaultVideoPlayerStatusListener"
invoke-static {p2, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlayProgressMS(II)V
.locals 0
const-string p1, "DefaultVideoPlayerStatusListener"
const-string p2, "onPlayProgressMS:"
.line 47
invoke-static {p1, p2}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlaySetDataSourceError(Ljava/lang/String;)V
.locals 2
.line 42
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "onPlaySetDataSourceError:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "DefaultVideoPlayerStatusListener"
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public onPlayStarted(I)V
.locals 2
.line 12
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "onPlayStarted:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "DefaultVideoPlayerStatusListener"
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,37 @@
.class public Lcom/mbridge/msdk/playercommon/PlayerErrorConstant;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final ILLEGAL_VIDEO_ADDRESS:Ljava/lang/String; = "illegal video address"
.field public static final MEDIAPLAYER_INIT_FAILED:Ljava/lang/String; = "MediaPlayer init error"
.field public static final MEDIAPLAYER_NO_INIT:Ljava/lang/String; = "MediaPlayer need to init "
.field public static final PLAYERING_TIMEOUT:Ljava/lang/String; = "play buffering tiemout"
.field public static final PLAY_CANNOT_PALY:Ljava/lang/String; = "mediaplayer cannot play"
.field public static final PLAY_DOWNLOAD_TASK_ILLEGAL:Ljava/lang/String; = "download task is null"
.field public static final PLAY_FILE_SIZE_ILLEGAL:Ljava/lang/String; = "file size is null"
.field public static final PLAY_URL_ILLEGAL:Ljava/lang/String; = "play url is null"
.field public static final PREPARE_TIMEOUT:Ljava/lang/String; = "mediaplayer prepare timeout"
.field public static final SET_DATA_SOURCE_ERROR:Ljava/lang/String; = "set data source error"
.field public static final UNKNOW_ERROR:Ljava/lang/String; = "unknow error"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,14 @@
.class synthetic Lcom/mbridge/msdk/playercommon/PlayerView$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/PlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,338 @@
.class Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/SurfaceHolder$Callback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/PlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "MySurfaceHoldeCallback"
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
# direct methods
.method private constructor <init>(Lcom/mbridge/msdk/playercommon/PlayerView;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 396
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/mbridge/msdk/playercommon/PlayerView;Lcom/mbridge/msdk/playercommon/PlayerView$1;)V
.locals 0
.line 396
invoke-direct {p0, p1}, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;-><init>(Lcom/mbridge/msdk/playercommon/PlayerView;)V
return-void
.end method
# virtual methods
.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
.locals 0
const-string p1, "PlayerView"
:try_start_0
const-string p2, "surfaceChanged"
.line 427
invoke-static {p1, p2}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 429
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$300(Lcom/mbridge/msdk/playercommon/PlayerView;)Z
move-result p2
const/4 p3, 0x0
if-eqz p2, :cond_3
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$500(Lcom/mbridge/msdk/playercommon/PlayerView;)Z
move-result p2
if-nez p2, :cond_3
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->isComplete()Z
move-result p2
if-nez p2, :cond_3
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$600(Lcom/mbridge/msdk/playercommon/PlayerView;)Z
move-result p2
if-nez p2, :cond_3
sget-boolean p2, Lcom/mbridge/msdk/foundation/d/b;->c:Z
if-nez p2, :cond_3
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 430
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object p2
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->hasPrepare()Z
move-result p2
if-eqz p2, :cond_0
const-string p2, "surfaceChanged start===="
.line 431
invoke-static {p1, p2}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 432
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->resumeStart()V
goto :goto_0
:catch_0
move-exception p2
goto :goto_2
:cond_0
const-string p2, "surfaceChanged PLAY===="
.line 434
invoke-static {p1, p2}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 435
invoke-virtual {p2, p3}, Lcom/mbridge/msdk/playercommon/PlayerView;->playVideo(I)Z
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 436
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->resumeOMSDK()V
:goto_0
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 438
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$600(Lcom/mbridge/msdk/playercommon/PlayerView;)Z
move-result p2
if-eqz p2, :cond_3
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 439
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$700(Lcom/mbridge/msdk/playercommon/PlayerView;)Z
move-result p2
if-eqz p2, :cond_2
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 440
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object p2
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->hasPrepare()Z
move-result p2
if-nez p2, :cond_1
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 441
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object p2
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->prepare()V
:cond_1
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 443
invoke-static {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object p2
invoke-virtual {p2, p3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->start(Z)V
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 444
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->resumeOMSDK()V
goto :goto_1
:cond_2
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 446
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/PlayerView;->pause()V
:cond_3
:goto_1
iget-object p2, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 451
invoke-static {p2, p3}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$302(Lcom/mbridge/msdk/playercommon/PlayerView;Z)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_3
.line 453
:goto_2
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p2
invoke-static {p1, p2}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:goto_3
return-void
.end method
.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
.locals 2
const-string v0, "PlayerView"
:try_start_0
const-string v1, "surfaceCreated"
.line 401
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 402
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object v1
if-eqz v1, :cond_0
if-eqz p1, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 403
invoke-static {v1, p1}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$202(Lcom/mbridge/msdk/playercommon/PlayerView;Landroid/view/SurfaceHolder;)Landroid/view/SurfaceHolder;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 404
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object v1
invoke-virtual {v1, p1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->setDisplay(Landroid/view/SurfaceHolder;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 407
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
return-void
.end method
.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
.locals 2
const-string p1, "PlayerView"
:try_start_0
const-string v0, "surfaceDestroyed "
.line 414
invoke-static {p1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
const/4 v1, 0x1
.line 415
invoke-static {v0, v1}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$302(Lcom/mbridge/msdk/playercommon/PlayerView;Z)Z
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 416
invoke-static {v0, v1}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$402(Lcom/mbridge/msdk/playercommon/PlayerView;Z)Z
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 417
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/PlayerView;->access$100(Lcom/mbridge/msdk/playercommon/PlayerView;)Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->pause()V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/PlayerView$MySurfaceHoldeCallback;->this$0:Lcom/mbridge/msdk/playercommon/PlayerView;
.line 418
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/PlayerView;->pauseOmsdk()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 420
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {p1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,19 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/PlayerView$OnPlayerViewVisibleListener;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/PlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "OnPlayerViewVisibleListener"
.end annotation
# virtual methods
.method public abstract playerViewVisibleCallback()V
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
.class public final Lcom/mbridge/msdk/playercommon/R$attr;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "attr"
.end annotation
# static fields
.field public static corner:I = 0x7f0400b4
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,90 @@
.class public final Lcom/mbridge/msdk/playercommon/R$color;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "color"
.end annotation
# static fields
.field public static mbridge_black:I = 0x7f0600ab
.field public static mbridge_black_66:I = 0x7f0600ac
.field public static mbridge_black_alpha_50:I = 0x7f0600ad
.field public static mbridge_cm_feedback_dialog_chice_bg_pressed:I = 0x7f0600ae
.field public static mbridge_cm_feedback_rb_text_color_color_list:I = 0x7f0600af
.field public static mbridge_common_white:I = 0x7f0600b3
.field public static mbridge_cpb_blue:I = 0x7f0600b4
.field public static mbridge_cpb_blue_dark:I = 0x7f0600b5
.field public static mbridge_cpb_green:I = 0x7f0600b6
.field public static mbridge_cpb_green_dark:I = 0x7f0600b7
.field public static mbridge_cpb_grey:I = 0x7f0600b8
.field public static mbridge_cpb_red:I = 0x7f0600b9
.field public static mbridge_cpb_red_dark:I = 0x7f0600ba
.field public static mbridge_cpb_white:I = 0x7f0600bb
.field public static mbridge_dd_grey:I = 0x7f0600bc
.field public static mbridge_ee_grey:I = 0x7f0600bd
.field public static mbridge_purple_200:I = 0x7f0600c7
.field public static mbridge_purple_500:I = 0x7f0600c8
.field public static mbridge_purple_700:I = 0x7f0600c9
.field public static mbridge_teal_200:I = 0x7f0600da
.field public static mbridge_teal_700:I = 0x7f0600db
.field public static mbridge_video_common_alertview_bg:I = 0x7f0600dc
.field public static mbridge_video_common_alertview_cancel_button_bg_default:I = 0x7f0600dd
.field public static mbridge_video_common_alertview_cancel_button_bg_pressed:I = 0x7f0600de
.field public static mbridge_video_common_alertview_cancel_button_textcolor:I = 0x7f0600df
.field public static mbridge_video_common_alertview_confirm_button_bg_default:I = 0x7f0600e0
.field public static mbridge_video_common_alertview_confirm_button_bg_pressed:I = 0x7f0600e1
.field public static mbridge_video_common_alertview_confirm_button_textcolor:I = 0x7f0600e2
.field public static mbridge_video_common_alertview_content_textcolor:I = 0x7f0600e3
.field public static mbridge_video_common_alertview_feedback_rb_bg:I = 0x7f0600e4
.field public static mbridge_video_common_alertview_title_textcolor:I = 0x7f0600e5
.field public static mbridge_white:I = 0x7f0600e6
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,48 @@
.class public final Lcom/mbridge/msdk/playercommon/R$dimen;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "dimen"
.end annotation
# static fields
.field public static mbridge_video_common_alertview_bg_padding:I = 0x7f0700fa
.field public static mbridge_video_common_alertview_button_height:I = 0x7f0700fb
.field public static mbridge_video_common_alertview_button_margintop:I = 0x7f0700fc
.field public static mbridge_video_common_alertview_button_radius:I = 0x7f0700fd
.field public static mbridge_video_common_alertview_button_textsize:I = 0x7f0700fe
.field public static mbridge_video_common_alertview_button_width:I = 0x7f0700ff
.field public static mbridge_video_common_alertview_content_margintop:I = 0x7f070100
.field public static mbridge_video_common_alertview_content_size:I = 0x7f070101
.field public static mbridge_video_common_alertview_contentview_maxwidth:I = 0x7f070102
.field public static mbridge_video_common_alertview_contentview_minwidth:I = 0x7f070103
.field public static mbridge_video_common_alertview_title_size:I = 0x7f070104
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,108 @@
.class public final Lcom/mbridge/msdk/playercommon/R$drawable;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "drawable"
.end annotation
# static fields
.field public static mbridge_cm_alertview_bg:I = 0x7f0801a2
.field public static mbridge_cm_alertview_cancel_bg:I = 0x7f0801a3
.field public static mbridge_cm_alertview_cancel_bg_nor:I = 0x7f0801a4
.field public static mbridge_cm_alertview_cancel_bg_pressed:I = 0x7f0801a5
.field public static mbridge_cm_alertview_confirm_bg:I = 0x7f0801a6
.field public static mbridge_cm_alertview_confirm_bg_nor:I = 0x7f0801a7
.field public static mbridge_cm_alertview_confirm_bg_pressed:I = 0x7f0801a8
.field public static mbridge_cm_backward:I = 0x7f0801a9
.field public static mbridge_cm_backward_disabled:I = 0x7f0801aa
.field public static mbridge_cm_backward_nor:I = 0x7f0801ab
.field public static mbridge_cm_backward_selected:I = 0x7f0801ac
.field public static mbridge_cm_browser:I = 0x7f0801ad
.field public static mbridge_cm_btn_shake:I = 0x7f0801ae
.field public static mbridge_cm_circle_50black:I = 0x7f0801af
.field public static mbridge_cm_end_animation:I = 0x7f0801b0
.field public static mbridge_cm_exits:I = 0x7f0801b1
.field public static mbridge_cm_exits_nor:I = 0x7f0801b2
.field public static mbridge_cm_exits_selected:I = 0x7f0801b3
.field public static mbridge_cm_feedback_btn_bg:I = 0x7f0801b4
.field public static mbridge_cm_feedback_choice_btn_bg:I = 0x7f0801b5
.field public static mbridge_cm_feedback_choice_btn_bg_nor:I = 0x7f0801b6
.field public static mbridge_cm_feedback_choice_btn_bg_pressed:I = 0x7f0801b7
.field public static mbridge_cm_feedback_dialog_view_bg:I = 0x7f0801b8
.field public static mbridge_cm_feedback_dialog_view_btn_bg:I = 0x7f0801b9
.field public static mbridge_cm_forward:I = 0x7f0801ba
.field public static mbridge_cm_forward_disabled:I = 0x7f0801bb
.field public static mbridge_cm_forward_nor:I = 0x7f0801bc
.field public static mbridge_cm_forward_selected:I = 0x7f0801bd
.field public static mbridge_cm_head:I = 0x7f0801be
.field public static mbridge_cm_highlight:I = 0x7f0801bf
.field public static mbridge_cm_progress:I = 0x7f0801c0
.field public static mbridge_cm_progress_drawable:I = 0x7f0801c1
.field public static mbridge_cm_progress_icon:I = 0x7f0801c2
.field public static mbridge_cm_refresh:I = 0x7f0801c3
.field public static mbridge_cm_refresh_nor:I = 0x7f0801c4
.field public static mbridge_cm_refresh_selected:I = 0x7f0801c5
.field public static mbridge_cm_tail:I = 0x7f0801c6
.field public static mbridge_download_message_dialog_star_sel:I = 0x7f0801c9
.field public static mbridge_download_message_dilaog_star_nor:I = 0x7f0801ca
.field public static mbridge_shape_btn:I = 0x7f08021c
.field public static mbridge_shape_line:I = 0x7f08021e
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,48 @@
.class public final Lcom/mbridge/msdk/playercommon/R$id;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "id"
.end annotation
# static fields
.field public static mbridge_interstitial_pb:I = 0x7f0a0187
.field public static mbridge_playercommon_ll_loading:I = 0x7f0a01b8
.field public static mbridge_playercommon_ll_sur_container:I = 0x7f0a01b9
.field public static mbridge_playercommon_rl_root:I = 0x7f0a01ba
.field public static mbridge_progressBar:I = 0x7f0a01bc
.field public static mbridge_video_common_alertview_cancel_button:I = 0x7f0a020d
.field public static mbridge_video_common_alertview_confirm_button:I = 0x7f0a020e
.field public static mbridge_video_common_alertview_contentview:I = 0x7f0a020f
.field public static mbridge_video_common_alertview_contentview_scrollview:I = 0x7f0a0210
.field public static mbridge_video_common_alertview_private_action_button:I = 0x7f0a0211
.field public static mbridge_video_common_alertview_titleview:I = 0x7f0a0212
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,36 @@
.class public final Lcom/mbridge/msdk/playercommon/R$layout;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "layout"
.end annotation
# static fields
.field public static mbridge_cm_alertview:I = 0x7f0d0066
.field public static mbridge_cm_feedback_notice_layout:I = 0x7f0d0067
.field public static mbridge_cm_feedbackview:I = 0x7f0d0068
.field public static mbridge_cm_loading_layout:I = 0x7f0d0069
.field public static mbridge_playercommon_player_view:I = 0x7f0d0073
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,50 @@
.class public final Lcom/mbridge/msdk/playercommon/R$string;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "string"
.end annotation
# static fields
.field public static mbridge_cm_feedback_btn_text:I = 0x7f12013c
.field public static mbridge_cm_feedback_dialog_close_close:I = 0x7f12013d
.field public static mbridge_cm_feedback_dialog_close_submit:I = 0x7f12013e
.field public static mbridge_cm_feedback_dialog_content_fraud:I = 0x7f12013f
.field public static mbridge_cm_feedback_dialog_content_misleading:I = 0x7f120140
.field public static mbridge_cm_feedback_dialog_content_not_play:I = 0x7f120141
.field public static mbridge_cm_feedback_dialog_content_other:I = 0x7f120142
.field public static mbridge_cm_feedback_dialog_content_por_violence:I = 0x7f120143
.field public static mbridge_cm_feedback_dialog_content_sound_problems:I = 0x7f120144
.field public static mbridge_cm_feedback_dialog_privacy_des:I = 0x7f120145
.field public static mbridge_cm_feedback_dialog_submit_notice:I = 0x7f120146
.field public static mbridge_cm_feedback_dialog_title:I = 0x7f120147
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,36 @@
.class public final Lcom/mbridge/msdk/playercommon/R$style;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "style"
.end annotation
# static fields
.field public static AppBaseTheme:I = 0x7f130005
.field public static MBridgeAppTheme:I = 0x7f1300ec
.field public static mbridge_common_activity_style:I = 0x7f1301f8
.field public static mbridge_transparent_common_activity_style:I = 0x7f1301fa
.field public static myDialog:I = 0x7f1301fc
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,44 @@
.class public final Lcom/mbridge/msdk/playercommon/R$styleable;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "styleable"
.end annotation
# static fields
.field public static RoundRectImageView:[I
.field public static RoundRectImageView_corner:I
# direct methods
.method public static constructor <clinit>()V
.locals 1
const v0, 0x7f0400b4
filled-new-array {v0}, [I
move-result-object v0
sput-object v0, Lcom/mbridge/msdk/playercommon/R$styleable;->RoundRectImageView:[I
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,29 @@
.class public final Lcom/mbridge/msdk/playercommon/R;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/R$attr;,
Lcom/mbridge/msdk/playercommon/R$color;,
Lcom/mbridge/msdk/playercommon/R$dimen;,
Lcom/mbridge/msdk/playercommon/R$drawable;,
Lcom/mbridge/msdk/playercommon/R$id;,
Lcom/mbridge/msdk/playercommon/R$layout;,
Lcom/mbridge/msdk/playercommon/R$string;,
Lcom/mbridge/msdk/playercommon/R$style;,
Lcom/mbridge/msdk/playercommon/R$styleable;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,42 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$1;
.super Landroid/os/Handler;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Landroid/os/Looper;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$1;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 73
invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.locals 0
.line 75
invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V
return-void
.end method

View File

@@ -0,0 +1,122 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnPlayErrorOnMainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$errStr:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->val$errStr:Ljava/lang/String;
.line 504
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 508
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 510
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayError(Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 512
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 516
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 518
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$10;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayError(Ljava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 520
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,122 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnPlaySetDataSourceError2MainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$errStr:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->val$errStr:Ljava/lang/String;
.line 537
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 541
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 543
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlaySetDataSourceError(Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 545
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 548
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 550
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$11;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlaySetDataSourceError(Ljava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 552
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,114 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnPlayCompletedOnMainThread()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 567
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 570
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 572
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayCompleted()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 574
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 577
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 579
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayCompleted()V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 581
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,268 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 185
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 10
const-string v0, "VideoFeedsPlayer"
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 189
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v1
if-eqz v1, :cond_4
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
invoke-virtual {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->exoPlayerIsPlaying()Z
move-result v1
if-eqz v1, :cond_4
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 190
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v2
invoke-virtual {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getCurrentPosition()J
move-result-wide v2
invoke-static {v1, v2, v3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$102(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;J)J
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 191
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)J
move-result-wide v1
long-to-float v1, v1
const/high16 v2, 0x447a0000 # 1000.0f
div-float/2addr v1, v2
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 192
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)J
move-result-wide v2
const-wide/16 v4, 0x3e8
rem-long/2addr v2, v4
long-to-float v2, v2
.line 193
invoke-static {v1}, Ljava/lang/Math;->round(F)I
move-result v1
.line 195
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "currentPosition:"
invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v6, " mCurrentPosition:"
invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
invoke-static {v6}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)J
move-result-wide v6
invoke-virtual {v3, v6, v7}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v0, v3}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 198
invoke-static {v3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v3
const-wide/16 v6, 0x0
if-eqz v3, :cond_0
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
invoke-static {v3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v3
invoke-virtual {v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v8
cmp-long v3, v8, v6
if-lez v3, :cond_0
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 200
invoke-static {v3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v3
invoke-virtual {v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v8
div-long/2addr v8, v4
const/4 v3, 0x0
cmpl-float v3, v2, v3
if-lez v3, :cond_1
const/high16 v3, 0x43fa0000 # 500.0f
cmpg-float v2, v2, v3
if-gez v2, :cond_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:catch_0
move-exception v1
goto :goto_1
:cond_0
move-wide v8, v6
:cond_1
:goto_0
if-ltz v1, :cond_2
cmp-long v2, v8, v6
if-lez v2, :cond_2
int-to-long v2, v1
const-wide/16 v6, 0x1
add-long/2addr v6, v8
cmp-long v2, v2, v6
if-gez v2, :cond_2
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
long-to-int v3, v8
.line 206
invoke-static {v2, v1, v3}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;II)V
:cond_2
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
const/4 v2, 0x0
.line 209
invoke-static {v1, v2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$302(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Z)Z
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 210
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$400(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Z
move-result v1
if-nez v1, :cond_3
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 211
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$500(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
:cond_3
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 214
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$600(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Landroid/os/Handler;
move-result-object v1
invoke-virtual {v1, p0, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
.line 217
:goto_1
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_4
:goto_2
return-void
.end method

View File

@@ -0,0 +1,98 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;
.super Ljava/util/TimerTask;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->startBufferIngTimer(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$bufferMsg:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->val$bufferMsg:Ljava/lang/String;
.line 260
invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
const-string v0, "VideoFeedsPlayer"
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 264
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$700(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Z
move-result v1
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$400(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Z
move-result v1
if-eqz v1, :cond_1
goto :goto_0
:catch_0
move-exception v1
goto :goto_1
:cond_0
:goto_0
const-string v1, "\u7f13\u51b2\u8d85\u65f6"
.line 265
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$3;->val$bufferMsg:Ljava/lang/String;
.line 266
invoke-static {v1, v2}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$800(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
.line 269
:goto_1
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_2
return-void
.end method

View File

@@ -0,0 +1,63 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$4;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->showLoading()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 336
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 339
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$900(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 340
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$900(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Landroid/view/View;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
:cond_0
return-void
.end method

View File

@@ -0,0 +1,100 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->hideLoading()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 356
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 360
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Ljava/lang/ref/WeakReference;
move-result-object v0
const/16 v1, 0x8
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Ljava/lang/ref/WeakReference;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 361
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1000(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Ljava/lang/ref/WeakReference;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 364
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$900(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 365
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$900(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Landroid/view/View;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,130 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnPlayProgressOnMainThread(II)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$allDurationSecond:I
.field final synthetic val$curPlayPosition:I
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;II)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$curPlayPosition:I
iput p3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$allDurationSecond:I
.line 379
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 4
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 383
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 385
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$curPlayPosition:I
iget v3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$allDurationSecond:I
invoke-interface {v0, v2, v3}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgress(II)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 387
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 391
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 393
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$curPlayPosition:I
iget v3, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$6;->val$allDurationSecond:I
invoke-interface {v0, v2, v3}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgress(II)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 395
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,122 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnBufferingStarOnMainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$bufferMsg:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->val$bufferMsg:Ljava/lang/String;
.line 410
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 414
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 416
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->val$bufferMsg:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingStart(Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 418
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 422
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 424
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$7;->val$bufferMsg:Ljava/lang/String;
invoke-interface {v0, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingStart(Ljava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 426
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,114 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnBufferinEndOnMainThread()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 441
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 445
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
const-string v1, "VideoFeedsPlayer"
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 447
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingEnd()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 449
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 453
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 455
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingEnd()V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 457
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

View File

@@ -0,0 +1,122 @@
.class Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->postOnPlayStartOnMainThread(J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.field final synthetic val$allDuration:J
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;J)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
iput-wide p2, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->val$allDuration:J
.line 472
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->val$allDuration:J
long-to-int v0, v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 477
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v1
const-string v2, "VideoFeedsPlayer"
if-eqz v1, :cond_0
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 479
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v1
invoke-interface {v1, v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayStarted(I)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
.line 481
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v2, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 485
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v1
if-eqz v1, :cond_1
:try_start_1
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;
.line 487
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoFeedsPlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v1
invoke-interface {v1, v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayStarted(I)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_1
:catch_1
move-exception v0
.line 489
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v2, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_1
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,42 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$1;
.super Landroid/os/Handler;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Landroid/os/Looper;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$1;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 77
invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.locals 0
.line 79
invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V
return-void
.end method

View File

@@ -0,0 +1,80 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnBufferinEndOnMainThread()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 428
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 432
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 433
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingEnd()V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 436
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$10;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 437
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingEnd()V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,88 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlayStartOnMainThread(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$allDuration:I
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;I)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->val$allDuration:I
.line 451
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 455
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 456
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->val$allDuration:I
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayStarted(I)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 459
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 460
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$11;->val$allDuration:I
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayStarted(I)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,88 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlayErrorOnMainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$errStr:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->val$errStr:Ljava/lang/String;
.line 474
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 478
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 479
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayError(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 482
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 483
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$12;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayError(Ljava/lang/String;)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,88 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlaySetDataSourceError2MainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$errStr:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->val$errStr:Ljava/lang/String;
.line 499
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 503
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 504
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlaySetDataSourceError(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 506
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 507
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$13;->val$errStr:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlaySetDataSourceError(Ljava/lang/String;)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,80 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlayCompletedOnMainThread()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 521
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 524
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 525
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayCompleted()V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 527
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$14;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 528
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayCompleted()V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,257 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 150
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 10
const-string v0, "VideoNativePlayer"
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 154
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v1
if-eqz v1, :cond_4
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-virtual {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->exoPlayerIsPlaying()Z
move-result v1
if-eqz v1, :cond_4
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 155
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v2
invoke-virtual {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getCurrentPosition()J
move-result-wide v2
invoke-static {v1, v2, v3}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$102(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;J)J
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 156
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)J
move-result-wide v1
const-wide/16 v3, 0x3e8
div-long/2addr v1, v3
long-to-int v1, v1
.line 158
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v5, "currentPosition:"
invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v5, " mCurrentPosition:"
invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v5, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-static {v5}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)J
move-result-wide v5
invoke-virtual {v2, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v0, v2}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 162
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v2
const/4 v5, 0x0
if-eqz v2, :cond_0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v2
invoke-virtual {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v6
const-wide/16 v8, 0x0
cmp-long v2, v6, v8
if-lez v2, :cond_0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 163
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v2
invoke-virtual {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v6
div-long/2addr v6, v3
long-to-int v2, v6
goto :goto_0
:catch_0
move-exception v1
goto :goto_1
:cond_0
move v2, v5
:goto_0
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 166
invoke-static {v6}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$200(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Z
move-result v6
if-eqz v6, :cond_1
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 167
invoke-static {v6, v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;I)V
const-string v6, "onPlayStarted()"
.line 168
invoke-static {v0, v6}, Lcom/mbridge/msdk/foundation/tools/af;->c(Ljava/lang/String;Ljava/lang/String;)V
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 169
invoke-static {v6, v5}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$202(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Z)Z
:cond_1
if-ltz v1, :cond_2
if-lez v2, :cond_2
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 172
invoke-virtual {v6}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->exoPlayerIsPlaying()Z
move-result v6
if-eqz v6, :cond_2
iget-object v6, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 173
invoke-static {v6, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;II)V
:cond_2
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 176
invoke-static {v1, v5}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$502(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Z)Z
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 177
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$600(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Z
move-result v1
if-nez v1, :cond_3
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 178
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$700(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
:cond_3
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$2;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 181
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$800(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/os/Handler;
move-result-object v1
invoke-virtual {v1, p0, v3, v4}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
.line 184
:goto_1
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_4
:goto_2
return-void
.end method

View File

@@ -0,0 +1,187 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 189
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 9
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 193
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v0
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->exoPlayerIsPlaying()Z
move-result v0
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 195
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v1
invoke-virtual {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getCurrentPosition()J
move-result-wide v1
invoke-static {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$102(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;J)J
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 196
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)J
move-result-wide v0
const-wide/16 v2, 0x64
div-long/2addr v0, v2
iget-object v4, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 199
invoke-static {v4}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v4
const-wide/16 v5, 0x0
if-eqz v4, :cond_0
iget-object v4, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-static {v4}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v4
invoke-virtual {v4}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v7
cmp-long v4, v7, v5
if-lez v4, :cond_0
iget-object v4, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 200
invoke-static {v4}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object v4
invoke-virtual {v4}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;->getDuration()J
move-result-wide v7
div-long/2addr v7, v2
goto :goto_0
:catch_0
move-exception v0
goto :goto_1
:cond_0
move-wide v7, v5
:goto_0
cmp-long v0, v0, v5
if-ltz v0, :cond_1
cmp-long v0, v7, v5
if-lez v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 203
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->exoPlayerIsPlaying()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 204
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$100(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)J
move-result-wide v4
div-long/2addr v4, v2
invoke-static {v0, v4, v5, v7, v8}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$900(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;JJ)V
:cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$3;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 207
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$800(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/os/Handler;
move-result-object v0
invoke-virtual {v0, p0, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
:goto_1
const-string v1, "VideoNativePlayer"
.line 210
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_2
:goto_2
return-void
.end method

View File

@@ -0,0 +1,98 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;
.super Ljava/util/TimerTask;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->startBufferingTimer(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$bufferMsg:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->val$bufferMsg:Ljava/lang/String;
.line 254
invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
const-string v0, "VideoNativePlayer"
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 258
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1000(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Z
move-result v1
if-eqz v1, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$600(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Z
move-result v1
if-eqz v1, :cond_1
goto :goto_0
:catch_0
move-exception v1
goto :goto_1
:cond_0
:goto_0
const-string v1, "\u7f13\u51b2\u8d85\u65f6"
.line 259
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$4;->val$bufferMsg:Ljava/lang/String;
.line 260
invoke-static {v1, v2}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1100(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
.line 263
:goto_1
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
:goto_2
return-void
.end method

View File

@@ -0,0 +1,63 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$5;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->showLoading()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 321
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 324
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$5;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 325
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/view/View;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
:cond_0
return-void
.end method

View File

@@ -0,0 +1,63 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->hideLoading()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 341
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 345
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$6;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 346
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1200(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Landroid/view/View;
move-result-object v0
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
:cond_0
return-void
.end method

View File

@@ -0,0 +1,96 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlayProgressOnMainThread(II)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$allDurationSecond:I
.field final synthetic val$curPlayPosition:I
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;II)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$curPlayPosition:I
iput p3, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$allDurationSecond:I
.line 360
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 364
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 365
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$curPlayPosition:I
iget v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$allDurationSecond:I
invoke-interface {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgress(II)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 368
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 369
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$curPlayPosition:I
iget v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$7;->val$allDurationSecond:I
invoke-interface {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgress(II)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,104 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnPlayProgressMSOnMainThread(JJ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$allDurationSecond:J
.field final synthetic val$curPlayPosition:J
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;JJ)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput-wide p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$curPlayPosition:J
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$allDurationSecond:J
.line 382
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 4
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 386
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 387
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-wide v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$curPlayPosition:J
long-to-int v1, v1
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$allDurationSecond:J
long-to-int v2, v2
invoke-interface {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgressMS(II)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 390
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 391
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-wide v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$curPlayPosition:J
long-to-int v1, v1
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$8;->val$allDurationSecond:J
long-to-int v2, v2
invoke-interface {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onPlayProgressMS(II)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,88 @@
.class Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->postOnBufferingStarOnMainThread(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.field final synthetic val$bufferMsg:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->val$bufferMsg:Ljava/lang/String;
.line 405
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 409
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 410
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1300(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->val$bufferMsg:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingStart(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 413
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->this$0:Lcom/mbridge/msdk/playercommon/VideoNativePlayer;
.line 414
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/VideoNativePlayer;->access$1400(Lcom/mbridge/msdk/playercommon/VideoNativePlayer;)Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/VideoNativePlayer$9;->val$bufferMsg:Ljava/lang/String;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;->onBufferingStart(Ljava/lang/String;)V
:cond_1
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/VideoPlayerStatusListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onBufferingEnd()V
.end method
.method public abstract onBufferingStart(Ljava/lang/String;)V
.end method
.method public abstract onPlayCompleted()V
.end method
.method public abstract onPlayError(Ljava/lang/String;)V
.end method
.method public abstract onPlayProgress(II)V
.end method
.method public abstract onPlayProgressMS(II)V
.end method
.method public abstract onPlaySetDataSourceError(Ljava/lang/String;)V
.end method
.method public abstract onPlayStarted(I)V
.end method

View File

@@ -0,0 +1,604 @@
.class public abstract Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
# instance fields
.field private configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
.field private index:I
.field private readEndOfStream:Z
.field private state:I
.field private stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.field private streamFormats:[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.field private streamIsFinal:Z
.field private streamOffsetUs:J
.field private final trackType:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.line 28
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->trackType:I
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
return-void
.end method
.method public static supportsFormatDrm(Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmInitData;)Z
.locals 0
.param p0 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmInitData;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"*>;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmInitData;",
")Z"
}
.end annotation
if-nez p1, :cond_0
const/4 p0, 0x1
return p0
:cond_0
if-nez p0, :cond_1
const/4 p0, 0x0
return p0
.line 240
:cond_1
invoke-interface {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;->canAcquireSession(Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmInitData;)Z
move-result p0
return p0
.end method
# virtual methods
.method public final disable()V
.locals 3
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
const/4 v1, 0x0
const/4 v2, 0x1
if-ne v0, v2, :cond_0
goto :goto_0
:cond_0
move v2, v1
.line 129
:goto_0
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamFormats:[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
iput-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
.line 134
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onDisabled()V
return-void
.end method
.method public final enable(Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;JZJ)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
const/4 v1, 0x1
if-nez v0, :cond_0
move v0, v1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 62
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
.line 65
invoke-virtual {p0, p6}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onEnabled(Z)V
.line 66
invoke-virtual {p0, p2, p3, p7, p8}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->replaceStream([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;J)V
.line 67
invoke-virtual {p0, p4, p5, p6}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onPositionReset(JZ)V
return-void
.end method
.method public final getCapabilities()Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.locals 0
return-object p0
.end method
.method public final getConfiguration()Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
return-object v0
.end method
.method public final getIndex()I
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->index:I
return v0
.end method
.method public getMediaClock()Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public final getState()I
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
return v0
.end method
.method public final getStream()Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
return-object v0
.end method
.method public final getStreamFormats()[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamFormats:[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
return-object v0
.end method
.method public final getTrackType()I
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->trackType:I
return v0
.end method
.method public handleMessage(ILjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public final hasReadStreamToEnd()Z
.locals 1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
return v0
.end method
.method public final isCurrentStreamFinal()Z
.locals 1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
return v0
.end method
.method public final isSourceReady()Z
.locals 1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
if-eqz v0, :cond_0
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 227
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;->isReady()Z
move-result v0
:goto_0
return v0
.end method
.method public final maybeThrowStreamError()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 110
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;->maybeThrowError()V
return-void
.end method
.method public onDisabled()V
.locals 0
return-void
.end method
.method public onEnabled(Z)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onPositionReset(JZ)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onStarted()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onStopped()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onStreamChanged([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;J)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public final readSource(Lcom/mbridge/msdk/playercommon/exoplayer2/FormatHolder;Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/DecoderInputBuffer;Z)I
.locals 4
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 203
invoke-interface {v0, p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;->readData(Lcom/mbridge/msdk/playercommon/exoplayer2/FormatHolder;Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/DecoderInputBuffer;Z)I
move-result p3
const/4 v0, -0x4
if-ne p3, v0, :cond_2
.line 205
invoke-virtual {p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/Buffer;->isEndOfStream()Z
move-result p1
if-eqz p1, :cond_1
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, -0x3
:goto_0
return v0
.line 209
:cond_1
iget-wide v0, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/DecoderInputBuffer;->timeUs:J
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamOffsetUs:J
add-long/2addr v0, v2
iput-wide v0, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/DecoderInputBuffer;->timeUs:J
goto :goto_1
:cond_2
const/4 p2, -0x5
if-ne p3, p2, :cond_3
.line 211
iget-object p2, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/FormatHolder;->format:Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.line 212
iget-wide v0, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/Format;->subsampleOffsetUs:J
const-wide v2, 0x7fffffffffffffffL
cmp-long v2, v0, v2
if-eqz v2, :cond_3
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamOffsetUs:J
add-long/2addr v0, v2
.line 213
invoke-virtual {p2, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Format;->copyWithSubsampleOffsetUs(J)Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
move-result-object p2
.line 214
iput-object p2, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/FormatHolder;->format:Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
:cond_3
:goto_1
return p3
.end method
.method public final replaceStream([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
xor-int/lit8 v0, v0, 0x1
.line 80
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
const/4 p2, 0x0
iput-boolean p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamFormats:[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
iput-wide p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamOffsetUs:J
.line 85
invoke-virtual {p0, p1, p3, p4}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onStreamChanged([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;J)V
return-void
.end method
.method public final resetPosition(J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->readEndOfStream:Z
.line 117
invoke-virtual {p0, p1, p2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onPositionReset(JZ)V
return-void
.end method
.method public final setCurrentStreamFinal()V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamIsFinal:Z
return-void
.end method
.method public final setIndex(I)V
.locals 0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->index:I
return-void
.end method
.method public skipSource(J)I
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
iget-wide v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->streamOffsetUs:J
sub-long/2addr p1, v1
.line 222
invoke-interface {v0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;->skipData(J)I
move-result p1
return p1
.end method
.method public final start()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 72
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
const/4 v0, 0x2
iput v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
.line 74
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onStarted()V
return-void
.end method
.method public final stop()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
const/4 v1, 0x2
const/4 v2, 0x1
if-ne v0, v1, :cond_0
move v0, v2
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 122
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->state:I
.line 124
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/BaseRenderer;->onStopped()V
return-void
.end method
.method public supportsMixedMimeTypeAdaptation()I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 v0, 0x0
return v0
.end method

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioContentType;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "AudioContentType"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "AudioFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioUsage;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "AudioUsage"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$BufferFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "BufferFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorRange;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ColorRange"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorSpace;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ColorSpace"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorTransfer;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ColorTransfer"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$ContentType;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ContentType"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$CryptoMode;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "CryptoMode"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$Encoding;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Encoding"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$PcmEncoding;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "PcmEncoding"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$SelectionFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "SelectionFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$StereoMode;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "StereoMode"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$StreamType;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "StreamType"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/C$VideoScalingMode;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "VideoScalingMode"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,461 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/C;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorRange;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorTransfer;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$ColorSpace;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$StereoMode;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$ContentType;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$SelectionFlags;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$VideoScalingMode;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$BufferFlags;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioUsage;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioFlags;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$AudioContentType;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$StreamType;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$PcmEncoding;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$Encoding;,
Lcom/mbridge/msdk/playercommon/exoplayer2/C$CryptoMode;
}
.end annotation
# static fields
.field public static final ASCII_NAME:Ljava/lang/String; = "US-ASCII"
.field public static final AUDIO_SESSION_ID_UNSET:I = 0x0
.field public static final BUFFER_FLAG_DECODE_ONLY:I = -0x80000000
.field public static final BUFFER_FLAG_ENCRYPTED:I = 0x40000000
.field public static final BUFFER_FLAG_END_OF_STREAM:I = 0x4
.field public static final BUFFER_FLAG_KEY_FRAME:I = 0x1
.field public static final CENC_TYPE_cbc1:Ljava/lang/String; = "cbc1"
.field public static final CENC_TYPE_cbcs:Ljava/lang/String; = "cbcs"
.field public static final CENC_TYPE_cenc:Ljava/lang/String; = "cenc"
.field public static final CENC_TYPE_cens:Ljava/lang/String; = "cens"
.field public static final CHANNEL_OUT_7POINT1_SURROUND:I
.field public static final CLEARKEY_UUID:Ljava/util/UUID;
.field public static final COLOR_RANGE_FULL:I = 0x1
.field public static final COLOR_RANGE_LIMITED:I = 0x2
.field public static final COLOR_SPACE_BT2020:I = 0x6
.field public static final COLOR_SPACE_BT601:I = 0x2
.field public static final COLOR_SPACE_BT709:I = 0x1
.field public static final COLOR_TRANSFER_HLG:I = 0x7
.field public static final COLOR_TRANSFER_SDR:I = 0x3
.field public static final COLOR_TRANSFER_ST2084:I = 0x6
.field public static final COMMON_PSSH_UUID:Ljava/util/UUID;
.field public static final CONTENT_TYPE_MOVIE:I = 0x3
.field public static final CONTENT_TYPE_MUSIC:I = 0x2
.field public static final CONTENT_TYPE_SONIFICATION:I = 0x4
.field public static final CONTENT_TYPE_SPEECH:I = 0x1
.field public static final CONTENT_TYPE_UNKNOWN:I = 0x0
.field public static final CRYPTO_MODE_AES_CBC:I = 0x2
.field public static final CRYPTO_MODE_AES_CTR:I = 0x1
.field public static final CRYPTO_MODE_UNENCRYPTED:I = 0x0
.field public static final DATA_TYPE_AD:I = 0x6
.field public static final DATA_TYPE_CUSTOM_BASE:I = 0x2710
.field public static final DATA_TYPE_DRM:I = 0x3
.field public static final DATA_TYPE_MANIFEST:I = 0x4
.field public static final DATA_TYPE_MEDIA:I = 0x1
.field public static final DATA_TYPE_MEDIA_INITIALIZATION:I = 0x2
.field public static final DATA_TYPE_TIME_SYNCHRONIZATION:I = 0x5
.field public static final DATA_TYPE_UNKNOWN:I = 0x0
.field public static final DEFAULT_AUDIO_BUFFER_SIZE:I = 0x360000
.field public static final DEFAULT_BUFFER_SEGMENT_SIZE:I = 0x10000
.field public static final DEFAULT_METADATA_BUFFER_SIZE:I = 0x20000
.field public static final DEFAULT_MUXED_BUFFER_SIZE:I = 0x1000000
.field public static final DEFAULT_TEXT_BUFFER_SIZE:I = 0x20000
.field public static final DEFAULT_VIDEO_BUFFER_SIZE:I = 0xc80000
.field public static final ENCODING_AC3:I = 0x5
.field public static final ENCODING_DOLBY_TRUEHD:I = 0xe
.field public static final ENCODING_DTS:I = 0x7
.field public static final ENCODING_DTS_HD:I = 0x8
.field public static final ENCODING_E_AC3:I = 0x6
.field public static final ENCODING_INVALID:I = 0x0
.field public static final ENCODING_PCM_16BIT:I = 0x2
.field public static final ENCODING_PCM_24BIT:I = -0x80000000
.field public static final ENCODING_PCM_32BIT:I = 0x40000000
.field public static final ENCODING_PCM_8BIT:I = 0x3
.field public static final ENCODING_PCM_FLOAT:I = 0x4
.field public static final FLAG_AUDIBILITY_ENFORCED:I = 0x1
.field public static final INDEX_UNSET:I = -0x1
.field public static final LANGUAGE_UNDETERMINED:Ljava/lang/String; = "und"
.field public static final LENGTH_UNSET:I = -0x1
.field public static final MICROS_PER_SECOND:J = 0xf4240L
.field public static final MSG_CUSTOM_BASE:I = 0x2710
.field public static final MSG_SET_AUDIO_ATTRIBUTES:I = 0x3
.field public static final MSG_SET_SCALING_MODE:I = 0x4
.field public static final MSG_SET_SURFACE:I = 0x1
.field public static final MSG_SET_VOLUME:I = 0x2
.field public static final NANOS_PER_SECOND:J = 0x3b9aca00L
.field public static final PERCENTAGE_UNSET:I = -0x1
.field public static final PLAYREADY_UUID:Ljava/util/UUID;
.field public static final POSITION_UNSET:I = -0x1
.field public static final PRIORITY_DOWNLOAD:I = -0x3e8
.field public static final PRIORITY_PLAYBACK:I = 0x0
.field public static final RESULT_BUFFER_READ:I = -0x4
.field public static final RESULT_END_OF_INPUT:I = -0x1
.field public static final RESULT_FORMAT_READ:I = -0x5
.field public static final RESULT_MAX_LENGTH_EXCEEDED:I = -0x2
.field public static final RESULT_NOTHING_READ:I = -0x3
.field public static final SANS_SERIF_NAME:Ljava/lang/String; = "sans-serif"
.field public static final SELECTION_FLAG_AUTOSELECT:I = 0x4
.field public static final SELECTION_FLAG_DEFAULT:I = 0x1
.field public static final SELECTION_FLAG_FORCED:I = 0x2
.field public static final SELECTION_REASON_ADAPTIVE:I = 0x3
.field public static final SELECTION_REASON_CUSTOM_BASE:I = 0x2710
.field public static final SELECTION_REASON_INITIAL:I = 0x1
.field public static final SELECTION_REASON_MANUAL:I = 0x2
.field public static final SELECTION_REASON_TRICK_PLAY:I = 0x4
.field public static final SELECTION_REASON_UNKNOWN:I = 0x0
.field public static final SERIF_NAME:Ljava/lang/String; = "serif"
.field public static final STEREO_MODE_LEFT_RIGHT:I = 0x2
.field public static final STEREO_MODE_MONO:I = 0x0
.field public static final STEREO_MODE_STEREO_MESH:I = 0x3
.field public static final STEREO_MODE_TOP_BOTTOM:I = 0x1
.field public static final STREAM_TYPE_ALARM:I = 0x4
.field public static final STREAM_TYPE_DEFAULT:I = 0x3
.field public static final STREAM_TYPE_DTMF:I = 0x8
.field public static final STREAM_TYPE_MUSIC:I = 0x3
.field public static final STREAM_TYPE_NOTIFICATION:I = 0x5
.field public static final STREAM_TYPE_RING:I = 0x2
.field public static final STREAM_TYPE_SYSTEM:I = 0x1
.field public static final STREAM_TYPE_USE_DEFAULT:I = -0x80000000
.field public static final STREAM_TYPE_VOICE_CALL:I = 0x0
.field public static final TIME_END_OF_SOURCE:J = -0x8000000000000000L
.field public static final TIME_UNSET:J = -0x7fffffffffffffffL
.field public static final TRACK_TYPE_AUDIO:I = 0x1
.field public static final TRACK_TYPE_CUSTOM_BASE:I = 0x2710
.field public static final TRACK_TYPE_DEFAULT:I = 0x0
.field public static final TRACK_TYPE_METADATA:I = 0x4
.field public static final TRACK_TYPE_NONE:I = 0x5
.field public static final TRACK_TYPE_TEXT:I = 0x3
.field public static final TRACK_TYPE_UNKNOWN:I = -0x1
.field public static final TRACK_TYPE_VIDEO:I = 0x2
.field public static final TYPE_DASH:I = 0x0
.field public static final TYPE_HLS:I = 0x2
.field public static final TYPE_OTHER:I = 0x3
.field public static final TYPE_SS:I = 0x1
.field public static final USAGE_ALARM:I = 0x4
.field public static final USAGE_ASSISTANCE_ACCESSIBILITY:I = 0xb
.field public static final USAGE_ASSISTANCE_NAVIGATION_GUIDANCE:I = 0xc
.field public static final USAGE_ASSISTANCE_SONIFICATION:I = 0xd
.field public static final USAGE_GAME:I = 0xe
.field public static final USAGE_MEDIA:I = 0x1
.field public static final USAGE_NOTIFICATION:I = 0x5
.field public static final USAGE_NOTIFICATION_COMMUNICATION_DELAYED:I = 0x9
.field public static final USAGE_NOTIFICATION_COMMUNICATION_INSTANT:I = 0x8
.field public static final USAGE_NOTIFICATION_COMMUNICATION_REQUEST:I = 0x7
.field public static final USAGE_NOTIFICATION_EVENT:I = 0xa
.field public static final USAGE_NOTIFICATION_RINGTONE:I = 0x6
.field public static final USAGE_UNKNOWN:I = 0x0
.field public static final USAGE_VOICE_COMMUNICATION:I = 0x2
.field public static final USAGE_VOICE_COMMUNICATION_SIGNALLING:I = 0x3
.field public static final UTF16_NAME:Ljava/lang/String; = "UTF-16"
.field public static final UTF8_NAME:Ljava/lang/String; = "UTF-8"
.field public static final UUID_NIL:Ljava/util/UUID;
.field public static final VIDEO_SCALING_MODE_DEFAULT:I = 0x1
.field public static final VIDEO_SCALING_MODE_SCALE_TO_FIT:I = 0x1
.field public static final VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING:I = 0x2
.field public static final WIDEVINE_UUID:Ljava/util/UUID;
# direct methods
.method static constructor <clinit>()V
.locals 5
.line 124
sget v0, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Util;->SDK_INT:I
const/16 v1, 0x17
if-ge v0, v1, :cond_0
const/16 v0, 0x3fc
goto :goto_0
:cond_0
const/16 v0, 0x18fc
:goto_0
sput v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->CHANNEL_OUT_7POINT1_SURROUND:I
.line 373
new-instance v0, Ljava/util/UUID;
const-wide/16 v1, 0x0
invoke-direct {v0, v1, v2, v1, v2}, Ljava/util/UUID;-><init>(JJ)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->UUID_NIL:Ljava/util/UUID;
.line 376
new-instance v0, Ljava/util/UUID;
const-wide v1, 0x1077efecc0b24d02L
const-wide v3, -0x531cc3e1ad1d04b5L # -1.8442503140481377E-92
invoke-direct {v0, v1, v2, v3, v4}, Ljava/util/UUID;-><init>(JJ)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->COMMON_PSSH_UUID:Ljava/util/UUID;
.line 379
new-instance v0, Ljava/util/UUID;
const-wide v1, -0x1d8e62a7567a4c37L # -1.6229728350858627E166
const-wide v3, 0x781ab030af78d30eL # 3.524813189889319E270
invoke-direct {v0, v1, v2, v3, v4}, Ljava/util/UUID;-><init>(JJ)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->CLEARKEY_UUID:Ljava/util/UUID;
.line 382
new-instance v0, Ljava/util/UUID;
const-wide v1, -0x121074568629b532L # -3.563403477674908E221
const-wide v3, -0x5c37d8232ae2de13L
invoke-direct {v0, v1, v2, v3, v4}, Ljava/util/UUID;-><init>(JJ)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->WIDEVINE_UUID:Ljava/util/UUID;
.line 385
new-instance v0, Ljava/util/UUID;
const-wide v1, -0x65fb0f8667bfbd7aL
const-wide v3, -0x546d19a41f77a06bL # -8.640911267670052E-99
invoke-direct {v0, v1, v2, v3, v4}, Ljava/util/UUID;-><init>(JJ)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/C;->PLAYREADY_UUID:Ljava/util/UUID;
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static generateAudioSessionIdV21(Landroid/content/Context;)I
.locals 1
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
const-string v0, "audio"
.line 471
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/media/AudioManager;
.line 472
invoke-virtual {p0}, Landroid/media/AudioManager;->generateAudioSessionId()I
move-result p0
return p0
.end method
.method public static msToUs(J)J
.locals 2
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
cmp-long v0, p0, v0
if-eqz v0, :cond_1
const-wide/high16 v0, -0x8000000000000000L
cmp-long v0, p0, v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
const-wide/16 v0, 0x3e8
mul-long/2addr p0, v0
:cond_1
:goto_0
return-wide p0
.end method
.method public static usToMs(J)J
.locals 2
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
cmp-long v0, p0, v0
if-eqz v0, :cond_1
const-wide/high16 v0, -0x8000000000000000L
cmp-long v0, p0, v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
const-wide/16 v0, 0x3e8
.line 460
div-long/2addr p0, v0
:cond_1
:goto_0
return-wide p0
.end method

View File

@@ -0,0 +1,20 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/ControlDispatcher;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract dispatchSeekTo(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;IJ)Z
.end method
.method public abstract dispatchSetPlayWhenReady(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.end method
.method public abstract dispatchSetRepeatMode(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;I)Z
.end method
.method public abstract dispatchSetShuffleModeEnabled(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.end method
.method public abstract dispatchStop(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.end method

View File

@@ -0,0 +1,73 @@
.class public Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultControlDispatcher;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/ControlDispatcher;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public dispatchSeekTo(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;IJ)Z
.locals 0
.line 17
invoke-interface {p1, p2, p3, p4}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player;->seekTo(IJ)V
const/4 p1, 0x1
return p1
.end method
.method public dispatchSetPlayWhenReady(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.locals 0
.line 11
invoke-interface {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player;->setPlayWhenReady(Z)V
const/4 p1, 0x1
return p1
.end method
.method public dispatchSetRepeatMode(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;I)Z
.locals 0
.line 23
invoke-interface {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player;->setRepeatMode(I)V
const/4 p1, 0x1
return p1
.end method
.method public dispatchSetShuffleModeEnabled(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.locals 0
.line 29
invoke-interface {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player;->setShuffleModeEnabled(Z)V
const/4 p1, 0x1
return p1
.end method
.method public dispatchStop(Lcom/mbridge/msdk/playercommon/exoplayer2/Player;Z)Z
.locals 0
.line 35
invoke-interface {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player;->stop(Z)V
const/4 p1, 0x1
return p1
.end method

View File

@@ -0,0 +1,166 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field private allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.field private bufferForPlaybackAfterRebufferMs:I
.field private bufferForPlaybackMs:I
.field private maxBufferMs:I
.field private minBufferMs:I
.field private prioritizeTimeOverSizeThresholds:Z
.field private priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
.field private targetBufferBytes:I
# direct methods
.method public constructor <init>()V
.locals 2
.line 46
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
const/16 v1, 0x3a98
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->minBufferMs:I
const v1, 0xc350
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->maxBufferMs:I
const/16 v1, 0x9c4
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackMs:I
const/16 v1, 0x1388
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackAfterRebufferMs:I
const/4 v1, -0x1
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->targetBufferBytes:I
const/4 v1, 0x1
iput-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->prioritizeTimeOverSizeThresholds:Z
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
return-void
.end method
# virtual methods
.method public final createDefaultLoadControl()Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
.locals 12
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
if-nez v0, :cond_0
.line 97
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
const/4 v1, 0x1
const/high16 v2, 0x10000
invoke-direct {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;-><init>(ZI)V
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.line 99
:cond_0
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
iget-object v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
iget v5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->minBufferMs:I
iget v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->maxBufferMs:I
iget v7, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackMs:I
iget v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackAfterRebufferMs:I
iget v9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->targetBufferBytes:I
iget-boolean v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->prioritizeTimeOverSizeThresholds:Z
iget-object v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
move-object v3, v0
invoke-direct/range {v3 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;IIIIIZLcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;)V
return-object v0
.end method
.method public final setAllocator(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;)Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
return-object p0
.end method
.method public final setBufferDurationsMs(IIII)Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.locals 0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->minBufferMs:I
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->maxBufferMs:I
iput p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackMs:I
iput p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->bufferForPlaybackAfterRebufferMs:I
return-object p0
.end method
.method public final setPrioritizeTimeOverSizeThresholds(Z)Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.locals 0
iput-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->prioritizeTimeOverSizeThresholds:Z
return-object p0
.end method
.method public final setPriorityTaskManager(Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
return-object p0
.end method
.method public final setTargetBufferBytes(I)Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
.locals 0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;->targetBufferBytes:I
return-object p0
.end method

View File

@@ -0,0 +1,558 @@
.class public Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl$Builder;
}
.end annotation
# static fields
.field public static final DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS:I = 0x1388
.field public static final DEFAULT_BUFFER_FOR_PLAYBACK_MS:I = 0x9c4
.field public static final DEFAULT_MAX_BUFFER_MS:I = 0xc350
.field public static final DEFAULT_MIN_BUFFER_MS:I = 0x3a98
.field public static final DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS:Z = true
.field public static final DEFAULT_TARGET_BUFFER_BYTES:I = -0x1
# instance fields
.field private final allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.field private final bufferForPlaybackAfterRebufferUs:J
.field private final bufferForPlaybackUs:J
.field private isBuffering:Z
.field private final maxBufferUs:J
.field private final minBufferUs:J
.field private final prioritizeTimeOverSizeThresholds:Z
.field private final priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
.field private final targetBufferBytesOverwrite:I
.field private targetBufferSize:I
# direct methods
.method public constructor <init>()V
.locals 3
.line 126
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
const/4 v1, 0x1
const/high16 v2, 0x10000
invoke-direct {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;-><init>(ZI)V
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;)V
return-void
.end method
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;)V
.locals 8
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/16 v2, 0x3a98
const v3, 0xc350
const/16 v4, 0x9c4
const/16 v5, 0x1388
const/4 v6, -0x1
const/4 v7, 0x1
move-object v0, p0
move-object v1, p1
.line 132
invoke-direct/range {v0 .. v7}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;IIIIIZ)V
return-void
.end method
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;IIIIIZ)V
.locals 9
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v8, 0x0
move-object v0, p0
move-object v1, p1
move v2, p2
move v3, p3
move v4, p4
move v5, p5
move v6, p6
move/from16 v7, p7
.line 152
invoke-direct/range {v0 .. v8}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;IIIIIZLcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;)V
return-void
.end method
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;IIIIIZLcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;)V
.locals 4
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 173
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
const-string v1, "bufferForPlaybackMs"
const-string v2, "0"
.line 174
invoke-static {p4, v0, v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
const-string v3, "bufferForPlaybackAfterRebufferMs"
.line 175
invoke-static {p5, v0, v3, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
const-string v0, "minBufferMs"
.line 177
invoke-static {p2, p4, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
.line 178
invoke-static {p2, p5, v0, v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
const-string v1, "maxBufferMs"
.line 183
invoke-static {p3, p2, v1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
int-to-long p1, p2
const-wide/16 v0, 0x3e8
mul-long/2addr p1, v0
iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->minBufferUs:J
int-to-long p1, p3
mul-long/2addr p1, v0
iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->maxBufferUs:J
int-to-long p1, p4
mul-long/2addr p1, v0
iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->bufferForPlaybackUs:J
int-to-long p1, p5
mul-long/2addr p1, v0
iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->bufferForPlaybackAfterRebufferUs:J
iput p6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferBytesOverwrite:I
iput-boolean p7, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->prioritizeTimeOverSizeThresholds:Z
iput-object p8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
return-void
.end method
.method private static assertGreaterOrEqual(IILjava/lang/String;Ljava/lang/String;)V
.locals 0
if-lt p0, p1, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
.line 297
:goto_0
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p2, " cannot be less than "
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
return-void
.end method
.method private reset(Z)V
.locals 3
const/4 v0, 0x0
iput v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferSize:I
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
if-eqz v1, :cond_0
iget-boolean v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
if-eqz v2, :cond_0
.line 288
invoke-virtual {v1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;->remove(I)V
:cond_0
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.line 292
invoke-virtual {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;->reset()V
:cond_1
return-void
.end method
# virtual methods
.method public calculateTargetBufferSize([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;)I
.locals 3
const/4 v0, 0x0
move v1, v0
.line 277
:goto_0
array-length v2, p1
if-ge v0, v2, :cond_1
.line 278
invoke-virtual {p2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->get(I)Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v2
if-eqz v2, :cond_0
.line 279
aget-object v2, p1, v0
invoke-interface {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;->getTrackType()I
move-result v2
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Util;->getDefaultBufferSize(I)I
move-result v2
add-int/2addr v1, v2
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return v1
.end method
.method public getAllocator()Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocator;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
return-object v0
.end method
.method public getBackBufferDurationUs()J
.locals 2
const-wide/16 v0, 0x0
return-wide v0
.end method
.method public onPrepared()V
.locals 1
const/4 v0, 0x0
.line 197
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->reset(Z)V
return-void
.end method
.method public onReleased()V
.locals 1
const/4 v0, 0x1
.line 217
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->reset(Z)V
return-void
.end method
.method public onStopped()V
.locals 1
const/4 v0, 0x1
.line 212
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->reset(Z)V
return-void
.end method
.method public onTracksSelected([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;)V
.locals 1
iget p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferBytesOverwrite:I
const/4 v0, -0x1
if-ne p2, v0, :cond_0
.line 205
invoke-virtual {p0, p1, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->calculateTargetBufferSize([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;)I
move-result p2
:cond_0
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferSize:I
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.line 207
invoke-virtual {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;->setTargetBufferSize(I)V
return-void
.end method
.method public retainBackBufferFromKeyframe()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public shouldContinueLoading(JF)Z
.locals 8
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.line 237
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;->getTotalBytesAllocated()I
move-result v0
iget v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferSize:I
const/4 v2, 0x1
const/4 v3, 0x0
if-lt v0, v1, :cond_0
move v0, v2
goto :goto_0
:cond_0
move v0, v3
:goto_0
iget-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->minBufferUs:J
const/high16 v6, 0x3f800000 # 1.0f
cmpl-float v6, p3, v6
if-lez v6, :cond_1
.line 244
invoke-static {v4, v5, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Util;->getMediaDurationForPlayoutDuration(JF)J
move-result-wide v4
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->maxBufferUs:J
.line 245
invoke-static {v4, v5, v6, v7}, Ljava/lang/Math;->min(JJ)J
move-result-wide v4
:cond_1
cmp-long p3, p1, v4
if-gez p3, :cond_4
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->prioritizeTimeOverSizeThresholds:Z
if-nez p1, :cond_3
if-nez v0, :cond_2
goto :goto_1
:cond_2
move v2, v3
:cond_3
:goto_1
iput-boolean v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
goto :goto_2
:cond_4
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->maxBufferUs:J
cmp-long p1, p1, v4
if-gtz p1, :cond_5
if-eqz v0, :cond_6
:cond_5
iput-boolean v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
:cond_6
:goto_2
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->priorityTaskManager:Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;
if-eqz p1, :cond_8
iget-boolean p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
if-eq p2, v1, :cond_8
if-eqz p2, :cond_7
.line 254
invoke-virtual {p1, v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;->add(I)V
goto :goto_3
.line 256
:cond_7
invoke-virtual {p1, v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/PriorityTaskManager;->remove(I)V
:cond_8
:goto_3
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->isBuffering:Z
return p1
.end method
.method public shouldStartPlayback(JFZ)Z
.locals 2
.line 265
invoke-static {p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Util;->getPlayoutDurationForMediaDuration(JF)J
move-result-wide p1
if-eqz p4, :cond_0
iget-wide p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->bufferForPlaybackAfterRebufferUs:J
goto :goto_0
:cond_0
iget-wide p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->bufferForPlaybackUs:J
:goto_0
const-wide/16 v0, 0x0
cmp-long v0, p3, v0
if-lez v0, :cond_2
cmp-long p1, p1, p3
if-gez p1, :cond_2
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->prioritizeTimeOverSizeThresholds:Z
if-nez p1, :cond_1
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->allocator:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;
.line 270
invoke-virtual {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/DefaultAllocator;->getTotalBytesAllocated()I
move-result p1
iget p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;->targetBufferSize:I
if-lt p1, p2, :cond_1
goto :goto_1
:cond_1
const/4 p1, 0x0
goto :goto_2
:cond_2
:goto_1
const/4 p1, 0x1
:goto_2
return p1
.end method

View File

@@ -0,0 +1,19 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "PlaybackParameterListener"
.end annotation
# virtual methods
.method public abstract onPlaybackParametersChanged(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)V
.end method

View File

@@ -0,0 +1,367 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
}
.end annotation
# instance fields
.field private final listener:Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
.field private rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field private rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field private final standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;)V
.locals 0
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->listener:Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
.line 29
new-instance p1, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
invoke-direct {p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;)V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
return-void
.end method
.method private ensureSynced()V
.locals 3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.line 108
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->getPositionUs()J
move-result-wide v0
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 109
invoke-virtual {v2, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->resetPosition(J)V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.line 110
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 111
invoke-virtual {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 112
invoke-virtual {v1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->setPlaybackParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->listener:Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
.line 113
invoke-interface {v1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;->onPlaybackParametersChanged(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)V
:cond_0
return-void
.end method
.method private isUsingRendererClock()Z
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
if-eqz v0, :cond_1
.line 122
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;->isEnded()Z
move-result v0
if-nez v0, :cond_1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.line 123
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;->isReady()Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;->hasReadStreamToEnd()Z
move-result v0
if-nez v0, :cond_1
:cond_0
const/4 v0, 0x1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
.end method
# virtual methods
.method public final getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
if-eqz v0, :cond_0
.line 103
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object v0
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 104
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object v0
:goto_0
return-object v0
.end method
.method public final getPositionUs()J
.locals 2
.line 84
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->isUsingRendererClock()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.line 85
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->getPositionUs()J
move-result-wide v0
return-wide v0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 87
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->getPositionUs()J
move-result-wide v0
return-wide v0
.end method
.method public final onRendererDisabled(Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;)V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
if-ne p1, v0, :cond_0
const/4 p1, 0x0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
:cond_0
return-void
.end method
.method public final onRendererEnabled(Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
.line 49
invoke-interface {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;->getMediaClock()Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
move-result-object v0
if-eqz v0, :cond_1
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
if-eq v0, v1, :cond_1
if-nez v1, :cond_0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClockSource:Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 57
invoke-virtual {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->getPlaybackParameters()Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object p1
invoke-interface {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->setPlaybackParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
.line 58
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->ensureSynced()V
goto :goto_0
.line 52
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Multiple renderer media clocks enabled."
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
invoke-static {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->createForUnexpected(Ljava/lang/RuntimeException;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
move-result-object p1
throw p1
:cond_1
:goto_0
return-void
.end method
.method public final resetPosition(J)V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 44
invoke-virtual {v0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->resetPosition(J)V
return-void
.end method
.method public final setPlaybackParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
if-eqz v0, :cond_0
.line 94
invoke-interface {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->setPlaybackParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
move-result-object p1
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 96
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->setPlaybackParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->listener:Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;
.line 97
invoke-interface {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock$PlaybackParameterListener;->onPlaybackParametersChanged(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;)V
return-object p1
.end method
.method public final start()V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 34
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->start()V
return-void
.end method
.method public final stop()V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 39
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->stop()V
return-void
.end method
.method public final syncAndGetPositionUs()J
.locals 2
.line 72
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->isUsingRendererClock()Z
move-result v0
if-eqz v0, :cond_0
.line 73
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->ensureSynced()V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->rendererClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.line 74
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;->getPositionUs()J
move-result-wide v0
return-wide v0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultMediaClock;->standaloneMediaClock:Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;
.line 76
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/StandaloneMediaClock;->getPositionUs()J
move-result-wide v0
return-wide v0
.end method

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory$ExtensionRendererMode;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ExtensionRendererMode"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,877 @@
.class public Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory$ExtensionRendererMode;
}
.end annotation
# static fields
.field public static final DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS:J = 0x1388L
.field public static final EXTENSION_RENDERER_MODE_OFF:I = 0x0
.field public static final EXTENSION_RENDERER_MODE_ON:I = 0x1
.field public static final EXTENSION_RENDERER_MODE_PREFER:I = 0x2
.field protected static final MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY:I = 0x32
.field private static final TAG:Ljava/lang/String; = "DefaultRenderersFactory"
# instance fields
.field private final allowedVideoJoiningTimeMs:J
.field private final context:Landroid/content/Context;
.field private final drmSessionManager:Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;"
}
.end annotation
.end field
.field private final extensionRendererMode:I
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
const/4 v0, 0x0
.line 58
invoke-direct {p0, p1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;I)V
.locals 6
const/4 v2, 0x0
const-wide/16 v4, 0x1388
move-object v0, p0
move-object v1, p1
move v3, p2
.line 71
invoke-direct/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;IJ)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;IJ)V
.locals 6
const/4 v2, 0x0
move-object v0, p0
move-object v1, p1
move v3, p2
move-wide v4, p3
.line 88
invoke-direct/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;IJ)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)V
.locals 1
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;)V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x0
.line 65
invoke-direct {p0, p1, p2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;I)V
.locals 6
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;I)V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const-wide/16 v4, 0x1388
move-object v0, p0
move-object v1, p1
move-object v2, p2
move v3, p3
.line 80
invoke-direct/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;IJ)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;IJ)V
.locals 0
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;IJ)V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 97
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
iput p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->allowedVideoJoiningTimeMs:J
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->drmSessionManager:Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
return-void
.end method
# virtual methods
.method public buildAudioProcessors()[Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;
.locals 1
const/4 v0, 0x0
new-array v0, v0, [Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;
return-object v0
.end method
.method public buildAudioRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;[Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;Landroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;ILjava/util/ArrayList;)V
.locals 17
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;[",
"Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;",
"Landroid/os/Handler;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;",
"I",
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;",
">;)V"
}
.end annotation
move-object/from16 v0, p3
move-object/from16 v10, p4
move-object/from16 v11, p5
move/from16 v12, p6
move-object/from16 v13, p7
const-class v14, [Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;
const-class v15, Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;
const-class v16, Landroid/os/Handler;
.line 189
new-instance v9, Lcom/mbridge/msdk/playercommon/exoplayer2/audio/MediaCodecAudioRenderer;
sget-object v3, Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;->DEFAULT:Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;
const/4 v5, 0x0
.line 197
invoke-static/range {p1 .. p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioCapabilities;->getCapabilities(Landroid/content/Context;)Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioCapabilities;
move-result-object v8
move-object v1, v9
move-object/from16 v2, p1
move-object/from16 v4, p2
move-object/from16 v6, p4
move-object/from16 v7, p5
move-object v0, v9
move-object/from16 v9, p3
invoke-direct/range {v1 .. v9}, Lcom/mbridge/msdk/playercommon/exoplayer2/audio/MediaCodecAudioRenderer;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;ZLandroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioCapabilities;[Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;)V
.line 189
invoke-virtual {v13, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
if-nez v12, :cond_0
return-void
.line 203
:cond_0
invoke-virtual/range {p7 .. p7}, Ljava/util/ArrayList;->size()I
move-result v0
const/4 v1, 0x2
if-ne v12, v1, :cond_1
add-int/lit8 v0, v0, -0x1
:cond_1
const/4 v2, 0x0
const/4 v3, 0x3
const/4 v4, 0x1
:try_start_0
const-string v5, "com.mbridge.msdk.playercommon.exoplayer2.ext.opus.LibopusAudioRenderer"
.line 211
invoke-static {v5}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v5
new-array v6, v3, [Ljava/lang/Class;
aput-object v16, v6, v2
aput-object v15, v6, v4
aput-object v14, v6, v1
.line 213
invoke-virtual {v5, v6}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v5
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
move-object/from16 v6, p3
:try_start_1
filled-new-array {v10, v11, v6}, [Ljava/lang/Object;
move-result-object v7
.line 219
invoke-virtual {v5, v7}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
:try_end_1
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_3
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
add-int/lit8 v7, v0, 0x1
.line 220
:try_start_2
invoke-virtual {v13, v0, v5}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
:try_end_2
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_1
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
goto :goto_2
:catch_0
move-exception v0
goto :goto_0
:catch_1
move v0, v7
goto :goto_1
:catch_2
move-object/from16 v6, p3
goto :goto_1
.line 226
:goto_0
new-instance v1, Ljava/lang/RuntimeException;
const-string v2, "Error instantiating Opus extension"
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_3
:goto_1
move v7, v0
:goto_2
:try_start_3
const-string v0, "com.mbridge.msdk.playercommon.exoplayer2.ext.flac.LibflacAudioRenderer"
.line 232
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
new-array v5, v3, [Ljava/lang/Class;
aput-object v16, v5, v2
aput-object v15, v5, v4
aput-object v14, v5, v1
.line 234
invoke-virtual {v0, v5}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
filled-new-array {v10, v11, v6}, [Ljava/lang/Object;
move-result-object v5
.line 240
invoke-virtual {v0, v5}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
:try_end_3
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_6
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_4
add-int/lit8 v5, v7, 0x1
.line 241
:try_start_4
invoke-virtual {v13, v7, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
:try_end_4
.catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_5
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4
goto :goto_5
:catch_4
move-exception v0
goto :goto_3
:catch_5
move v7, v5
goto :goto_4
.line 247
:goto_3
new-instance v1, Ljava/lang/RuntimeException;
const-string v2, "Error instantiating FLAC extension"
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_6
:goto_4
move v5, v7
:goto_5
:try_start_5
const-string v0, "com.mbridge.msdk.playercommon.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer"
.line 254
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
new-array v3, v3, [Ljava/lang/Class;
aput-object v16, v3, v2
aput-object v15, v3, v4
aput-object v14, v3, v1
.line 256
invoke-virtual {v0, v3}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
filled-new-array {v10, v11, v6}, [Ljava/lang/Object;
move-result-object v1
.line 262
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.line 263
invoke-virtual {v13, v5, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
:try_end_5
.catch Ljava/lang/ClassNotFoundException; {:try_start_5 .. :try_end_5} :catch_8
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_7
goto :goto_6
:catch_7
move-exception v0
.line 269
new-instance v1, Ljava/lang/RuntimeException;
const-string v2, "Error instantiating FFmpeg extension"
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_8
:goto_6
return-void
.end method
.method public buildMetadataRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;Landroid/os/Looper;ILjava/util/ArrayList;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;",
"Landroid/os/Looper;",
"I",
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;",
">;)V"
}
.end annotation
.line 283
new-instance p1, Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataRenderer;
invoke-direct {p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataRenderer;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;Landroid/os/Looper;)V
invoke-virtual {p5, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public buildMiscellaneousRenderers(Landroid/content/Context;Landroid/os/Handler;ILjava/util/ArrayList;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Landroid/os/Handler;",
"I",
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;",
">;)V"
}
.end annotation
return-void
.end method
.method public buildTextRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;Landroid/os/Looper;ILjava/util/ArrayList;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;",
"Landroid/os/Looper;",
"I",
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;",
">;)V"
}
.end annotation
.line 277
new-instance p1, Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextRenderer;
invoke-direct {p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextRenderer;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;Landroid/os/Looper;)V
invoke-virtual {p5, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public buildVideoRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;JLandroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;ILjava/util/ArrayList;)V
.locals 13
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;J",
"Landroid/os/Handler;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;",
"I",
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;",
">;)V"
}
.end annotation
move/from16 v0, p7
move-object/from16 v1, p8
.line 134
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/video/MediaCodecVideoRenderer;
sget-object v4, Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;->DEFAULT:Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;
const/4 v8, 0x0
const/16 v11, 0x32
move-object v2, v12
move-object v3, p1
move-wide/from16 v5, p3
move-object v7, p2
move-object/from16 v9, p5
move-object/from16 v10, p6
invoke-direct/range {v2 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/video/MediaCodecVideoRenderer;-><init>(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/mediacodec/MediaCodecSelector;JLcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;ZLandroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;I)V
invoke-virtual {v1, v12}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
if-nez v0, :cond_0
return-void
.line 148
:cond_0
invoke-virtual/range {p8 .. p8}, Ljava/util/ArrayList;->size()I
move-result v2
const/4 v3, 0x2
if-ne v0, v3, :cond_1
add-int/lit8 v2, v2, -0x1
:cond_1
:try_start_0
const-string v0, "com.mbridge.msdk.playercommon.exoplayer2.ext.vp9.LibvpxVideoRenderer"
.line 156
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
const/4 v4, 0x5
new-array v5, v4, [Ljava/lang/Class;
sget-object v6, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
const/4 v7, 0x0
aput-object v6, v5, v7
sget-object v6, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
const/4 v8, 0x1
aput-object v6, v5, v8
const-class v6, Landroid/os/Handler;
aput-object v6, v5, v3
const-class v6, Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;
const/4 v9, 0x3
aput-object v6, v5, v9
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v10, 0x4
aput-object v6, v5, v10
.line 158
invoke-virtual {v0, v5}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
new-array v4, v4, [Ljava/lang/Object;
sget-object v5, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
aput-object v5, v4, v7
.line 169
invoke-static/range {p3 .. p4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v5
aput-object v5, v4, v8
aput-object p5, v4, v3
aput-object p6, v4, v9
const/16 v3, 0x32
.line 172
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v4, v10
.line 167
invoke-virtual {v0, v4}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.line 173
invoke-virtual {v1, v2, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 179
new-instance v1, Ljava/lang/RuntimeException;
const-string v2, "Error instantiating VP9 extension"
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_1
:goto_0
return-void
.end method
.method public createRenderers(Landroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)[Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.locals 12
.param p6 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/os/Handler;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;)[",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;"
}
.end annotation
move-object v9, p0
if-nez p6, :cond_0
iget-object v0, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->drmSessionManager:Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
move-object v10, v0
goto :goto_0
:cond_0
move-object/from16 v10, p6
.line 115
:goto_0
new-instance v11, Ljava/util/ArrayList;
invoke-direct {v11}, Ljava/util/ArrayList;-><init>()V
iget-object v1, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
iget-wide v3, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->allowedVideoJoiningTimeMs:J
iget v7, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
move-object v0, p0
move-object v2, v10
move-object v5, p1
move-object v6, p2
move-object v8, v11
.line 116
invoke-virtual/range {v0 .. v8}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildVideoRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;JLandroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/video/VideoRendererEventListener;ILjava/util/ArrayList;)V
iget-object v1, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
.line 118
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildAudioProcessors()[Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;
move-result-object v3
iget v6, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
move-object v4, p1
move-object v5, p3
move-object v7, v11
invoke-virtual/range {v0 .. v7}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildAudioRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;[Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioProcessor;Landroid/os/Handler;Lcom/mbridge/msdk/playercommon/exoplayer2/audio/AudioRendererEventListener;ILjava/util/ArrayList;)V
iget-object v1, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
.line 120
invoke-virtual {p1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v3
iget v4, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
move-object/from16 v2, p4
move-object v5, v11
invoke-virtual/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildTextRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/text/TextOutput;Landroid/os/Looper;ILjava/util/ArrayList;)V
iget-object v1, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
.line 122
invoke-virtual {p1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v3
iget v4, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
move-object/from16 v2, p5
invoke-virtual/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildMetadataRenderers(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/metadata/MetadataOutput;Landroid/os/Looper;ILjava/util/ArrayList;)V
iget-object v0, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->context:Landroid/content/Context;
iget v1, v9, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->extensionRendererMode:I
move-object v2, p1
.line 124
invoke-virtual {p0, v0, p1, v1, v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;->buildMiscellaneousRenderers(Landroid/content/Context;Landroid/os/Handler;ILjava/util/ArrayList;)V
.line 125
invoke-virtual {v11}, Ljava/util/ArrayList;->size()I
move-result v0
new-array v0, v0, [Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
invoke-virtual {v11, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
return-object v0
.end method

View File

@@ -0,0 +1,21 @@
.class public interface abstract annotation Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException$Type;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Type"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,177 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException$Type;
}
.end annotation
# static fields
.field public static final TYPE_RENDERER:I = 0x1
.field public static final TYPE_SOURCE:I = 0x0
.field public static final TYPE_UNEXPECTED:I = 0x2
# instance fields
.field public final rendererIndex:I
.field public final type:I
# direct methods
.method private constructor <init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
.locals 0
.line 48
invoke-direct {p0, p2, p3}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
iput p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->rendererIndex:I
return-void
.end method
.method public static createForRenderer(Ljava/lang/Exception;I)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 3
.line 33
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x1
const/4 v2, 0x0
invoke-direct {v0, v1, v2, p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
.method public static createForSource(Ljava/io/IOException;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 4
.line 38
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x0
const/4 v2, -0x1
const/4 v3, 0x0
invoke-direct {v0, v3, v1, p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
.method public static createForUnexpected(Ljava/lang/RuntimeException;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 4
.line 43
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x0
const/4 v2, -0x1
const/4 v3, 0x2
invoke-direct {v0, v3, v1, p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
# virtual methods
.method public final getRendererException()Ljava/lang/Exception;
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 61
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 62
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/lang/Exception;
return-object v0
.end method
.method public final getSourceException()Ljava/io/IOException;
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 55
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 56
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/io/IOException;
return-object v0
.end method
.method public final getUnexpectedException()Ljava/lang/RuntimeException;
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 67
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 68
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/lang/RuntimeException;
return-object v0
.end method

View File

@@ -0,0 +1,20 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$EventListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "EventListener"
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation

View File

@@ -0,0 +1,20 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerComponent;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage$Target;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "ExoPlayerComponent"
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation

View File

@@ -0,0 +1,44 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ExoPlayerMessage"
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# instance fields
.field public final message:Ljava/lang/Object;
.field public final messageType:I
.field public final target:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage$Target;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage$Target;ILjava/lang/Object;)V
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 45
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;->target:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage$Target;
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;->messageType:I
iput-object p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;->message:Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,84 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/Player;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;,
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerComponent;,
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$EventListener;
}
.end annotation
# static fields
.field public static final REPEAT_MODE_ALL:I = 0x2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final REPEAT_MODE_OFF:I = 0x0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final REPEAT_MODE_ONE:I = 0x1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final STATE_BUFFERING:I = 0x2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final STATE_ENDED:I = 0x4
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final STATE_IDLE:I = 0x1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final STATE_READY:I = 0x3
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
# virtual methods
.method public varargs abstract blockingSendMessages([Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract createMessage(Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage$Target;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
.end method
.method public abstract getPlaybackLooper()Landroid/os/Looper;
.end method
.method public abstract prepare(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;)V
.end method
.method public abstract prepare(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;ZZ)V
.end method
.method public varargs abstract sendMessages([Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer$ExoPlayerMessage;)V
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end method
.method public abstract setSeekParameters(Lcom/mbridge/msdk/playercommon/exoplayer2/SeekParameters;)V
.param p1 # Lcom/mbridge/msdk/playercommon/exoplayer2/SeekParameters;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.end method

View File

@@ -0,0 +1,305 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static newInstance([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.locals 1
.line 103
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
invoke-direct {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>()V
invoke-static {p0, p1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newInstance([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newInstance([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayer;
.locals 2
.line 109
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;
sget-object v1, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;->DEFAULT:Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;
invoke-direct {v0, p0, p1, p2, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;-><init>([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;)V
return-object v0
.end method
.method public static newSimpleInstance(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.line 56
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
invoke-direct {v0, p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;)V
invoke-static {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 21
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
invoke-direct {v0, p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;)V
.line 22
invoke-static {v0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.param p3 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;)",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 30
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
invoke-direct {v0, p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;)V
.line 31
invoke-static {v0, p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;I)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.param p3 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;I)",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 39
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
invoke-direct {v0, p0, p4}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;I)V
.line 40
invoke-static {v0, p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Landroid/content/Context;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;IJ)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.param p3 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;IJ)",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 49
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;
invoke-direct {v0, p0, p4, p5, p6}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultRenderersFactory;-><init>(Landroid/content/Context;IJ)V
.line 51
invoke-static {v0, p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.line 62
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
invoke-direct {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>()V
invoke-static {p0, p1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method
.method public static newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 2
.line 77
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
const/4 v1, 0x0
invoke-direct {v0, p0, p1, p2, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)V
return-object v0
.end method
.method public static newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.param p3 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;)",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.line 87
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
invoke-direct {v0, p0, p1, p2, p3}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)V
return-object v0
.end method
.method public static newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;Lcom/mbridge/msdk/playercommon/exoplayer2/analytics/AnalyticsCollector$Factory;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 7
.param p3 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/analytics/AnalyticsCollector$Factory;",
")",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.line 97
new-instance v6, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-object v0, v6
move-object v1, p0
move-object v2, p1
move-object v3, p2
move-object v4, p3
move-object v5, p4
invoke-direct/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;Lcom/mbridge/msdk/playercommon/exoplayer2/analytics/AnalyticsCollector$Factory;)V
return-object v6
.end method
.method public static newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
.locals 1
.param p2 # Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/drm/FrameworkMediaCrypto;",
">;)",
"Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;"
}
.end annotation
.line 70
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;
invoke-direct {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/DefaultLoadControl;-><init>()V
invoke-static {p0, p1, v0, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerFactory;->newSimpleInstance(Lcom/mbridge/msdk/playercommon/exoplayer2/RenderersFactory;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/drm/DrmSessionManager;)Lcom/mbridge/msdk/playercommon/exoplayer2/SimpleExoPlayer;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$1;
.super Landroid/os/Handler;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;-><init>([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;Lcom/mbridge/msdk/playercommon/exoplayer2/util/Clock;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;Landroid/os/Looper;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$1;->this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;
.line 85
invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$1;->this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;
.line 88
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;->handleEvent(Landroid/os/Message;)V
return-void
.end method

View File

@@ -0,0 +1,402 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "PlaybackInfoUpdate"
.end annotation
# instance fields
.field private final isLoadingChanged:Z
.field private final listeners:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;",
">;"
}
.end annotation
.end field
.field private final playWhenReady:Z
.field private final playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.field private final playbackStateOrPlayWhenReadyChanged:Z
.field private final positionDiscontinuity:Z
.field private final positionDiscontinuityReason:I
.field private final seekProcessed:Z
.field private final timelineChangeReason:I
.field private final timelineOrManifestChanged:Z
.field private final trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
.field private final trackSelectorResultChanged:Z
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Ljava/util/Set;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;ZIIZZZ)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;",
"Ljava/util/Set<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;",
">;",
"Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;",
"ZIIZZZ)V"
}
.end annotation
.line 705
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iput-object p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
iput-object p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
iput-boolean p5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->positionDiscontinuity:Z
iput p6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->positionDiscontinuityReason:I
iput p7, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->timelineChangeReason:I
iput-boolean p8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->seekProcessed:Z
iput-boolean p9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playWhenReady:Z
const/4 p3, 0x0
const/4 p4, 0x1
if-nez p10, :cond_1
.line 714
iget p5, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget p6, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
if-eq p5, p6, :cond_0
goto :goto_0
:cond_0
move p5, p3
goto :goto_1
:cond_1
:goto_0
move p5, p4
:goto_1
iput-boolean p5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackStateOrPlayWhenReadyChanged:Z
.line 716
iget-object p5, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object p6, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
if-ne p5, p6, :cond_3
iget-object p5, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget-object p6, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
if-eq p5, p6, :cond_2
goto :goto_2
:cond_2
move p5, p3
goto :goto_3
:cond_3
:goto_2
move p5, p4
:goto_3
iput-boolean p5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->timelineOrManifestChanged:Z
.line 719
iget-boolean p5, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iget-boolean p6, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
if-eq p5, p6, :cond_4
move p5, p4
goto :goto_4
:cond_4
move p5, p3
:goto_4
iput-boolean p5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->isLoadingChanged:Z
.line 720
iget-object p2, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
iget-object p1, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
if-eq p2, p1, :cond_5
move p3, p4
:cond_5
iput-boolean p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->trackSelectorResultChanged:Z
return-void
.end method
# virtual methods
.method public final notifyListeners()V
.locals 5
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->timelineOrManifestChanged:Z
if-nez v0, :cond_0
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->timelineChangeReason:I
if-nez v0, :cond_1
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 726
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.line 727
iget-object v3, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v2, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->timelineChangeReason:I
invoke-interface {v1, v3, v2, v4}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onTimelineChanged(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;I)V
goto :goto_0
:cond_1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->positionDiscontinuity:Z
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 732
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->positionDiscontinuityReason:I
.line 733
invoke-interface {v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onPositionDiscontinuity(I)V
goto :goto_1
:cond_2
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->trackSelectorResultChanged:Z
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.line 737
iget-object v1, v1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
iget-object v1, v1, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->info:Ljava/lang/Object;
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;->onSelectionActivated(Ljava/lang/Object;)V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 738
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_3
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.line 739
iget-object v3, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v2, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
iget-object v2, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->selections:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;
invoke-interface {v1, v3, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onTracksChanged(Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;)V
goto :goto_2
:cond_3
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->isLoadingChanged:Z
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 744
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.line 745
iget-boolean v2, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
invoke-interface {v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onLoadingChanged(Z)V
goto :goto_3
:cond_4
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackStateOrPlayWhenReadyChanged:Z
if-eqz v0, :cond_5
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 749
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_4
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
iget-boolean v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playWhenReady:Z
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->playbackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.line 750
iget v3, v3, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
invoke-interface {v1, v2, v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onPlayerStateChanged(ZI)V
goto :goto_4
:cond_5
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->seekProcessed:Z
if-eqz v0, :cond_6
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImpl$PlaybackInfoUpdate;->listeners:Ljava/util/Set;
.line 754
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_5
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_6
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;
.line 755
invoke-interface {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Player$EventListener;->onSeekProcessed()V
goto :goto_5
:cond_6
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,73 @@
.class Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;->sendMessageToTargetThread(Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
.field final synthetic val$message:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;->this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;->val$message:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
.line 840
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;->this$0:Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;->val$message:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
.line 844
invoke-static {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;->access$400(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;)V
:try_end_0
.catch Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception v0
const-string v1, "ExoPlayerImplInternal"
const-string v2, "Unexpected error delivering message on external thread."
.line 846
invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
.line 847
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method

View File

@@ -0,0 +1,39 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$MediaSourceRefreshInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "MediaSourceRefreshInfo"
.end annotation
# instance fields
.field public final manifest:Ljava/lang/Object;
.field public final source:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
.field public final timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;)V
.locals 0
.line 1665
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$MediaSourceRefreshInfo;->source:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$MediaSourceRefreshInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iput-object p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$MediaSourceRefreshInfo;->manifest:Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,158 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Comparable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "PendingMessageInfo"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/lang/Comparable<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;",
">;"
}
.end annotation
# instance fields
.field public final message:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
.field public resolvedPeriodIndex:I
.field public resolvedPeriodTimeUs:J
.field public resolvedPeriodUid:Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;)V
.locals 0
.line 1630
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->message:Lcom/mbridge/msdk/playercommon/exoplayer2/PlayerMessage;
return-void
.end method
# virtual methods
.method public final compareTo(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;)I
.locals 5
.param p1 # Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodUid:Ljava/lang/Object;
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_0
move v3, v2
goto :goto_0
:cond_0
move v3, v1
.line 1642
:goto_0
iget-object v4, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodUid:Ljava/lang/Object;
if-nez v4, :cond_1
move v4, v2
goto :goto_1
:cond_1
move v4, v1
:goto_1
if-eq v3, v4, :cond_3
if-eqz v0, :cond_2
const/4 v2, -0x1
:cond_2
return v2
:cond_3
if-nez v0, :cond_4
return v1
:cond_4
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodIndex:I
.line 1651
iget v1, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodIndex:I
sub-int/2addr v0, v1
if-eqz v0, :cond_5
return v0
:cond_5
iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodTimeUs:J
.line 1655
iget-wide v2, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodTimeUs:J
invoke-static {v0, v1, v2, v3}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Util;->compareLong(JJ)I
move-result p1
return p1
.end method
.method public final bridge synthetic compareTo(Ljava/lang/Object;)I
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1622
check-cast p1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->compareTo(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;)I
move-result p1
return p1
.end method
.method public final setResolvedPosition(IJLjava/lang/Object;)V
.locals 0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodIndex:I
iput-wide p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodTimeUs:J
iput-object p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PendingMessageInfo;->resolvedPeriodUid:Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,164 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "PlaybackInfoUpdate"
.end annotation
# instance fields
.field private discontinuityReason:I
.field private lastPlaybackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.field private operationAcks:I
.field private positionDiscontinuity:Z
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$1;)V
.locals 0
.line 1672
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;-><init>()V
return-void
.end method
.method public static synthetic access$100(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;)I
.locals 0
.line 1672
iget p0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I
return p0
.end method
.method public static synthetic access$200(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;)Z
.locals 0
.line 1672
iget-boolean p0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z
return p0
.end method
.method public static synthetic access$300(Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;)I
.locals 0
.line 1672
iget p0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->discontinuityReason:I
return p0
.end method
# virtual methods
.method public final hasPendingUpdate(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)Z
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->lastPlaybackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
if-ne p1, v0, :cond_1
iget p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I
if-gtz p1, :cond_1
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
return p1
.end method
.method public final incrementPendingOperationAcks(I)V
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I
add-int/2addr v0, p1
iput v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I
return-void
.end method
.method public final reset(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->lastPlaybackInfo:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
const/4 p1, 0x0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I
iput-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z
return-void
.end method
.method public final setPositionDiscontinuity(I)V
.locals 3
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z
const/4 v1, 0x1
if-eqz v0, :cond_1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->discontinuityReason:I
const/4 v2, 0x4
if-eq v0, v2, :cond_1
if-ne p1, v2, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 1698
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkArgument(Z)V
return-void
:cond_1
iput-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$PlaybackInfoUpdate;->discontinuityReason:I
return-void
.end method

View File

@@ -0,0 +1,39 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$SeekPosition;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SeekPosition"
.end annotation
# instance fields
.field public final timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
.field public final windowIndex:I
.field public final windowPositionUs:J
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;IJ)V
.locals 0
.line 1615
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$SeekPosition;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$SeekPosition;->windowIndex:I
iput-wide p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerImplInternal$SeekPosition;->windowPositionUs:J
return-void
.end method

View File

@@ -0,0 +1,141 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final ASSERTIONS_ENABLED:Z = true
.field public static final TAG:Ljava/lang/String; = "ExoPlayer"
.field public static final TRACE_ENABLED:Z = true
.field public static final VERSION:Ljava/lang/String; = "2.8.4"
.field public static final VERSION_INT:I = 0x1ea3c4
.field public static final VERSION_SLASHY:Ljava/lang/String; = "ExoPlayerLib/2.8.4"
.field private static final registeredModules:Ljava/util/HashSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private static registeredModulesString:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 30
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModules:Ljava/util/HashSet;
const-string v0, "goog.exo.core"
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModulesString:Ljava/lang/String;
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static declared-synchronized registerModule(Ljava/lang/String;)V
.locals 3
const-class v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModules:Ljava/util/HashSet;
.line 42
invoke-virtual {v1, p0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
.line 43
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
sget-object v2, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModulesString:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, ", "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
sput-object p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModulesString:Ljava/lang/String;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p0
goto :goto_1
.line 45
:cond_0
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
throw p0
.end method
.method public static declared-synchronized registeredModules()Ljava/lang/String;
.locals 2
const-class v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlayerLibraryInfo;->registeredModulesString:Ljava/lang/String;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 37
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method

View File

@@ -0,0 +1,80 @@
.class Lcom/mbridge/msdk/playercommon/exoplayer2/Format$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/Parcelable$Creator<",
"Lcom/mbridge/msdk/playercommon/exoplayer2/Format;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public createFromParcel(Landroid/os/Parcel;)Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.locals 1
.line 755
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
invoke-direct {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Format;-><init>(Landroid/os/Parcel;)V
return-object v0
.end method
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
.locals 0
.line 751
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Format$1;->createFromParcel(Landroid/os/Parcel;)Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
move-result-object p1
return-object p1
.end method
.method public newArray(I)[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
.locals 0
.line 760
new-array p1, p1, [Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
return-object p1
.end method
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
.locals 0
.line 751
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/Format$1;->newArray(I)[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
move-result-object p1
return-object p1
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/FormatHolder;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public format:Lcom/mbridge/msdk/playercommon/exoplayer2/Format;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,28 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/IllegalSeekPositionException;
.super Ljava/lang/IllegalStateException;
.source "SourceFile"
# instance fields
.field public final positionMs:J
.field public final timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
.field public final windowIndex:I
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;IJ)V
.locals 0
.line 15
invoke-direct {p0}, Ljava/lang/IllegalStateException;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/IllegalSeekPositionException;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/IllegalSeekPositionException;->windowIndex:I
iput-wide p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/IllegalSeekPositionException;->positionMs:J
return-void
.end method

View File

@@ -0,0 +1,32 @@
.class public interface abstract Lcom/mbridge/msdk/playercommon/exoplayer2/LoadControl;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getAllocator()Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocator;
.end method
.method public abstract getBackBufferDurationUs()J
.end method
.method public abstract onPrepared()V
.end method
.method public abstract onReleased()V
.end method
.method public abstract onStopped()V
.end method
.method public abstract onTracksSelected([Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;)V
.end method
.method public abstract retainBackBufferFromKeyframe()Z
.end method
.method public abstract shouldContinueLoading(JF)Z
.end method
.method public abstract shouldStartPlayback(JFZ)Z
.end method

View File

@@ -0,0 +1,844 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static final TAG:Ljava/lang/String; = "MediaPeriodHolder"
# instance fields
.field public hasEnabledTracks:Z
.field public info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.field public final mayRetainStreamFlags:[Z
.field public final mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.field private final mediaSource:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
.field public next:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;
.field private periodTrackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.field public prepared:Z
.field private final rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.field public rendererPositionOffsetUs:J
.field public final sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.field public trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
.field private final trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
.field public trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.field public final uid:Ljava/lang/Object;
# direct methods
.method public constructor <init>([Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;JLcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocator;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;)V
.locals 2
.line 50
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.line 52
iget-wide v0, p8, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
sub-long/2addr p2, v0
iput-wide p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererPositionOffsetUs:J
iput-object p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
iput-object p6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaSource:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
.line 55
invoke-static {p7}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->uid:Ljava/lang/Object;
iput-object p8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 57
array-length p2, p1
new-array p2, p2, [Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 58
array-length p1, p1
new-array p1, p1, [Z
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mayRetainStreamFlags:[Z
.line 59
iget-object p1, p8, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->id:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
invoke-interface {p6, p1, p5}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;->createPeriod(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocator;)Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
move-result-object p3
.line 60
iget-wide p7, p8, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->endPositionUs:J
const-wide/high16 p1, -0x8000000000000000L
cmp-long p1, p7, p1
if-eqz p1, :cond_0
.line 61
new-instance p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/ClippingMediaPeriod;
const/4 p4, 0x1
const-wide/16 p5, 0x0
move-object p2, p1
invoke-direct/range {p2 .. p8}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/ClippingMediaPeriod;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;ZJJ)V
move-object p3, p1
:cond_0
iput-object p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
return-void
.end method
.method private associateNoSampleRenderersWithEmptySampleStream([Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;)V
.locals 3
const/4 v0, 0x0
:goto_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.line 240
array-length v2, v1
if-ge v0, v2, :cond_1
.line 241
aget-object v1, v1, v0
invoke-interface {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;->getTrackType()I
move-result v1
const/4 v2, 0x5
if-ne v1, v2, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 242
invoke-virtual {v1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isRendererEnabled(I)Z
move-result v1
if-eqz v1, :cond_0
.line 243
new-instance v1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/EmptySampleStream;
invoke-direct {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/EmptySampleStream;-><init>()V
aput-object v1, p1, v0
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private disableTrackSelectionsInResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.locals 3
const/4 v0, 0x0
.line 220
:goto_0
iget v1, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->length:I
if-ge v0, v1, :cond_1
.line 221
invoke-virtual {p1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isRendererEnabled(I)Z
move-result v1
.line 222
iget-object v2, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->selections:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;
invoke-virtual {v2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->get(I)Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v2
if-eqz v1, :cond_0
if-eqz v2, :cond_0
.line 224
invoke-interface {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;->disable()V
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private disassociateNoSampleRenderersWithEmptySampleStream([Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;)V
.locals 3
const/4 v0, 0x0
:goto_0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.line 231
array-length v2, v1
if-ge v0, v2, :cond_1
.line 232
aget-object v1, v1, v0
invoke-interface {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;->getTrackType()I
move-result v1
const/4 v2, 0x5
if-ne v1, v2, :cond_0
const/4 v1, 0x0
.line 233
aput-object v1, p1, v0
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private enableTrackSelectionsInResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.locals 3
const/4 v0, 0x0
.line 210
:goto_0
iget v1, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->length:I
if-ge v0, v1, :cond_1
.line 211
invoke-virtual {p1, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isRendererEnabled(I)Z
move-result v1
.line 212
iget-object v2, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->selections:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;
invoke-virtual {v2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->get(I)Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v2
if-eqz v1, :cond_0
if-eqz v2, :cond_0
.line 214
invoke-interface {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;->enable()V
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private updatePeriodTrackSelectorResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->periodTrackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
if-eqz v0, :cond_0
.line 201
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->disableTrackSelectionsInResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
:cond_0
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->periodTrackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
if-eqz p1, :cond_1
.line 205
invoke-direct {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->enableTrackSelectionsInResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
:cond_1
return-void
.end method
# virtual methods
.method public final applyTrackSelection(JZ)J
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.line 143
array-length v0, v0
new-array v0, v0, [Z
invoke-virtual {p0, p1, p2, p3, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->applyTrackSelection(JZ[Z)J
move-result-wide p1
return-wide p1
.end method
.method public final applyTrackSelection(JZ[Z)J
.locals 13
move-object v0, p0
const/4 v1, 0x0
move v2, v1
:goto_0
iget-object v3, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 149
iget v4, v3, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->length:I
const/4 v5, 0x1
if-ge v2, v4, :cond_1
iget-object v4, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mayRetainStreamFlags:[Z
if-nez p3, :cond_0
iget-object v6, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->periodTrackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 151
invoke-virtual {v3, v6, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isEquivalent(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;I)Z
move-result v3
if-eqz v3, :cond_0
goto :goto_1
:cond_0
move v5, v1
:goto_1
aput-boolean v5, v4, v2
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
iget-object v2, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 156
invoke-direct {p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->disassociateNoSampleRenderersWithEmptySampleStream([Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;)V
iget-object v2, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 157
invoke-direct {p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->updatePeriodTrackSelectorResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
iget-object v2, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 159
iget-object v2, v2, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->selections:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;
iget-object v6, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 162
invoke-virtual {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->getAll()[Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v7
iget-object v8, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mayRetainStreamFlags:[Z
iget-object v9, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
move-object/from16 v10, p4
move-wide v11, p1
.line 161
invoke-interface/range {v6 .. v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->selectTracks([Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;[Z[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;[ZJ)J
move-result-wide v3
iget-object v6, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 167
invoke-direct {p0, v6}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->associateNoSampleRenderersWithEmptySampleStream([Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;)V
iput-boolean v1, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->hasEnabledTracks:Z
move v6, v1
:goto_2
iget-object v7, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->sampleStreams:[Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 171
array-length v8, v7
if-ge v6, v8, :cond_5
.line 172
aget-object v7, v7, v6
if-eqz v7, :cond_2
iget-object v7, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 173
invoke-virtual {v7, v6}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isRendererEnabled(I)Z
move-result v7
invoke-static {v7}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iget-object v7, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.line 175
aget-object v7, v7, v6
invoke-interface {v7}, Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;->getTrackType()I
move-result v7
const/4 v8, 0x5
if-eq v7, v8, :cond_4
iput-boolean v5, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->hasEnabledTracks:Z
goto :goto_4
.line 179
:cond_2
invoke-virtual {v2, v6}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->get(I)Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v7
if-nez v7, :cond_3
move v7, v5
goto :goto_3
:cond_3
move v7, v1
:goto_3
invoke-static {v7}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
:cond_4
:goto_4
add-int/lit8 v6, v6, 0x1
goto :goto_2
:cond_5
return-wide v3
.end method
.method public final continueLoading(J)V
.locals 1
.line 123
invoke-virtual {p0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->toPeriodTime(J)J
move-result-wide p1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 124
invoke-interface {v0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->continueLoading(J)Z
return-void
.end method
.method public final getBufferedPositionUs(Z)J
.locals 4
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->prepared:Z
if-nez v0, :cond_0
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 95
iget-wide v0, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
return-wide v0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 97
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->getBufferedPositionUs()J
move-result-wide v0
const-wide/high16 v2, -0x8000000000000000L
cmp-long v2, v0, v2
if-nez v2, :cond_1
if-eqz p1, :cond_1
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 99
iget-wide v0, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->durationUs:J
:cond_1
return-wide v0
.end method
.method public final getDurationUs()J
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 89
iget-wide v0, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->durationUs:J
return-wide v0
.end method
.method public final getNextLoadPositionUs()J
.locals 2
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->prepared:Z
if-nez v0, :cond_0
const-wide/16 v0, 0x0
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 104
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->getNextLoadPositionUs()J
move-result-wide v0
:goto_0
return-wide v0
.end method
.method public final getRendererOffset()J
.locals 2
iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererPositionOffsetUs:J
return-wide v0
.end method
.method public final handlePrepared(F)V
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->prepared:Z
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 109
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->getTrackGroups()Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
move-result-object v0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
.line 110
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->selectTracks(F)Z
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 111
iget-wide v0, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
const/4 p1, 0x0
invoke-virtual {p0, v0, v1, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->applyTrackSelection(JZ)J
move-result-wide v0
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererPositionOffsetUs:J
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 112
iget-wide v4, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
sub-long/2addr v4, v0
add-long/2addr v2, v4
iput-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererPositionOffsetUs:J
.line 113
invoke-virtual {p1, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->copyWithStartPositionUs(J)Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
move-result-object p1
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
return-void
.end method
.method public final isFullyBuffered()Z
.locals 4
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->prepared:Z
if-eqz v0, :cond_1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->hasEnabledTracks:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 85
invoke-interface {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->getBufferedPositionUs()J
move-result-wide v0
const-wide/high16 v2, -0x8000000000000000L
cmp-long v0, v0, v2
if-nez v0, :cond_1
:cond_0
const/4 v0, 0x1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final reevaluateBuffer(J)V
.locals 1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->prepared:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 118
invoke-virtual {p0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->toPeriodTime(J)J
move-result-wide p1
invoke-interface {v0, p1, p2}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;->reevaluateBuffer(J)V
:cond_0
return-void
.end method
.method public final release()V
.locals 4
const/4 v0, 0x0
.line 186
invoke-direct {p0, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->updatePeriodTrackSelectorResult(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->info:Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.line 188
iget-wide v0, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->endPositionUs:J
const-wide/high16 v2, -0x8000000000000000L
cmp-long v0, v0, v2
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaSource:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 189
check-cast v1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/ClippingMediaPeriod;
iget-object v1, v1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/ClippingMediaPeriod;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;->releasePeriod(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;)V
goto :goto_1
:catch_0
move-exception v0
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaSource:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->mediaPeriod:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;
.line 191
invoke-interface {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource;->releasePeriod(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaPeriod;)V
:try_end_0
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:goto_0
const-string v1, "MediaPeriodHolder"
const-string v2, "Period release failed."
.line 195
invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_1
return-void
.end method
.method public final selectTracks(F)Z
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelector:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->rendererCapabilities:[Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
.line 129
invoke-virtual {v0, v1, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelector;->selectTracks([Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;)Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-result-object v0
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->periodTrackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 130
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->isEquivalent(Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)Z
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_0
return v2
:cond_0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
.line 134
iget-object v0, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;->selections:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;
invoke-virtual {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectionArray;->getAll()[Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;
move-result-object v0
array-length v1, v0
:goto_0
if-ge v2, v1, :cond_2
aget-object v3, v0, v2
if-eqz v3, :cond_1
.line 136
invoke-interface {v3, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelection;->onPlaybackSpeed(F)V
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
const/4 p1, 0x1
return p1
.end method
.method public final toPeriodTime(J)J
.locals 2
.line 76
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->getRendererOffset()J
move-result-wide v0
sub-long/2addr p1, v0
return-wide p1
.end method
.method public final toRendererTime(J)J
.locals 2
.line 72
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodHolder;->getRendererOffset()J
move-result-wide v0
add-long/2addr p1, v0
return-wide p1
.end method

View File

@@ -0,0 +1,105 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public final contentPositionUs:J
.field public final durationUs:J
.field public final endPositionUs:J
.field public final id:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
.field public final isFinal:Z
.field public final isLastInTimelinePeriod:Z
.field public final startPositionUs:J
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJJJZZ)V
.locals 0
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->id:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iput-wide p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->endPositionUs:J
iput-wide p6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->contentPositionUs:J
iput-wide p8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->durationUs:J
iput-boolean p10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isLastInTimelinePeriod:Z
iput-boolean p11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isFinal:Z
return-void
.end method
# virtual methods
.method public final copyWithPeriodIndex(I)Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.locals 13
.line 44
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->id:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
.line 45
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->copyWithPeriodIndex(I)Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
move-result-object v1
iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->startPositionUs:J
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->endPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->contentPositionUs:J
iget-wide v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->durationUs:J
iget-boolean v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isLastInTimelinePeriod:Z
iget-boolean v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isFinal:Z
move-object v0, v12
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJJJZZ)V
return-object v12
.end method
.method public final copyWithStartPositionUs(J)Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
.locals 13
.line 56
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->id:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->endPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->contentPositionUs:J
iget-wide v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->durationUs:J
iget-boolean v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isLastInTimelinePeriod:Z
iget-boolean v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;->isFinal:Z
move-object v0, v12
move-wide v2, p1
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/MediaPeriodInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJJJZZ)V
return-object v12
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,428 @@
.class public abstract Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/Renderer;
.implements Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
# instance fields
.field private configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
.field private index:I
.field private state:I
.field private stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.field private streamIsFinal:Z
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final disable()V
.locals 3
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
const/4 v1, 0x0
const/4 v2, 0x1
if-ne v0, v2, :cond_0
goto :goto_0
:cond_0
move v2, v1
.line 111
:goto_0
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
iput-boolean v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->streamIsFinal:Z
.line 115
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onDisabled()V
return-void
.end method
.method public final enable(Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;[Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;JZJ)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
const/4 v1, 0x1
if-nez v0, :cond_0
move v0, v1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 48
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
iput v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
.line 51
invoke-virtual {p0, p6}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onEnabled(Z)V
.line 52
invoke-virtual {p0, p2, p3, p7, p8}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->replaceStream([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;J)V
.line 53
invoke-virtual {p0, p4, p5, p6}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onPositionReset(JZ)V
return-void
.end method
.method public final getCapabilities()Lcom/mbridge/msdk/playercommon/exoplayer2/RendererCapabilities;
.locals 0
return-object p0
.end method
.method public final getConfiguration()Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->configuration:Lcom/mbridge/msdk/playercommon/exoplayer2/RendererConfiguration;
return-object v0
.end method
.method public final getIndex()I
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->index:I
return v0
.end method
.method public getMediaClock()Lcom/mbridge/msdk/playercommon/exoplayer2/util/MediaClock;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public final getState()I
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
return v0
.end method
.method public final getStream()Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
return-object v0
.end method
.method public final getTrackType()I
.locals 1
const/4 v0, 0x5
return v0
.end method
.method public handleMessage(ILjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public final hasReadStreamToEnd()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public final isCurrentStreamFinal()Z
.locals 1
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->streamIsFinal:Z
return v0
.end method
.method public isEnded()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public isReady()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public final maybeThrowStreamError()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
return-void
.end method
.method public onDisabled()V
.locals 0
return-void
.end method
.method public onEnabled(Z)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onPositionReset(JZ)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onRendererOffsetChanged(J)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onStarted()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public onStopped()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
return-void
.end method
.method public final replaceStream([Lcom/mbridge/msdk/playercommon/exoplayer2/Format;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;J)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->streamIsFinal:Z
xor-int/lit8 p1, p1, 0x1
.line 67
invoke-static {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->stream:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleStream;
.line 69
invoke-virtual {p0, p3, p4}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onRendererOffsetChanged(J)V
return-void
.end method
.method public final resetPosition(J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->streamIsFinal:Z
.line 99
invoke-virtual {p0, p1, p2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onPositionReset(JZ)V
return-void
.end method
.method public final setCurrentStreamFinal()V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->streamIsFinal:Z
return-void
.end method
.method public final setIndex(I)V
.locals 0
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->index:I
return-void
.end method
.method public final start()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 58
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
const/4 v0, 0x2
iput v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
.line 60
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onStarted()V
return-void
.end method
.method public final stop()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
const/4 v1, 0x2
const/4 v2, 0x1
if-ne v0, v1, :cond_0
move v0, v2
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 104
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
iput v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->state:I
.line 106
invoke-virtual {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/NoSampleRenderer;->onStopped()V
return-void
.end method
.method public supportsFormat(Lcom/mbridge/msdk/playercommon/exoplayer2/Format;)I
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 p1, 0x0
return p1
.end method
.method public supportsMixedMimeTypeAdaptation()I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
}
.end annotation
const/4 v0, 0x0
return v0
.end method

View File

@@ -0,0 +1,41 @@
.class public Lcom/mbridge/msdk/playercommon/exoplayer2/ParserException;
.super Ljava/io/IOException;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
.line 10
invoke-direct {p0}, Ljava/io/IOException;-><init>()V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 15
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
.line 25
invoke-direct {p0, p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;)V
.locals 0
.line 20
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
return-void
.end method

View File

@@ -0,0 +1,341 @@
.class final Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public volatile bufferedPositionUs:J
.field public final contentPositionUs:J
.field public final isLoading:Z
.field public final manifest:Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field public final periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
.field public final playbackState:I
.field public volatile positionUs:J
.field public final startPositionUs:J
.field public final timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
.field public final trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
.field public final trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;JLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.locals 12
const/4 v2, 0x0
.line 30
new-instance v3, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
const/4 v0, 0x0
invoke-direct {v3, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;-><init>(I)V
const-wide v6, -0x7fffffffffffffffL # -4.9E-324
const/4 v8, 0x1
const/4 v9, 0x0
move-object v0, p0
move-object v1, p1
move-wide v4, p2
move-object/from16 v10, p4
move-object/from16 v11, p5
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
return-void
.end method
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.locals 0
.param p2 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 51
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iput-object p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iput-wide p6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->positionUs:J
iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->bufferedPositionUs:J
iput p8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iput-boolean p9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iput-object p10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iput-object p11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
return-void
.end method
.method private static copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
.locals 2
.line 161
iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->positionUs:J
iput-wide v0, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->positionUs:J
.line 162
iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->bufferedPositionUs:J
iput-wide v0, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->bufferedPositionUs:J
return-void
.end method
# virtual methods
.method public final copyWithIsLoading(Z)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 13
.line 128
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iget v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget-object v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-object v0, v12
move v9, p1
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.line 139
invoke-static {p0, v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
return-object v12
.end method
.method public final copyWithPeriodIndex(I)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 13
.line 80
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
.line 84
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->copyWithPeriodIndex(I)Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
move-result-object v3
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iget v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget-boolean v9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iget-object v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-object v0, v12
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.line 91
invoke-static {p0, v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
return-object v12
.end method
.method public final copyWithPlaybackState(I)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 13
.line 112
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iget-boolean v9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iget-object v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-object v0, v12
move v8, p1
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.line 123
invoke-static {p0, v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
return-object v12
.end method
.method public final copyWithTimeline(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 13
.line 96
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iget v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget-boolean v9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iget-object v10, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v11, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-object v0, v12
move-object v1, p1
move-object v2, p2
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.line 107
invoke-static {p0, v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
return-object v12
.end method
.method public final copyWithTrackInfo(Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 13
.line 145
new-instance v12, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
iget-object v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->periodId:Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;
iget-wide v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->startPositionUs:J
iget-wide v6, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->contentPositionUs:J
iget v8, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget-boolean v9, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
move-object v0, v12
move-object v10, p1
move-object v11, p2
invoke-direct/range {v0 .. v11}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
.line 156
invoke-static {p0, v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->copyMutablePositions(Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;)V
return-object v12
.end method
.method public final fromNewPosition(Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJ)Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
.locals 14
move-object v0, p0
.line 67
new-instance v13, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;
iget-object v2, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->timeline:Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;
iget-object v3, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->manifest:Ljava/lang/Object;
.line 72
invoke-virtual {p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->isAd()Z
move-result v1
if-eqz v1, :cond_0
move-wide/from16 v7, p4
goto :goto_0
:cond_0
const-wide v4, -0x7fffffffffffffffL # -4.9E-324
move-wide v7, v4
:goto_0
iget v9, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->playbackState:I
iget-boolean v10, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->isLoading:Z
iget-object v11, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackGroups:Lcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;
iget-object v12, v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;->trackSelectorResult:Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;
move-object v1, v13
move-object v4, p1
move-wide/from16 v5, p2
invoke-direct/range {v1 .. v12}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackInfo;-><init>(Lcom/mbridge/msdk/playercommon/exoplayer2/Timeline;Ljava/lang/Object;Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;JJIZLcom/mbridge/msdk/playercommon/exoplayer2/source/TrackGroupArray;Lcom/mbridge/msdk/playercommon/exoplayer2/trackselection/TrackSelectorResult;)V
return-object v13
.end method

View File

@@ -0,0 +1,235 @@
.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final DEFAULT:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
# instance fields
.field public final pitch:F
.field private final scaledUsPerMs:I
.field public final skipSilence:Z
.field public final speed:F
# direct methods
.method static constructor <clinit>()V
.locals 2
.line 11
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
const/high16 v1, 0x3f800000 # 1.0f
invoke-direct {v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;-><init>(F)V
sput-object v0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->DEFAULT:Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
return-void
.end method
.method public constructor <init>(F)V
.locals 2
const/high16 v0, 0x3f800000 # 1.0f
const/4 v1, 0x0
.line 26
invoke-direct {p0, p1, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;-><init>(FFZ)V
return-void
.end method
.method public constructor <init>(FF)V
.locals 1
const/4 v0, 0x0
.line 31
invoke-direct {p0, p1, p2, v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;-><init>(FFZ)V
return-void
.end method
.method public constructor <init>(FFZ)V
.locals 4
.line 35
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
cmpl-float v1, p1, v0
const/4 v2, 0x1
const/4 v3, 0x0
if-lez v1, :cond_0
move v1, v2
goto :goto_0
:cond_0
move v1, v3
.line 36
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkArgument(Z)V
cmpl-float v0, p2, v0
if-lez v0, :cond_1
goto :goto_1
:cond_1
move v2, v3
.line 37
:goto_1
invoke-static {v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkArgument(Z)V
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->speed:F
iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->pitch:F
iput-boolean p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->skipSilence:Z
const/high16 p2, 0x447a0000 # 1000.0f
mul-float/2addr p1, p2
.line 41
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->scaledUsPerMs:I
return-void
.end method
# virtual methods
.method public final equals(Ljava/lang/Object;)Z
.locals 4
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_3
.line 54
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
const-class v3, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
if-eq v3, v2, :cond_1
goto :goto_1
.line 57
:cond_1
check-cast p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;
iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->speed:F
.line 58
iget v3, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->speed:F
cmpl-float v2, v2, v3
if-nez v2, :cond_2
iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->pitch:F
iget v3, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->pitch:F
cmpl-float v2, v2, v3
if-nez v2, :cond_2
iget-boolean v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->skipSilence:Z
iget-boolean p1, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->skipSilence:Z
if-ne v2, p1, :cond_2
goto :goto_0
:cond_2
move v0, v1
:goto_0
return v0
:cond_3
:goto_1
return v1
.end method
.method public final getMediaTimeUsForPlayoutTimeMs(J)J
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->scaledUsPerMs:I
int-to-long v0, v0
mul-long/2addr p1, v0
return-wide p1
.end method
.method public final hashCode()I
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->speed:F
.line 66
invoke-static {v0}, Ljava/lang/Float;->floatToRawIntBits(F)I
move-result v0
const/16 v1, 0x20f
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->pitch:F
.line 67
invoke-static {v0}, Ljava/lang/Float;->floatToRawIntBits(F)I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/PlaybackParameters;->skipSilence:Z
add-int/2addr v1, v0
return v1
.end method

Some files were not shown because too many files have changed in this diff Show More