.class final Landroidx/media3/exoplayer/ExoPlayerImpl; .super Landroidx/media3/common/BasePlayer; .source "ExoPlayerImpl.java" # interfaces .implements Landroidx/media3/exoplayer/ExoPlayer; .implements Landroidx/media3/exoplayer/ExoPlayer$AudioComponent; .implements Landroidx/media3/exoplayer/ExoPlayer$VideoComponent; .implements Landroidx/media3/exoplayer/ExoPlayer$TextComponent; .implements Landroidx/media3/exoplayer/ExoPlayer$DeviceComponent; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener;, Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener;, Landroidx/media3/exoplayer/ExoPlayerImpl$Api31;, Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot; } .end annotation # static fields .field private static final TAG:Ljava/lang/String; = "ExoPlayerImpl" # instance fields .field private final analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .field private final applicationContext:Landroid/content/Context; .field private final applicationLooper:Landroid/os/Looper; .field private audioAttributes:Landroidx/media3/common/AudioAttributes; .field private final audioBecomingNoisyManager:Landroidx/media3/exoplayer/AudioBecomingNoisyManager; .field private audioDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; .field private final audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .field private audioFormat:Landroidx/media3/common/Format; .field private final audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/CopyOnWriteArraySet<", "Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;", ">;" } .end annotation .end field .field private audioSessionId:I .field private availableCommands:Landroidx/media3/common/Player$Commands; .field private final bandwidthMeter:Landroidx/media3/exoplayer/upstream/BandwidthMeter; .field private cameraMotionListener:Landroidx/media3/exoplayer/video/spherical/CameraMotionListener; .field private final clock:Landroidx/media3/common/util/Clock; .field private final componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .field private final constructorFinished:Landroidx/media3/common/util/ConditionVariable; .field private currentCueGroup:Landroidx/media3/common/text/CueGroup; .field private final detachSurfaceTimeoutMs:J .field private deviceInfo:Landroidx/media3/common/DeviceInfo; .field final emptyTrackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; .field private foregroundMode:Z .field private final frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .field private hasNotifiedFullWrongThreadWarning:Z .field private final internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .field private isPriorityTaskManagerRegistered:Z .field private keepSessionIdAudioTrack:Landroid/media/AudioTrack; .field private final listeners:Landroidx/media3/common/util/ListenerSet; .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/media3/common/util/ListenerSet<", "Landroidx/media3/common/Player$Listener;", ">;" } .end annotation .end field .field private maskingPeriodIndex:I .field private maskingWindowIndex:I .field private maskingWindowPositionMs:J .field private mediaMetadata:Landroidx/media3/common/MediaMetadata; .field private final mediaSourceFactory:Landroidx/media3/exoplayer/source/MediaSource$Factory; .field private final mediaSourceHolderSnapshots:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot;", ">;" } .end annotation .end field .field private ownedSurface:Landroid/view/Surface; .field private pauseAtEndOfMediaItems:Z .field private pendingDiscontinuity:Z .field private pendingDiscontinuityReason:I .field private pendingOperationAcks:I .field private pendingPlayWhenReadyChangeReason:I .field private final period:Landroidx/media3/common/Timeline$Period; .field final permanentAvailableCommands:Landroidx/media3/common/Player$Commands; .field private playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .field private final playbackInfoUpdateHandler:Landroidx/media3/common/util/HandlerWrapper; .field private final playbackInfoUpdateListener:Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdateListener; .field private playerReleased:Z .field private playlistMetadata:Landroidx/media3/common/MediaMetadata; .field private priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; .field private final renderers:[Landroidx/media3/exoplayer/Renderer; .field private repeatMode:I .field private final seekBackIncrementMs:J .field private final seekForwardIncrementMs:J .field private seekParameters:Landroidx/media3/exoplayer/SeekParameters; .field private shuffleModeEnabled:Z .field private shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .field private skipSilenceEnabled:Z .field private sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; .field private staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; .field private final streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; .field private surfaceHolder:Landroid/view/SurfaceHolder; .field private surfaceHolderSurfaceIsVideoOutput:Z .field private surfaceSize:Landroidx/media3/common/util/Size; .field private textureView:Landroid/view/TextureView; .field private throwsWhenUsingWrongThread:Z .field private final trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .field private final useLazyPreparation:Z .field private videoChangeFrameRateStrategy:I .field private videoDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; .field private videoFormat:Landroidx/media3/common/Format; .field private videoFrameMetadataListener:Landroidx/media3/exoplayer/video/VideoFrameMetadataListener; .field private videoOutput:Ljava/lang/Object; .field private videoScalingMode:I .field private videoSize:Landroidx/media3/common/VideoSize; .field private volume:F .field private final wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .field private final wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .field private final wrappingPlayer:Landroidx/media3/common/Player; # direct methods .method static constructor ()V .locals 1 const-string v0, "media3.exoplayer" .line 131 invoke-static {v0}, Landroidx/media3/common/MediaLibraryInfo;->registerModule(Ljava/lang/String;)V return-void .end method .method public constructor (Landroidx/media3/exoplayer/ExoPlayer$Builder;Landroidx/media3/common/Player;)V .locals 39 move-object/from16 v1, p0 move-object/from16 v0, p1 const-string v2, " [AndroidXMedia3/1.1.1] [" const-string v3, "Init " .line 232 invoke-direct/range {p0 .. p0}, Landroidx/media3/common/BasePlayer;->()V .line 233 new-instance v4, Landroidx/media3/common/util/ConditionVariable; invoke-direct {v4}, Landroidx/media3/common/util/ConditionVariable;->()V iput-object v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->constructorFinished:Landroidx/media3/common/util/ConditionVariable; :try_start_0 const-string v5, "ExoPlayerImpl" .line 235 new-instance v6, Ljava/lang/StringBuilder; invoke-direct {v6, v3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V .line 238 invoke-static/range {p0 .. p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I move-result v3 invoke-static {v3}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String; move-result-object v3 invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v3 invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 sget-object v3, Landroidx/media3/common/util/Util;->DEVICE_DEBUG_INFO:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 const-string v3, "]" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 .line 235 invoke-static {v5, v2}, Landroidx/media3/common/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)V .line 244 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; invoke-virtual {v2}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context; move-result-object v2 iput-object v2, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->applicationContext:Landroid/content/Context; .line 245 iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->analyticsCollectorFunction:Lcom/google/common/base/Function; iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->clock:Landroidx/media3/common/util/Clock; invoke-interface {v3, v5}, Lcom/google/common/base/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v3 check-cast v3, Landroidx/media3/exoplayer/analytics/AnalyticsCollector; iput-object v3, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 246 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; .line 247 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->audioAttributes:Landroidx/media3/common/AudioAttributes; iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; .line 248 iget v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->videoScalingMode:I iput v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoScalingMode:I .line 249 iget v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->videoChangeFrameRateStrategy:I iput v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoChangeFrameRateStrategy:I .line 250 iget-boolean v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->skipSilenceEnabled:Z iput-boolean v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z .line 251 iget-wide v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->detachSurfaceTimeoutMs:J iput-wide v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->detachSurfaceTimeoutMs:J .line 252 new-instance v15, Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; const/4 v14, 0x0 invoke-direct {v15, v1, v14}, Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener;->(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/exoplayer/ExoPlayerImpl$1;)V iput-object v15, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 253 new-instance v13, Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; invoke-direct {v13, v14}, Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener;->(Landroidx/media3/exoplayer/ExoPlayerImpl$1;)V iput-object v13, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 254 new-instance v6, Landroid/os/Handler; iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->looper:Landroid/os/Looper; invoke-direct {v6, v5}, Landroid/os/Handler;->(Landroid/os/Looper;)V .line 255 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->renderersFactorySupplier:Lcom/google/common/base/Supplier; .line 258 invoke-interface {v5}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object; move-result-object v5 move-object v7, v5 check-cast v7, Landroidx/media3/exoplayer/RenderersFactory; move-object v8, v6 move-object v9, v15 move-object v10, v15 move-object v11, v15 move-object v12, v15 .line 259 invoke-interface/range {v7 .. v12}, Landroidx/media3/exoplayer/RenderersFactory;->createRenderers(Landroid/os/Handler;Landroidx/media3/exoplayer/video/VideoRendererEventListener;Landroidx/media3/exoplayer/audio/AudioRendererEventListener;Landroidx/media3/exoplayer/text/TextOutput;Landroidx/media3/exoplayer/metadata/MetadataOutput;)[Landroidx/media3/exoplayer/Renderer; move-result-object v7 iput-object v7, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 265 array-length v5, v7 const/4 v12, 0x0 if-lez v5, :cond_0 const/4 v5, 0x1 goto :goto_0 :cond_0 move v5, v12 :goto_0 invoke-static {v5}, Landroidx/media3/common/util/Assertions;->checkState(Z)V .line 266 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->trackSelectorSupplier:Lcom/google/common/base/Supplier; invoke-interface {v5}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object; move-result-object v5 move-object v10, v5 check-cast v10, Landroidx/media3/exoplayer/trackselection/TrackSelector; iput-object v10, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 267 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->mediaSourceFactorySupplier:Lcom/google/common/base/Supplier; invoke-interface {v5}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object; move-result-object v5 check-cast v5, Landroidx/media3/exoplayer/source/MediaSource$Factory; iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceFactory:Landroidx/media3/exoplayer/source/MediaSource$Factory; .line 268 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->bandwidthMeterSupplier:Lcom/google/common/base/Supplier; invoke-interface {v5}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object; move-result-object v5 move-object v9, v5 check-cast v9, Landroidx/media3/exoplayer/upstream/BandwidthMeter; iput-object v9, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->bandwidthMeter:Landroidx/media3/exoplayer/upstream/BandwidthMeter; .line 269 iget-boolean v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->useLazyPreparation:Z iput-boolean v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->useLazyPreparation:Z .line 270 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; move-object/from16 v16, v15 .line 271 iget-wide v14, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->seekBackIncrementMs:J iput-wide v14, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekBackIncrementMs:J .line 272 iget-wide v14, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->seekForwardIncrementMs:J iput-wide v14, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekForwardIncrementMs:J .line 273 iget-boolean v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->pauseAtEndOfMediaItems:Z iput-boolean v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->pauseAtEndOfMediaItems:Z .line 274 iget-object v15, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->looper:Landroid/os/Looper; iput-object v15, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->applicationLooper:Landroid/os/Looper; .line 275 iget-object v14, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->clock:Landroidx/media3/common/util/Clock; iput-object v14, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->clock:Landroidx/media3/common/util/Clock; if-nez p2, :cond_1 move-object v5, v1 goto :goto_1 :cond_1 move-object/from16 v5, p2 :goto_1 iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->wrappingPlayer:Landroidx/media3/common/Player; .line 277 new-instance v8, Landroidx/media3/common/util/ListenerSet; new-instance v11, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda12; invoke-direct {v11, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda12;->(Landroidx/media3/exoplayer/ExoPlayerImpl;)V invoke-direct {v8, v15, v14, v11}, Landroidx/media3/common/util/ListenerSet;->(Landroid/os/Looper;Landroidx/media3/common/util/Clock;Landroidx/media3/common/util/ListenerSet$IterationFinishedEvent;)V iput-object v8, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 282 new-instance v8, Ljava/util/concurrent/CopyOnWriteArraySet; invoke-direct {v8}, Ljava/util/concurrent/CopyOnWriteArraySet;->()V iput-object v8, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .line 283 new-instance v8, Ljava/util/ArrayList; invoke-direct {v8}, Ljava/util/ArrayList;->()V iput-object v8, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 284 new-instance v8, Landroidx/media3/exoplayer/source/ShuffleOrder$DefaultShuffleOrder; invoke-direct {v8, v12}, Landroidx/media3/exoplayer/source/ShuffleOrder$DefaultShuffleOrder;->(I)V iput-object v8, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 285 new-instance v8, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; array-length v11, v7 new-array v11, v11, [Landroidx/media3/exoplayer/RendererConfiguration; array-length v12, v7 new-array v12, v12, [Landroidx/media3/exoplayer/trackselection/ExoTrackSelection; move-object/from16 v20, v6 sget-object v6, Landroidx/media3/common/Tracks;->EMPTY:Landroidx/media3/common/Tracks; move-object/from16 v21, v9 const/4 v9, 0x0 invoke-direct {v8, v11, v12, v6, v9}, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->([Landroidx/media3/exoplayer/RendererConfiguration;[Landroidx/media3/exoplayer/trackselection/ExoTrackSelection;Landroidx/media3/common/Tracks;Ljava/lang/Object;)V iput-object v8, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->emptyTrackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; .line 291 new-instance v6, Landroidx/media3/common/Timeline$Period; invoke-direct {v6}, Landroidx/media3/common/Timeline$Period;->()V iput-object v6, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 292 new-instance v6, Landroidx/media3/common/Player$Commands$Builder; invoke-direct {v6}, Landroidx/media3/common/Player$Commands$Builder;->()V const/16 v9, 0x13 new-array v9, v9, [I fill-array-data v9, :array_0 .line 294 invoke-virtual {v6, v9}, Landroidx/media3/common/Player$Commands$Builder;->addAll([I)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 .line 315 invoke-virtual {v10}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->isSetParametersSupported()Z move-result v9 const/16 v11, 0x1d .line 314 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 iget-boolean v9, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z const/16 v11, 0x17 .line 316 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 iget-boolean v9, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z const/16 v11, 0x19 .line 317 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 iget-boolean v9, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z const/16 v11, 0x21 .line 318 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 iget-boolean v9, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z const/16 v11, 0x1a .line 319 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 iget-boolean v9, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z const/16 v11, 0x22 .line 320 invoke-virtual {v6, v11, v9}, Landroidx/media3/common/Player$Commands$Builder;->addIf(IZ)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 .line 321 invoke-virtual {v6}, Landroidx/media3/common/Player$Commands$Builder;->build()Landroidx/media3/common/Player$Commands; move-result-object v6 iput-object v6, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->permanentAvailableCommands:Landroidx/media3/common/Player$Commands; .line 322 new-instance v9, Landroidx/media3/common/Player$Commands$Builder; invoke-direct {v9}, Landroidx/media3/common/Player$Commands$Builder;->()V .line 324 invoke-virtual {v9, v6}, Landroidx/media3/common/Player$Commands$Builder;->addAll(Landroidx/media3/common/Player$Commands;)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 const/4 v12, 0x4 .line 325 invoke-virtual {v6, v12}, Landroidx/media3/common/Player$Commands$Builder;->add(I)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 const/16 v11, 0xa .line 326 invoke-virtual {v6, v11}, Landroidx/media3/common/Player$Commands$Builder;->add(I)Landroidx/media3/common/Player$Commands$Builder; move-result-object v6 .line 327 invoke-virtual {v6}, Landroidx/media3/common/Player$Commands$Builder;->build()Landroidx/media3/common/Player$Commands; move-result-object v6 iput-object v6, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->availableCommands:Landroidx/media3/common/Player$Commands; const/4 v9, 0x0 .line 328 invoke-interface {v14, v15, v9}, Landroidx/media3/common/util/Clock;->createHandler(Landroid/os/Looper;Landroid/os/Handler$Callback;)Landroidx/media3/common/util/HandlerWrapper; move-result-object v6 iput-object v6, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfoUpdateHandler:Landroidx/media3/common/util/HandlerWrapper; .line 329 new-instance v6, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda13; invoke-direct {v6, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda13;->(Landroidx/media3/exoplayer/ExoPlayerImpl;)V iput-object v6, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfoUpdateListener:Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdateListener; .line 332 invoke-static {v8}, Landroidx/media3/exoplayer/PlaybackInfo;->createDummy(Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v9 iput-object v9, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 333 invoke-interface {v3, v5, v15}, Landroidx/media3/exoplayer/analytics/AnalyticsCollector;->setPlayer(Landroidx/media3/common/Player;Landroid/os/Looper;)V .line 335 sget v5, Landroidx/media3/common/util/Util;->SDK_INT:I const/16 v9, 0x1f if-ge v5, v9, :cond_2 .line 336 new-instance v5, Landroidx/media3/exoplayer/analytics/PlayerId; invoke-direct {v5}, Landroidx/media3/exoplayer/analytics/PlayerId;->()V goto :goto_2 .line 337 :cond_2 iget-boolean v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->usePlatformDiagnostics:Z invoke-static {v2, v1, v5}, Landroidx/media3/exoplayer/ExoPlayerImpl$Api31;->registerMediaMetricsListener(Landroid/content/Context;Landroidx/media3/exoplayer/ExoPlayerImpl;Z)Landroidx/media3/exoplayer/analytics/PlayerId; move-result-object v5 :goto_2 move-object/from16 v22, v5 .line 339 new-instance v9, Landroidx/media3/exoplayer/ExoPlayerImplInternal; iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->loadControlSupplier:Lcom/google/common/base/Supplier; .line 344 invoke-interface {v5}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object; move-result-object v5 move-object/from16 v23, v5 check-cast v23, Landroidx/media3/exoplayer/LoadControl; iget v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I iget-boolean v12, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z move-object/from16 v24, v14 iget-object v14, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; move-object/from16 v25, v15 iget-object v15, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->livePlaybackSpeedControl:Landroidx/media3/exoplayer/LivePlaybackSpeedControl; move-object/from16 v26, v14 move-object/from16 v27, v15 iget-wide v14, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->releaseTimeoutMs:J move-object/from16 v28, v4 iget-boolean v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->pauseAtEndOfMediaItems:Z move-object/from16 v29, v2 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->playbackLooper:Landroid/os/Looper; move/from16 v30, v5 move-object v5, v9 move-object/from16 v32, v6 move-object/from16 v31, v20 move-object v6, v7 move-object v7, v10 move-object v0, v9 move-object/from16 v33, v21 const/16 v17, 0x0 move-object/from16 v9, v23 move-object/from16 v34, v10 move-object/from16 v10, v33 move/from16 v11, v30 move-object/from16 v35, v13 move-object v13, v3 move-object/from16 v20, v24 move-wide/from16 v37, v14 move-object/from16 v15, v17 move-wide/from16 v17, v37 move-object/from16 v14, v26 move-object/from16 v36, v16 move-object/from16 v15, v27 move-wide/from16 v16, v17 move/from16 v18, v4 move-object/from16 v19, v25 move-object/from16 v21, v32 move-object/from16 v23, v2 invoke-direct/range {v5 .. v23}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->([Landroidx/media3/exoplayer/Renderer;Landroidx/media3/exoplayer/trackselection/TrackSelector;Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;Landroidx/media3/exoplayer/LoadControl;Landroidx/media3/exoplayer/upstream/BandwidthMeter;IZLandroidx/media3/exoplayer/analytics/AnalyticsCollector;Landroidx/media3/exoplayer/SeekParameters;Landroidx/media3/exoplayer/LivePlaybackSpeedControl;JZLandroid/os/Looper;Landroidx/media3/common/util/Clock;Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdateListener;Landroidx/media3/exoplayer/analytics/PlayerId;Landroid/os/Looper;)V iput-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; const/high16 v2, 0x3f800000 # 1.0f iput v2, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->volume:F const/4 v2, 0x0 iput v2, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I .line 361 sget-object v4, Landroidx/media3/common/MediaMetadata;->EMPTY:Landroidx/media3/common/MediaMetadata; iput-object v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; .line 362 sget-object v4, Landroidx/media3/common/MediaMetadata;->EMPTY:Landroidx/media3/common/MediaMetadata; iput-object v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->playlistMetadata:Landroidx/media3/common/MediaMetadata; .line 363 sget-object v4, Landroidx/media3/common/MediaMetadata;->EMPTY:Landroidx/media3/common/MediaMetadata; iput-object v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; const/4 v4, -0x1 iput v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I .line 365 sget v4, Landroidx/media3/common/util/Util;->SDK_INT:I const/16 v5, 0x15 if-ge v4, v5, :cond_3 .line 366 invoke-direct {v1, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->initializeKeepSessionIdAudioTrack(I)I move-result v4 iput v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I goto :goto_3 .line 368 :cond_3 invoke-static/range {v29 .. v29}, Landroidx/media3/common/util/Util;->generateAudioSessionIdV21(Landroid/content/Context;)I move-result v4 iput v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I .line 370 :goto_3 sget-object v4, Landroidx/media3/common/text/CueGroup;->EMPTY_TIME_ZERO:Landroidx/media3/common/text/CueGroup; iput-object v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->currentCueGroup:Landroidx/media3/common/text/CueGroup; const/4 v4, 0x1 iput-boolean v4, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->throwsWhenUsingWrongThread:Z .line 373 invoke-virtual {v1, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addListener(Landroidx/media3/common/Player$Listener;)V .line 374 new-instance v5, Landroid/os/Handler; move-object/from16 v6, v25 invoke-direct {v5, v6}, Landroid/os/Handler;->(Landroid/os/Looper;)V move-object/from16 v6, v33 invoke-interface {v6, v5, v3}, Landroidx/media3/exoplayer/upstream/BandwidthMeter;->addEventListener(Landroid/os/Handler;Landroidx/media3/exoplayer/upstream/BandwidthMeter$EventListener;)V move-object/from16 v3, v36 .line 375 invoke-virtual {v1, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addAudioOffloadListener(Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;)V move-object v5, v0 move-object/from16 v0, p1 .line 376 iget-wide v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->foregroundModeTimeoutMs:J const-wide/16 v8, 0x0 cmp-long v6, v6, v8 if-lez v6, :cond_4 .line 377 iget-wide v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->foregroundModeTimeoutMs:J invoke-virtual {v5, v6, v7}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->experimentalSetForegroundModeTimeoutMs(J)V .line 380 :cond_4 new-instance v5, Landroidx/media3/exoplayer/AudioBecomingNoisyManager; iget-object v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; move-object/from16 v7, v31 invoke-direct {v5, v6, v7, v3}, Landroidx/media3/exoplayer/AudioBecomingNoisyManager;->(Landroid/content/Context;Landroid/os/Handler;Landroidx/media3/exoplayer/AudioBecomingNoisyManager$EventListener;)V iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioBecomingNoisyManager:Landroidx/media3/exoplayer/AudioBecomingNoisyManager; .line 382 iget-boolean v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->handleAudioBecomingNoisy:Z invoke-virtual {v5, v6}, Landroidx/media3/exoplayer/AudioBecomingNoisyManager;->setEnabled(Z)V .line 383 new-instance v5, Landroidx/media3/exoplayer/AudioFocusManager; iget-object v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; invoke-direct {v5, v6, v7, v3}, Landroidx/media3/exoplayer/AudioFocusManager;->(Landroid/content/Context;Landroid/os/Handler;Landroidx/media3/exoplayer/AudioFocusManager$PlayerControl;)V iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 384 iget-boolean v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->handleAudioFocus:Z if-eqz v6, :cond_5 iget-object v14, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; goto :goto_4 :cond_5 const/4 v14, 0x0 :goto_4 invoke-virtual {v5, v14}, Landroidx/media3/exoplayer/AudioFocusManager;->setAudioAttributes(Landroidx/media3/common/AudioAttributes;)V .line 385 iget-boolean v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->deviceVolumeControlEnabled:Z if-eqz v5, :cond_6 .line 386 new-instance v5, Landroidx/media3/exoplayer/StreamVolumeManager; iget-object v6, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; invoke-direct {v5, v6, v7, v3}, Landroidx/media3/exoplayer/StreamVolumeManager;->(Landroid/content/Context;Landroid/os/Handler;Landroidx/media3/exoplayer/StreamVolumeManager$Listener;)V iput-object v5, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; iget-object v3, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; .line 388 iget v3, v3, Landroidx/media3/common/AudioAttributes;->usage:I invoke-static {v3}, Landroidx/media3/common/util/Util;->getStreamTypeForAudioUsage(I)I move-result v3 invoke-virtual {v5, v3}, Landroidx/media3/exoplayer/StreamVolumeManager;->setStreamType(I)V goto :goto_5 :cond_6 const/4 v3, 0x0 iput-object v3, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; .line 392 :goto_5 new-instance v3, Landroidx/media3/exoplayer/WakeLockManager; iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; invoke-direct {v3, v5}, Landroidx/media3/exoplayer/WakeLockManager;->(Landroid/content/Context;)V iput-object v3, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 393 iget v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->wakeMode:I if-eqz v5, :cond_7 move v12, v4 goto :goto_6 :cond_7 move v12, v2 :goto_6 invoke-virtual {v3, v12}, Landroidx/media3/exoplayer/WakeLockManager;->setEnabled(Z)V .line 394 new-instance v3, Landroidx/media3/exoplayer/WifiLockManager; iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->context:Landroid/content/Context; invoke-direct {v3, v5}, Landroidx/media3/exoplayer/WifiLockManager;->(Landroid/content/Context;)V iput-object v3, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 395 iget v0, v0, Landroidx/media3/exoplayer/ExoPlayer$Builder;->wakeMode:I const/4 v5, 0x2 if-ne v0, v5, :cond_8 move v12, v4 goto :goto_7 :cond_8 move v12, v2 :goto_7 invoke-virtual {v3, v12}, Landroidx/media3/exoplayer/WifiLockManager;->setEnabled(Z)V iget-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; .line 396 invoke-static {v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createDeviceInfo(Landroidx/media3/exoplayer/StreamVolumeManager;)Landroidx/media3/common/DeviceInfo; move-result-object v0 iput-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->deviceInfo:Landroidx/media3/common/DeviceInfo; .line 397 sget-object v0, Landroidx/media3/common/VideoSize;->UNKNOWN:Landroidx/media3/common/VideoSize; iput-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoSize:Landroidx/media3/common/VideoSize; .line 398 sget-object v0, Landroidx/media3/common/util/Size;->UNKNOWN:Landroidx/media3/common/util/Size; iput-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceSize:Landroidx/media3/common/util/Size; iget-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; move-object/from16 v2, v34 .line 400 invoke-virtual {v2, v0}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->setAudioAttributes(Landroidx/media3/common/AudioAttributes;)V iget v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I .line 401 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 const/16 v2, 0xa invoke-direct {v1, v4, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I .line 402 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 invoke-direct {v1, v5, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget-object v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; const/4 v2, 0x3 .line 403 invoke-direct {v1, v4, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoScalingMode:I .line 404 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 const/4 v2, 0x4 invoke-direct {v1, v5, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoChangeFrameRateStrategy:I .line 406 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 const/4 v2, 0x5 .line 405 invoke-direct {v1, v5, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget-boolean v0, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z .line 407 invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object v0 const/16 v2, 0x9 invoke-direct {v1, v4, v2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V const/4 v0, 0x7 move-object/from16 v2, v35 .line 408 invoke-direct {v1, v5, v0, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V const/4 v0, 0x6 const/16 v3, 0x8 .line 410 invoke-direct {v1, v0, v3, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 413 invoke-virtual/range {v28 .. v28}, Landroidx/media3/common/util/ConditionVariable;->open()Z return-void :catchall_0 move-exception v0 iget-object v1, v1, Landroidx/media3/exoplayer/ExoPlayerImpl;->constructorFinished:Landroidx/media3/common/util/ConditionVariable; invoke-virtual {v1}, Landroidx/media3/common/util/ConditionVariable;->open()Z .line 414 throw v0 nop :array_0 .array-data 4 0x1 0x2 0x3 0xd 0xe 0xf 0x10 0x11 0x12 0x13 0x1f 0x14 0x1e 0x15 0x16 0x18 0x1b 0x1c 0x20 .end array-data .end method .method static synthetic access$1002(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/Format;)Landroidx/media3/common/Format; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFormat:Landroidx/media3/common/Format; return-object p1 .end method .method static synthetic access$1100(Landroidx/media3/exoplayer/ExoPlayerImpl;)Z .locals 0 .line 123 iget-boolean p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z return p0 .end method .method static synthetic access$1102(Landroidx/media3/exoplayer/ExoPlayerImpl;Z)Z .locals 0 .line 123 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z return p1 .end method .method static synthetic access$1202(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/text/CueGroup;)Landroidx/media3/common/text/CueGroup; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->currentCueGroup:Landroidx/media3/common/text/CueGroup; return-object p1 .end method .method static synthetic access$1300(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/common/MediaMetadata; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p0 .end method .method static synthetic access$1302(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/MediaMetadata;)Landroidx/media3/common/MediaMetadata; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p1 .end method .method static synthetic access$1400(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/common/MediaMetadata; .locals 0 .line 123 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->buildUpdatedMediaMetadata()Landroidx/media3/common/MediaMetadata; move-result-object p0 return-object p0 .end method .method static synthetic access$1500(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/common/MediaMetadata; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p0 .end method .method static synthetic access$1502(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/MediaMetadata;)Landroidx/media3/common/MediaMetadata; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p1 .end method .method static synthetic access$1600(Landroidx/media3/exoplayer/ExoPlayerImpl;)Z .locals 0 .line 123 iget-boolean p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolderSurfaceIsVideoOutput:Z return p0 .end method .method static synthetic access$1700(Landroidx/media3/exoplayer/ExoPlayerImpl;Ljava/lang/Object;)V .locals 0 .line 123 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V return-void .end method .method static synthetic access$1800(Landroidx/media3/exoplayer/ExoPlayerImpl;II)V .locals 0 .line 123 invoke-direct {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V return-void .end method .method static synthetic access$1900(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroid/graphics/SurfaceTexture;)V .locals 0 .line 123 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setSurfaceTextureInternal(Landroid/graphics/SurfaceTexture;)V return-void .end method .method static synthetic access$2000(Landroidx/media3/exoplayer/ExoPlayerImpl;)V .locals 0 .line 123 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendVolumeToRenderers()V return-void .end method .method static synthetic access$2100(ZI)I .locals 0 .line 123 invoke-static {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReadyChangeReason(ZI)I move-result p0 return p0 .end method .method static synthetic access$2200(Landroidx/media3/exoplayer/ExoPlayerImpl;ZII)V .locals 0 .line 123 invoke-direct {p0, p1, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlayWhenReady(ZII)V return-void .end method .method static synthetic access$2300(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/exoplayer/StreamVolumeManager; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; return-object p0 .end method .method static synthetic access$2400(Landroidx/media3/exoplayer/StreamVolumeManager;)Landroidx/media3/common/DeviceInfo; .locals 0 .line 123 invoke-static {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createDeviceInfo(Landroidx/media3/exoplayer/StreamVolumeManager;)Landroidx/media3/common/DeviceInfo; move-result-object p0 return-object p0 .end method .method static synthetic access$2500(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/common/DeviceInfo; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->deviceInfo:Landroidx/media3/common/DeviceInfo; return-object p0 .end method .method static synthetic access$2502(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/DeviceInfo;)Landroidx/media3/common/DeviceInfo; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->deviceInfo:Landroidx/media3/common/DeviceInfo; return-object p1 .end method .method static synthetic access$2600(Landroidx/media3/exoplayer/ExoPlayerImpl;)V .locals 0 .line 123 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updateWakeAndWifiLock()V return-void .end method .method static synthetic access$302(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/exoplayer/DecoderCounters;)Landroidx/media3/exoplayer/DecoderCounters; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; return-object p1 .end method .method static synthetic access$400(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; return-object p0 .end method .method static synthetic access$502(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/Format;)Landroidx/media3/common/Format; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoFormat:Landroidx/media3/common/Format; return-object p1 .end method .method static synthetic access$602(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/common/VideoSize;)Landroidx/media3/common/VideoSize; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoSize:Landroidx/media3/common/VideoSize; return-object p1 .end method .method static synthetic access$700(Landroidx/media3/exoplayer/ExoPlayerImpl;)Landroidx/media3/common/util/ListenerSet; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; return-object p0 .end method .method static synthetic access$800(Landroidx/media3/exoplayer/ExoPlayerImpl;)Ljava/lang/Object; .locals 0 .line 123 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoOutput:Ljava/lang/Object; return-object p0 .end method .method static synthetic access$902(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/exoplayer/DecoderCounters;)Landroidx/media3/exoplayer/DecoderCounters; .locals 0 .line 123 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; return-object p1 .end method .method private addMediaSourceHolders(ILjava/util/List;)Ljava/util/List; .locals 7 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;)", "Ljava/util/List<", "Landroidx/media3/exoplayer/MediaSourceList$MediaSourceHolder;", ">;" } .end annotation .line 2345 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V const/4 v1, 0x0 .line 2346 :goto_0 invoke-interface {p2}, Ljava/util/List;->size()I move-result v2 if-ge v1, v2, :cond_0 .line 2347 new-instance v2, Landroidx/media3/exoplayer/MediaSourceList$MediaSourceHolder; .line 2348 invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Landroidx/media3/exoplayer/source/MediaSource; iget-boolean v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->useLazyPreparation:Z invoke-direct {v2, v3, v4}, Landroidx/media3/exoplayer/MediaSourceList$MediaSourceHolder;->(Landroidx/media3/exoplayer/source/MediaSource;Z)V .line 2349 invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; add-int v4, v1, p1 .line 2350 new-instance v5, Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot; iget-object v6, v2, Landroidx/media3/exoplayer/MediaSourceList$MediaSourceHolder;->uid:Ljava/lang/Object; iget-object v2, v2, Landroidx/media3/exoplayer/MediaSourceList$MediaSourceHolder;->mediaSource:Landroidx/media3/exoplayer/source/MaskingMediaSource; .line 2351 invoke-virtual {v2}, Landroidx/media3/exoplayer/source/MaskingMediaSource;->getTimeline()Landroidx/media3/common/Timeline; move-result-object v2 invoke-direct {v5, v6, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot;->(Ljava/lang/Object;Landroidx/media3/common/Timeline;)V .line 2350 invoke-interface {v3, v4, v5}, Ljava/util/List;->add(ILjava/lang/Object;)V add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_0 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 2355 invoke-interface {v0}, Ljava/util/List;->size()I move-result v1 .line 2354 invoke-interface {p2, p1, v1}, Landroidx/media3/exoplayer/source/ShuffleOrder;->cloneAndInsert(II)Landroidx/media3/exoplayer/source/ShuffleOrder; move-result-object p1 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; return-object v0 .end method .method private addMediaSourcesInternal(Landroidx/media3/exoplayer/PlaybackInfo;ILjava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; .locals 7 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/media3/exoplayer/PlaybackInfo;", "I", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;)", "Landroidx/media3/exoplayer/PlaybackInfo;" } .end annotation .line 2361 iget-object v1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I .line 2363 invoke-direct {p0, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSourceHolders(ILjava/util/List;)Ljava/util/List; move-result-object p3 .line 2364 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMaskingTimeline()Landroidx/media3/common/Timeline; move-result-object v6 .line 2372 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result v3 .line 2373 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v4 move-object v0, p0 move-object v2, v6 .line 2369 invoke-direct/range {v0 .. v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPeriodPositionUsAfterTimelineChanged(Landroidx/media3/common/Timeline;Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 .line 2366 invoke-direct {p0, p1, v6, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object p1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 2374 invoke-virtual {v0, p2, p3, p0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->addMediaSources(ILjava/util/List;Landroidx/media3/exoplayer/source/ShuffleOrder;)V return-object p1 .end method .method private buildUpdatedMediaMetadata()Landroidx/media3/common/MediaMetadata; .locals 3 .line 2611 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentTimeline()Landroidx/media3/common/Timeline; move-result-object v0 .line 2612 invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 if-eqz v1, :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p0 .line 2615 :cond_0 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentMediaItemIndex()I move-result v1 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v0, v1, v2}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v0 iget-object v0, v0, Landroidx/media3/common/Timeline$Window;->mediaItem:Landroidx/media3/common/MediaItem; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; .line 2617 invoke-virtual {p0}, Landroidx/media3/common/MediaMetadata;->buildUpon()Landroidx/media3/common/MediaMetadata$Builder; move-result-object p0 iget-object v0, v0, Landroidx/media3/common/MediaItem;->mediaMetadata:Landroidx/media3/common/MediaMetadata; invoke-virtual {p0, v0}, Landroidx/media3/common/MediaMetadata$Builder;->populate(Landroidx/media3/common/MediaMetadata;)Landroidx/media3/common/MediaMetadata$Builder; move-result-object p0 invoke-virtual {p0}, Landroidx/media3/common/MediaMetadata$Builder;->build()Landroidx/media3/common/MediaMetadata; move-result-object p0 return-object p0 .end method .method private static createDeviceInfo(Landroidx/media3/exoplayer/StreamVolumeManager;)Landroidx/media3/common/DeviceInfo; .locals 3 .line 2861 new-instance v0, Landroidx/media3/common/DeviceInfo$Builder; const/4 v1, 0x0 invoke-direct {v0, v1}, Landroidx/media3/common/DeviceInfo$Builder;->(I)V if-eqz p0, :cond_0 .line 2862 invoke-virtual {p0}, Landroidx/media3/exoplayer/StreamVolumeManager;->getMinVolume()I move-result v2 goto :goto_0 :cond_0 move v2, v1 :goto_0 invoke-virtual {v0, v2}, Landroidx/media3/common/DeviceInfo$Builder;->setMinVolume(I)Landroidx/media3/common/DeviceInfo$Builder; move-result-object v0 if-eqz p0, :cond_1 .line 2863 invoke-virtual {p0}, Landroidx/media3/exoplayer/StreamVolumeManager;->getMaxVolume()I move-result v1 :cond_1 invoke-virtual {v0, v1}, Landroidx/media3/common/DeviceInfo$Builder;->setMaxVolume(I)Landroidx/media3/common/DeviceInfo$Builder; move-result-object p0 .line 2864 invoke-virtual {p0}, Landroidx/media3/common/DeviceInfo$Builder;->build()Landroidx/media3/common/DeviceInfo; move-result-object p0 return-object p0 .end method .method private createMaskingTimeline()Landroidx/media3/common/Timeline; .locals 2 .line 2415 new-instance v0, Landroidx/media3/exoplayer/PlaylistTimeline; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; invoke-direct {v0, v1, p0}, Landroidx/media3/exoplayer/PlaylistTimeline;->(Ljava/util/Collection;Landroidx/media3/exoplayer/source/ShuffleOrder;)V return-object v0 .end method .method private createMediaSources(Ljava/util/List;)Ljava/util/List; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/common/MediaItem;", ">;)", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;" } .end annotation .line 1899 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V const/4 v1, 0x0 .line 1900 :goto_0 invoke-interface {p1}, Ljava/util/List;->size()I move-result v2 if-ge v1, v2, :cond_0 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceFactory:Landroidx/media3/exoplayer/source/MediaSource$Factory; .line 1901 invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v3 check-cast v3, Landroidx/media3/common/MediaItem; invoke-interface {v2, v3}, Landroidx/media3/exoplayer/source/MediaSource$Factory;->createMediaSource(Landroidx/media3/common/MediaItem;)Landroidx/media3/exoplayer/source/MediaSource; move-result-object v2 invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z add-int/lit8 v1, v1, 0x1 goto :goto_0 :cond_0 return-object v0 .end method .method private createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; .locals 9 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2593 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result v0 .line 2594 new-instance v8, Landroidx/media3/exoplayer/PlayerMessage; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v4, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; const/4 v1, -0x1 if-ne v0, v1, :cond_0 const/4 v0, 0x0 :cond_0 move v5, v0 iget-object v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->clock:Landroidx/media3/common/util/Clock; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 2600 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->getPlaybackLooper()Landroid/os/Looper; move-result-object v7 move-object v1, v8 move-object v3, p1 invoke-direct/range {v1 .. v7}, Landroidx/media3/exoplayer/PlayerMessage;->(Landroidx/media3/exoplayer/PlayerMessage$Sender;Landroidx/media3/exoplayer/PlayerMessage$Target;Landroidx/media3/common/Timeline;ILandroidx/media3/common/util/Clock;Landroid/os/Looper;)V return-object v8 .end method .method private evaluateMediaItemTransitionReason(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/exoplayer/PlaybackInfo;ZIZZ)Landroid/util/Pair; .locals 9 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/media3/exoplayer/PlaybackInfo;", "Landroidx/media3/exoplayer/PlaybackInfo;", "ZIZZ)", "Landroid/util/Pair<", "Ljava/lang/Boolean;", "Ljava/lang/Integer;", ">;" } .end annotation .line 2227 iget-object v0, p2, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 2228 iget-object v1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 2229 invoke-virtual {v1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v2 const/4 v3, -0x1 .line 2230 invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v3 const/4 v4, 0x0 invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object v5 if-eqz v2, :cond_0 .line 2229 invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v2 if-eqz v2, :cond_0 .line 2230 new-instance p0, Landroid/util/Pair; invoke-direct {p0, v5, v3}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 .line 2231 :cond_0 invoke-virtual {v1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v2 invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v6 const/4 v7, 0x3 const/4 v8, 0x1 if-eq v2, v6, :cond_1 .line 2232 new-instance p0, Landroid/util/Pair; invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object p1 invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-direct {p0, p1, p2}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 .line 2235 :cond_1 iget-object v2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v2, v2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2236 invoke-virtual {v0, v2, v6}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v2 iget v2, v2, Landroidx/media3/common/Timeline$Period;->windowIndex:I .line 2237 iget-object v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v0, v2, v6}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v0 iget-object v0, v0, Landroidx/media3/common/Timeline$Window;->uid:Ljava/lang/Object; .line 2238 iget-object v2, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v2, v2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2239 invoke-virtual {v1, v2, v6}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v2 iget v2, v2, Landroidx/media3/common/Timeline$Period;->windowIndex:I .line 2240 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v1, v2, p0}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object p0 iget-object p0, p0, Landroidx/media3/common/Timeline$Window;->uid:Ljava/lang/Object; .line 2241 invoke-virtual {v0, p0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p0 const/4 v0, 0x2 if-nez p0, :cond_5 if-eqz p3, :cond_2 if-nez p4, :cond_2 move v7, v8 goto :goto_0 :cond_2 if-eqz p3, :cond_3 if-ne p4, v8, :cond_3 move v7, v0 goto :goto_0 :cond_3 if-eqz p5, :cond_4 .line 2255 :goto_0 new-instance p0, Landroid/util/Pair; invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object p1 invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-direct {p0, p1, p2}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 .line 2253 :cond_4 new-instance p0, Ljava/lang/IllegalStateException; invoke-direct {p0}, Ljava/lang/IllegalStateException;->()V throw p0 :cond_5 if-eqz p3, :cond_6 if-nez p4, :cond_6 .line 2259 iget-object p0, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-wide v1, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J iget-object p0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-wide p0, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J cmp-long p0, v1, p0 if-gez p0, :cond_6 .line 2263 new-instance p0, Landroid/util/Pair; invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object p1 invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-direct {p0, p1, p2}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 :cond_6 if-eqz p3, :cond_7 if-ne p4, v8, :cond_7 if-eqz p6, :cond_7 .line 2268 new-instance p0, Landroid/util/Pair; invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object p1 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-direct {p0, p1, p2}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 .line 2271 :cond_7 new-instance p0, Landroid/util/Pair; invoke-direct {p0, v5, v3}, Landroid/util/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V return-object p0 .end method .method private getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J .locals 4 .line 1869 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v0}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v0 if-eqz v0, :cond_1 .line 1870 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v1, v1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {v0, v1, v2}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; .line 1871 iget-wide v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->requestedContentPositionUs:J const-wide v2, -0x7fffffffffffffffL # -4.9E-324 cmp-long v0, v0, v2 if-nez v0, :cond_0 .line 1875 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 1874 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result p1 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v0, p1, p0}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object p0 .line 1875 invoke-virtual {p0}, Landroidx/media3/common/Timeline$Window;->getDefaultPositionMs()J move-result-wide p0 goto :goto_0 :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 1876 invoke-virtual {p0}, Landroidx/media3/common/Timeline$Period;->getPositionInWindowMs()J move-result-wide v0 iget-wide p0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->requestedContentPositionUs:J invoke-static {p0, p1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide p0 add-long/2addr p0, v0 :goto_0 return-wide p0 .line 1878 :cond_1 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide p0 invoke-static {p0, p1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide p0 return-wide p0 .end method .method private getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J .locals 3 .line 1882 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 iget-wide p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowPositionMs:J .line 1883 invoke-static {p0, p1}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide p0 return-wide p0 .line 1887 :cond_0 iget-boolean v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z if-eqz v0, :cond_1 .line 1888 invoke-virtual {p1}, Landroidx/media3/exoplayer/PlaybackInfo;->getEstimatedPositionUs()J move-result-wide v0 goto :goto_0 .line 1889 :cond_1 iget-wide v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J .line 1891 :goto_0 iget-object v2, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v2}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v2 if-eqz v2, :cond_2 return-wide v0 .line 1894 :cond_2 iget-object v2, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object p1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-direct {p0, v2, p1, v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->periodPositionUsToWindowPositionUs(Landroidx/media3/common/Timeline;Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;J)J move-result-wide p0 return-wide p0 .end method .method private getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I .locals 1 .line 1861 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I return p0 .line 1864 :cond_0 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object p1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p1, p1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {v0, p1, p0}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object p0 iget p0, p0, Landroidx/media3/common/Timeline$Period;->windowIndex:I return p0 .end method .method private getPeriodPositionUsAfterTimelineChanged(Landroidx/media3/common/Timeline;Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; .locals 12 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/media3/common/Timeline;", "Landroidx/media3/common/Timeline;", "IJ)", "Landroid/util/Pair<", "Ljava/lang/Object;", "Ljava/lang/Long;", ">;" } .end annotation move-object v0, p0 move-object v8, p2 .line 2531 invoke-virtual {p1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 const-wide v9, -0x7fffffffffffffffL # -4.9E-324 const/4 v11, -0x1 if-nez v1, :cond_3 invoke-virtual {p2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 if-eqz v1, :cond_0 goto :goto_0 .line 2539 :cond_0 iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; iget-object v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2541 invoke-static/range {p4 .. p5}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v6 move-object v2, p1 move v5, p3 .line 2540 invoke-virtual/range {v2 .. v7}, Landroidx/media3/common/Timeline;->getPeriodPositionUs(Landroidx/media3/common/Timeline$Window;Landroidx/media3/common/Timeline$Period;IJ)Landroid/util/Pair; move-result-object v1 .line 2542 invoke-static {v1}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v2 check-cast v2, Landroid/util/Pair; iget-object v5, v2, Landroid/util/Pair;->first:Ljava/lang/Object; .line 2543 invoke-virtual {p2, v5}, Landroidx/media3/common/Timeline;->getIndexOfPeriod(Ljava/lang/Object;)I move-result v2 if-eq v2, v11, :cond_1 return-object v1 .line 2549 :cond_1 iget-object v1, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; iget v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I iget-boolean v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z move-object v6, p1 move-object v7, p2 .line 2550 invoke-static/range {v1 .. v7}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->resolveSubsequentPeriod(Landroidx/media3/common/Timeline$Window;Landroidx/media3/common/Timeline$Period;IZLjava/lang/Object;Landroidx/media3/common/Timeline;Landroidx/media3/common/Timeline;)Ljava/lang/Object; move-result-object v1 if-eqz v1, :cond_2 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2554 invoke-virtual {p2, v1, v2}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; iget-object v1, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2555 iget v1, v1, Landroidx/media3/common/Timeline$Period;->windowIndex:I iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; iget v2, v2, Landroidx/media3/common/Timeline$Period;->windowIndex:I iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; .line 2558 invoke-virtual {p2, v2, v3}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v2 invoke-virtual {v2}, Landroidx/media3/common/Timeline$Window;->getDefaultPositionMs()J move-result-wide v2 .line 2555 invoke-direct {p0, p2, v1, v2, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 return-object v0 .line 2561 :cond_2 invoke-direct {p0, p2, v11, v9, v10}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 return-object v0 .line 2532 :cond_3 :goto_0 invoke-virtual {p1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 if-nez v1, :cond_4 invoke-virtual {p2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 if-eqz v1, :cond_4 const/4 v1, 0x1 goto :goto_1 :cond_4 const/4 v1, 0x0 :goto_1 if-eqz v1, :cond_5 goto :goto_2 :cond_5 move v11, p3 :goto_2 if-eqz v1, :cond_6 goto :goto_3 :cond_6 move-wide/from16 v9, p4 .line 2533 :goto_3 invoke-direct {p0, p2, v11, v9, v10}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 return-object v0 .end method .method private static getPlayWhenReadyChangeReason(ZI)I .locals 1 const/4 v0, 0x1 if-eqz p0, :cond_0 if-eq p1, v0, :cond_0 const/4 v0, 0x2 :cond_0 return v0 .end method .method private getPositionInfo(J)Landroidx/media3/common/Player$PositionInfo; .locals 12 .line 2185 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentMediaItemIndex()I move-result v2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2188 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-nez v0, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2189 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v0, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2190 iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {v1, v0, v3}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2191 iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v1, v0}, Landroidx/media3/common/Timeline;->getIndexOfPeriod(Ljava/lang/Object;)I move-result v1 iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2192 iget-object v3, v3, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v3, v2, v4}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v3 iget-object v3, v3, Landroidx/media3/common/Timeline$Window;->uid:Ljava/lang/Object; .line 2193 iget-object v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; iget-object v4, v4, Landroidx/media3/common/Timeline$Window;->mediaItem:Landroidx/media3/common/MediaItem; move v5, v1 move-object v1, v3 move-object v3, v4 move-object v4, v0 goto :goto_0 :cond_0 const/4 v0, 0x0 const/4 v1, -0x1 move-object v3, v0 move-object v4, v3 move v5, v1 move-object v1, v4 .line 2195 :goto_0 invoke-static {p1, p2}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v6 .line 2196 new-instance p1, Landroidx/media3/common/Player$PositionInfo; iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2203 iget-object p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {p2}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result p2 if-eqz p2, :cond_1 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2204 invoke-static {p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getRequestedContentPositionUs(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v8 invoke-static {v8, v9}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v8 goto :goto_1 :cond_1 move-wide v8, v6 :goto_1 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2205 iget-object p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v10, p2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v11, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I move-object v0, p1 invoke-direct/range {v0 .. v11}, Landroidx/media3/common/Player$PositionInfo;->(Ljava/lang/Object;ILandroidx/media3/common/MediaItem;Ljava/lang/Object;IJJII)V return-object p1 .end method .method private getPreviousPositionInfo(ILandroidx/media3/exoplayer/PlaybackInfo;I)Landroidx/media3/common/Player$PositionInfo; .locals 17 move-object/from16 v0, p0 move-object/from16 v1, p2 .line 2134 new-instance v2, Landroidx/media3/common/Timeline$Period; invoke-direct {v2}, Landroidx/media3/common/Timeline$Period;->()V .line 2135 iget-object v3, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v3}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v3 const/4 v4, -0x1 if-nez v3, :cond_0 .line 2136 iget-object v3, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 2137 iget-object v5, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v5, v3, v2}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; .line 2138 iget v5, v2, Landroidx/media3/common/Timeline$Period;->windowIndex:I .line 2139 iget-object v6, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v6, v3}, Landroidx/media3/common/Timeline;->getIndexOfPeriod(Ljava/lang/Object;)I move-result v6 .line 2140 iget-object v7, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v8, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v7, v5, v8}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v7 iget-object v7, v7, Landroidx/media3/common/Timeline$Window;->uid:Ljava/lang/Object; .line 2141 iget-object v8, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; iget-object v8, v8, Landroidx/media3/common/Timeline$Window;->mediaItem:Landroidx/media3/common/MediaItem; move-object v9, v3 move v10, v6 move-object v6, v7 move v7, v5 goto :goto_0 :cond_0 const/4 v3, 0x0 move/from16 v7, p3 move-object v6, v3 move-object v8, v6 move-object v9, v8 move v10, v4 :goto_0 if-nez p1, :cond_3 .line 2146 iget-object v3, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v3}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v3 if-eqz v3, :cond_1 .line 2148 iget-object v0, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v0, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget-object v3, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I .line 2149 invoke-virtual {v2, v0, v3}, Landroidx/media3/common/Timeline$Period;->getAdDurationUs(II)J move-result-wide v2 .line 2152 invoke-static/range {p2 .. p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getRequestedContentPositionUs(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v4 goto :goto_2 .line 2153 :cond_1 iget-object v3, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->nextAdGroupIndex:I if-eq v3, v4, :cond_2 iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2156 invoke-static {v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getRequestedContentPositionUs(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v2 goto :goto_1 .line 2160 :cond_2 iget-wide v3, v2, Landroidx/media3/common/Timeline$Period;->positionInWindowUs:J iget-wide v11, v2, Landroidx/media3/common/Timeline$Period;->durationUs:J add-long v2, v3, v11 goto :goto_1 .line 2163 :cond_3 iget-object v0, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v0}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v0 if-eqz v0, :cond_4 .line 2164 iget-wide v2, v1, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J .line 2165 invoke-static/range {p2 .. p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getRequestedContentPositionUs(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v4 goto :goto_2 .line 2167 :cond_4 iget-wide v2, v2, Landroidx/media3/common/Timeline$Period;->positionInWindowUs:J iget-wide v4, v1, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J add-long/2addr v2, v4 :goto_1 move-wide v4, v2 .line 2170 :goto_2 new-instance v0, Landroidx/media3/common/Player$PositionInfo; .line 2176 invoke-static {v2, v3}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v11 .line 2177 invoke-static {v4, v5}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v13 iget-object v2, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v15, v2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v1, v1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I move-object v5, v0 move/from16 v16, v1 invoke-direct/range {v5 .. v16}, Landroidx/media3/common/Player$PositionInfo;->(Ljava/lang/Object;ILandroidx/media3/common/MediaItem;Ljava/lang/Object;IJJII)V return-object v0 .end method .method private static getRequestedContentPositionUs(Landroidx/media3/exoplayer/PlaybackInfo;)J .locals 6 .line 2211 new-instance v0, Landroidx/media3/common/Timeline$Window; invoke-direct {v0}, Landroidx/media3/common/Timeline$Window;->()V .line 2212 new-instance v1, Landroidx/media3/common/Timeline$Period; invoke-direct {v1}, Landroidx/media3/common/Timeline$Period;->()V .line 2213 iget-object v2, p0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v3, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; invoke-virtual {v2, v3, v1}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; .line 2214 iget-wide v2, p0, Landroidx/media3/exoplayer/PlaybackInfo;->requestedContentPositionUs:J const-wide v4, -0x7fffffffffffffffL # -4.9E-324 cmp-long v2, v2, v4 if-nez v2, :cond_0 .line 2215 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget v1, v1, Landroidx/media3/common/Timeline$Period;->windowIndex:I invoke-virtual {p0, v1, v0}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object p0 invoke-virtual {p0}, Landroidx/media3/common/Timeline$Window;->getDefaultPositionUs()J move-result-wide v0 goto :goto_0 .line 2216 :cond_0 invoke-virtual {v1}, Landroidx/media3/common/Timeline$Period;->getPositionInWindowUs()J move-result-wide v0 iget-wide v2, p0, Landroidx/media3/exoplayer/PlaybackInfo;->requestedContentPositionUs:J add-long/2addr v0, v2 :goto_0 return-wide v0 .end method .method private handlePlaybackInfo(Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V .locals 12 iget v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I .line 1907 iget v3, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->operationAcks:I sub-int/2addr v2, v3 iput v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I .line 1908 iget-boolean v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->positionDiscontinuity:Z const/4 v3, 0x1 if-eqz v2, :cond_0 .line 1909 iget v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->discontinuityReason:I iput v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingDiscontinuityReason:I iput-boolean v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingDiscontinuity:Z .line 1912 :cond_0 iget-boolean v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->hasPlayWhenReadyChangeReason:Z if-eqz v2, :cond_1 .line 1913 iget v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playWhenReadyChangeReason:I iput v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingPlayWhenReadyChangeReason:I :cond_1 iget v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I if-nez v2, :cond_b .line 1916 iget-object v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v2, v2, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1917 iget-object v4, v4, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v4}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 const/4 v5, 0x0 if-nez v4, :cond_2 invoke-virtual {v2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-eqz v4, :cond_2 const/4 v4, -0x1 iput v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I const-wide/16 v6, 0x0 iput-wide v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowPositionMs:J iput v5, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingPeriodIndex:I .line 1924 :cond_2 invoke-virtual {v2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-nez v4, :cond_4 .line 1925 move-object v4, v2 check-cast v4, Landroidx/media3/exoplayer/PlaylistTimeline; invoke-virtual {v4}, Landroidx/media3/exoplayer/PlaylistTimeline;->getChildTimelines()Ljava/util/List; move-result-object v4 .line 1926 invoke-interface {v4}, Ljava/util/List;->size()I move-result v6 iget-object v7, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; invoke-interface {v7}, Ljava/util/List;->size()I move-result v7 if-ne v6, v7, :cond_3 move v6, v3 goto :goto_0 :cond_3 move v6, v5 :goto_0 invoke-static {v6}, Landroidx/media3/common/util/Assertions;->checkState(Z)V move v6, v5 .line 1927 :goto_1 invoke-interface {v4}, Ljava/util/List;->size()I move-result v7 if-ge v6, v7, :cond_4 iget-object v7, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 1928 invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v7 check-cast v7, Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot; invoke-interface {v4, v6}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v8 check-cast v8, Landroidx/media3/common/Timeline; invoke-static {v7, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot;->access$202(Landroidx/media3/exoplayer/ExoPlayerImpl$MediaSourceHolderSnapshot;Landroidx/media3/common/Timeline;)Landroidx/media3/common/Timeline; add-int/lit8 v6, v6, 0x1 goto :goto_1 :cond_4 iget-boolean v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingDiscontinuity:Z const-wide v6, -0x7fffffffffffffffL # -4.9E-324 if-eqz v4, :cond_a .line 1934 iget-object v4, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v4, v4, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v8, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v8, v8, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; .line 1935 invoke-virtual {v4, v8}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->equals(Ljava/lang/Object;)Z move-result v4 if-eqz v4, :cond_6 iget-object v4, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-wide v8, v4, Landroidx/media3/exoplayer/PlaybackInfo;->discontinuityStartPositionUs:J iget-object v4, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-wide v10, v4, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J cmp-long v4, v8, v10 if-eqz v4, :cond_5 goto :goto_2 :cond_5 move v3, v5 :cond_6 :goto_2 if-eqz v3, :cond_9 .line 1940 invoke-virtual {v2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-nez v4, :cond_8 iget-object v4, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v4, v4, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v4}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v4 if-eqz v4, :cond_7 goto :goto_3 .line 1942 :cond_7 iget-object v4, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v4, v4, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v6, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-wide v6, v6, Landroidx/media3/exoplayer/PlaybackInfo;->discontinuityStartPositionUs:J invoke-direct {p0, v2, v4, v6, v7}, Landroidx/media3/exoplayer/ExoPlayerImpl;->periodPositionUsToWindowPositionUs(Landroidx/media3/common/Timeline;Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;J)J move-result-wide v6 goto :goto_4 .line 1941 :cond_8 :goto_3 iget-object v2, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-wide v6, v2, Landroidx/media3/exoplayer/PlaybackInfo;->discontinuityStartPositionUs:J :cond_9 :goto_4 move v4, v3 goto :goto_5 :cond_a move v4, v5 :goto_5 iput-boolean v5, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingDiscontinuity:Z .line 1949 iget-object v1, p1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; const/4 v2, 0x1 iget v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingPlayWhenReadyChangeReason:I iget v5, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingDiscontinuityReason:I const/4 v8, -0x1 const/4 v9, 0x0 move-object v0, p0 invoke-direct/range {v0 .. v9}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V :cond_b return-void .end method .method private initializeKeepSessionIdAudioTrack(I)I .locals 9 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; if-eqz v0, :cond_0 .line 2826 invoke-virtual {v0}, Landroid/media/AudioTrack;->getAudioSessionId()I move-result v0 if-eq v0, p1, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; .line 2827 invoke-virtual {v0}, Landroid/media/AudioTrack;->release()V const/4 v0, 0x0 iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; if-nez v0, :cond_1 const/16 v3, 0xfa0 const/4 v4, 0x4 const/4 v5, 0x2 const/4 v6, 0x2 .line 2835 new-instance v0, Landroid/media/AudioTrack; const/4 v2, 0x3 const/4 v7, 0x0 move-object v1, v0 move v8, p1 invoke-direct/range {v1 .. v8}, Landroid/media/AudioTrack;->(IIIIIII)V iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; :cond_1 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; .line 2845 invoke-virtual {p0}, Landroid/media/AudioTrack;->getAudioSessionId()I move-result p0 return p0 .end method .method static synthetic lambda$maybeNotifySurfaceSizeChanged$27(IILandroidx/media3/common/Player$Listener;)V .locals 0 .line 2718 invoke-interface {p2, p0, p1}, Landroidx/media3/common/Player$Listener;->onSurfaceSizeChanged(II)V return-void .end method .method static synthetic lambda$release$5(Landroidx/media3/common/Player$Listener;)V .locals 2 .line 1032 new-instance v0, Landroidx/media3/exoplayer/ExoTimeoutException; const/4 v1, 0x1 invoke-direct {v0, v1}, Landroidx/media3/exoplayer/ExoTimeoutException;->(I)V const/16 v1, 0x3eb .line 1033 invoke-static {v0, v1}, Landroidx/media3/exoplayer/ExoPlaybackException;->createForUnexpected(Ljava/lang/RuntimeException;I)Landroidx/media3/exoplayer/ExoPlaybackException; move-result-object v0 .line 1032 invoke-interface {p0, v0}, Landroidx/media3/common/Player$Listener;->onPlayerError(Landroidx/media3/common/PlaybackException;)V return-void .end method .method static synthetic lambda$setAudioAttributes$8(Landroidx/media3/common/AudioAttributes;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 1442 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onAudioAttributesChanged(Landroidx/media3/common/AudioAttributes;)V return-void .end method .method static synthetic lambda$setAudioSessionId$9(ILandroidx/media3/common/Player$Listener;)V .locals 0 .line 1483 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onAudioSessionIdChanged(I)V return-void .end method .method static synthetic lambda$setRepeatMode$3(ILandroidx/media3/common/Player$Listener;)V .locals 0 .line 828 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onRepeatModeChanged(I)V return-void .end method .method static synthetic lambda$setShuffleModeEnabled$4(ZLandroidx/media3/common/Player$Listener;)V .locals 0 .line 848 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onShuffleModeEnabledChanged(Z)V return-void .end method .method static synthetic lambda$setSkipSilenceEnabled$11(ZLandroidx/media3/common/Player$Listener;)V .locals 0 .line 1546 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onSkipSilenceEnabledChanged(Z)V return-void .end method .method static synthetic lambda$setTrackSelectionParameters$6(Landroidx/media3/common/TrackSelectionParameters;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 1227 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onTrackSelectionParametersChanged(Landroidx/media3/common/TrackSelectionParameters;)V return-void .end method .method static synthetic lambda$setVolume$10(FLandroidx/media3/common/Player$Listener;)V .locals 0 .line 1521 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onVolumeChanged(F)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$12(Landroidx/media3/exoplayer/PlaybackInfo;ILandroidx/media3/common/Player$Listener;)V .locals 0 .line 2027 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-interface {p2, p0, p1}, Landroidx/media3/common/Player$Listener;->onTimelineChanged(Landroidx/media3/common/Timeline;I)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$13(ILandroidx/media3/common/Player$PositionInfo;Landroidx/media3/common/Player$PositionInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2037 invoke-interface {p3, p0}, Landroidx/media3/common/Player$Listener;->onPositionDiscontinuity(I)V .line 2038 invoke-interface {p3, p1, p2, p0}, Landroidx/media3/common/Player$Listener;->onPositionDiscontinuity(Landroidx/media3/common/Player$PositionInfo;Landroidx/media3/common/Player$PositionInfo;I)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$14(Landroidx/media3/common/MediaItem;ILandroidx/media3/common/Player$Listener;)V .locals 0 .line 2046 invoke-interface {p2, p0, p1}, Landroidx/media3/common/Player$Listener;->onMediaItemTransition(Landroidx/media3/common/MediaItem;I)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$15(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2051 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlayerErrorChanged(Landroidx/media3/common/PlaybackException;)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$16(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2055 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlayerError(Landroidx/media3/common/PlaybackException;)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$17(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2062 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object p0, p0, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->tracks:Landroidx/media3/common/Tracks; invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onTracksChanged(Landroidx/media3/common/Tracks;)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$18(Landroidx/media3/common/MediaMetadata;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2068 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onMediaMetadataChanged(Landroidx/media3/common/MediaMetadata;)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$19(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 1 .line 2074 iget-boolean v0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z invoke-interface {p1, v0}, Landroidx/media3/common/Player$Listener;->onLoadingChanged(Z)V .line 2075 iget-boolean p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onIsLoadingChanged(Z)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$20(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 1 .line 2082 iget-boolean v0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z iget p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I invoke-interface {p1, v0, p0}, Landroidx/media3/common/Player$Listener;->onPlayerStateChanged(ZI)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$21(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2088 iget p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlaybackStateChanged(I)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$22(Landroidx/media3/exoplayer/PlaybackInfo;ILandroidx/media3/common/Player$Listener;)V .locals 0 .line 2094 iget-boolean p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z invoke-interface {p2, p0, p1}, Landroidx/media3/common/Player$Listener;->onPlayWhenReadyChanged(ZI)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$23(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2102 iget p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackSuppressionReason:I invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlaybackSuppressionReasonChanged(I)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$24(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2108 invoke-virtual {p0}, Landroidx/media3/exoplayer/PlaybackInfo;->isPlaying()Z move-result p0 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onIsPlayingChanged(Z)V return-void .end method .method static synthetic lambda$updatePlaybackInfo$25(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Player$Listener;)V .locals 0 .line 2113 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackParameters:Landroidx/media3/common/PlaybackParameters; invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlaybackParametersChanged(Landroidx/media3/common/PlaybackParameters;)V return-void .end method .method private maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; .locals 21 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/media3/exoplayer/PlaybackInfo;", "Landroidx/media3/common/Timeline;", "Landroid/util/Pair<", "Ljava/lang/Object;", "Ljava/lang/Long;", ">;)", "Landroidx/media3/exoplayer/PlaybackInfo;" } .end annotation move-object/from16 v0, p0 move-object/from16 v1, p2 move-object/from16 v2, p3 .line 2420 invoke-virtual/range {p2 .. p2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v3 const/4 v4, 0x1 if-nez v3, :cond_1 if-eqz v2, :cond_0 goto :goto_0 :cond_0 const/4 v3, 0x0 goto :goto_1 :cond_1 :goto_0 move v3, v4 :goto_1 invoke-static {v3}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V move-object/from16 v3, p1 .line 2422 iget-object v5, v3, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 2423 invoke-direct/range {p0 .. p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v6 .line 2425 invoke-virtual/range {p1 .. p2}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithTimeline(Landroidx/media3/common/Timeline;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v8 .line 2427 invoke-virtual/range {p2 .. p2}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v3 if-eqz v3, :cond_2 .line 2429 invoke-static {}, Landroidx/media3/exoplayer/PlaybackInfo;->getDummyPeriodForEmptyTimeline()Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; move-result-object v1 iget-wide v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowPositionMs:J .line 2430 invoke-static {v2, v3}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v14 const-wide/16 v16, 0x0 .line 2431 sget-object v18, Landroidx/media3/exoplayer/source/TrackGroupArray;->EMPTY:Landroidx/media3/exoplayer/source/TrackGroupArray; iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->emptyTrackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; .line 2440 invoke-static {}, Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; move-result-object v20 move-object v9, v1 move-wide v10, v14 move-wide v12, v14 move-object/from16 v19, v0 .line 2432 invoke-virtual/range {v8 .. v20}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithNewPosition(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;JJJJLandroidx/media3/exoplayer/source/TrackGroupArray;Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;Ljava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 .line 2441 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithLoadingMediaPeriodId(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 .line 2442 iget-wide v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J iput-wide v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J return-object v0 .line 2446 :cond_2 iget-object v3, v8, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 2447 invoke-static/range {p3 .. p3}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v9 check-cast v9, Landroid/util/Pair; iget-object v9, v9, Landroid/util/Pair;->first:Ljava/lang/Object; invoke-virtual {v3, v9}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result v9 xor-int/2addr v9, v4 if-eqz v9, :cond_3 .line 2449 new-instance v10, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v11, v2, Landroid/util/Pair;->first:Ljava/lang/Object; invoke-direct {v10, v11}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->(Ljava/lang/Object;)V goto :goto_2 :cond_3 iget-object v10, v8, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; :goto_2 move-object v14, v10 .line 2450 iget-object v2, v2, Landroid/util/Pair;->second:Ljava/lang/Object; check-cast v2, Ljava/lang/Long; invoke-virtual {v2}, Ljava/lang/Long;->longValue()J move-result-wide v12 .line 2451 invoke-static {v6, v7}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v6 .line 2452 invoke-virtual {v5}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v2 if-nez v2, :cond_4 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2454 invoke-virtual {v5, v3, v2}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v2 invoke-virtual {v2}, Landroidx/media3/common/Timeline$Period;->getPositionInWindowUs()J move-result-wide v2 sub-long/2addr v6, v2 :cond_4 if-nez v9, :cond_a cmp-long v2, v12, v6 if-gez v2, :cond_5 goto/16 :goto_4 :cond_5 if-nez v2, :cond_8 .line 2474 iget-object v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v2, v2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 2475 invoke-virtual {v1, v2}, Landroidx/media3/common/Timeline;->getIndexOfPeriod(Ljava/lang/Object;)I move-result v2 const/4 v3, -0x1 if-eq v2, v3, :cond_6 iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2477 invoke-virtual {v1, v2, v3}, Landroidx/media3/common/Timeline;->getPeriod(ILandroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v2 iget v2, v2, Landroidx/media3/common/Timeline$Period;->windowIndex:I iget-object v3, v14, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2478 invoke-virtual {v1, v3, v4}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v3 iget v3, v3, Landroidx/media3/common/Timeline$Period;->windowIndex:I if-eq v2, v3, :cond_e .line 2481 :cond_6 iget-object v2, v14, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {v1, v2, v3}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; .line 2483 invoke-virtual {v14}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v1 if-eqz v1, :cond_7 iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2484 iget v1, v14, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget v2, v14, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I invoke-virtual {v0, v1, v2}, Landroidx/media3/common/Timeline$Period;->getAdDurationUs(II)J move-result-wide v0 goto :goto_3 :cond_7 iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2485 iget-wide v0, v0, Landroidx/media3/common/Timeline$Period;->durationUs:J .line 2486 :goto_3 iget-wide v10, v8, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J iget-wide v12, v8, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J iget-wide v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->discontinuityStartPositionUs:J iget-wide v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J sub-long v16, v0, v4 iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackGroups:Landroidx/media3/exoplayer/source/TrackGroupArray; iget-object v5, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object v6, v8, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; move-object v9, v14 move-object v7, v14 move-wide v14, v2 move-object/from16 v18, v4 move-object/from16 v19, v5 move-object/from16 v20, v6 .line 2487 invoke-virtual/range {v8 .. v20}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithNewPosition(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;JJJJLandroidx/media3/exoplayer/source/TrackGroupArray;Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;Ljava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 .line 2496 invoke-virtual {v2, v7}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithLoadingMediaPeriodId(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v8 .line 2497 iput-wide v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J goto/16 :goto_8 :cond_8 move-object v1, v14 .line 2500 invoke-virtual {v1}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v0 xor-int/2addr v0, v4 invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkState(Z)V .line 2502 iget-wide v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->totalBufferedDurationUs:J sub-long v4, v12, v6 sub-long/2addr v2, v4 const-wide/16 v4, 0x0 .line 2503 invoke-static {v4, v5, v2, v3}, Ljava/lang/Math;->max(JJ)J move-result-wide v16 .line 2506 iget-wide v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J .line 2507 iget-object v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v0, v4}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_9 add-long v2, v12, v16 .line 2510 :cond_9 iget-object v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackGroups:Landroidx/media3/exoplayer/source/TrackGroupArray; iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object v5, v8, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; move-object v9, v1 move-wide v10, v12 move-wide v6, v12 move-wide v14, v6 move-object/from16 v18, v0 move-object/from16 v19, v4 move-object/from16 v20, v5 .line 2511 invoke-virtual/range {v8 .. v20}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithNewPosition(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;JJJJLandroidx/media3/exoplayer/source/TrackGroupArray;Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;Ljava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v8 .line 2520 iput-wide v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J goto :goto_8 :cond_a :goto_4 move-wide v6, v12 move-object v1, v14 .line 2458 invoke-virtual {v1}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v2 xor-int/2addr v2, v4 invoke-static {v2}, Landroidx/media3/common/util/Assertions;->checkState(Z)V const-wide/16 v16, 0x0 if-eqz v9, :cond_b .line 2467 sget-object v2, Landroidx/media3/exoplayer/source/TrackGroupArray;->EMPTY:Landroidx/media3/exoplayer/source/TrackGroupArray; goto :goto_5 :cond_b iget-object v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackGroups:Landroidx/media3/exoplayer/source/TrackGroupArray; :goto_5 move-object/from16 v18, v2 if-eqz v9, :cond_c iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->emptyTrackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; goto :goto_6 .line 2468 :cond_c iget-object v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; :goto_6 move-object/from16 v19, v0 if-eqz v9, :cond_d .line 2469 invoke-static {}, Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; move-result-object v0 goto :goto_7 :cond_d iget-object v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; :goto_7 move-object/from16 v20, v0 move-object v9, v1 move-wide v10, v6 move-wide v12, v6 move-wide v14, v6 .line 2461 invoke-virtual/range {v8 .. v20}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithNewPosition(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;JJJJLandroidx/media3/exoplayer/source/TrackGroupArray;Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;Ljava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 .line 2470 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithLoadingMediaPeriodId(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v8 .line 2471 iput-wide v6, v8, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J :cond_e :goto_8 return-object v8 .end method .method private maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/media3/common/Timeline;", "IJ)", "Landroid/util/Pair<", "Ljava/lang/Object;", "Ljava/lang/Long;", ">;" } .end annotation .line 2569 invoke-virtual {p1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-eqz v0, :cond_1 iput p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I const-wide p1, -0x7fffffffffffffffL # -4.9E-324 cmp-long p1, p3, p1 if-nez p1, :cond_0 const-wide/16 p3, 0x0 :cond_0 iput-wide p3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowPositionMs:J const/4 p1, 0x0 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingPeriodIndex:I const/4 p0, 0x0 return-object p0 :cond_1 const/4 v0, -0x1 if-eq p2, v0, :cond_2 .line 2576 invoke-virtual {p1}, Landroidx/media3/common/Timeline;->getWindowCount()I move-result v0 if-lt p2, v0, :cond_3 :cond_2 iget-boolean p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z .line 2579 invoke-virtual {p1, p2}, Landroidx/media3/common/Timeline;->getFirstWindowIndex(Z)I move-result p2 .line 2580 iget-object p3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {p1, p2, p3}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object p3 invoke-virtual {p3}, Landroidx/media3/common/Timeline$Window;->getDefaultPositionMs()J move-result-wide p3 :cond_3 move v3, p2 .line 2582 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-static {p3, p4}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v4 move-object v0, p1 invoke-virtual/range {v0 .. v5}, Landroidx/media3/common/Timeline;->getPeriodPositionUs(Landroidx/media3/common/Timeline$Window;Landroidx/media3/common/Timeline$Period;IJ)Landroid/util/Pair; move-result-object p0 return-object p0 .end method .method private maybeNotifySurfaceSizeChanged(II)V .locals 3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceSize:Landroidx/media3/common/util/Size; .line 2715 invoke-virtual {v0}, Landroidx/media3/common/util/Size;->getWidth()I move-result v0 if-ne p1, v0, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceSize:Landroidx/media3/common/util/Size; invoke-virtual {v0}, Landroidx/media3/common/util/Size;->getHeight()I move-result v0 if-eq p2, v0, :cond_1 .line 2716 :cond_0 new-instance v0, Landroidx/media3/common/util/Size; invoke-direct {v0, p1, p2}, Landroidx/media3/common/util/Size;->(II)V iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceSize:Landroidx/media3/common/util/Size; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2717 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda18; invoke-direct {v1, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda18;->(II)V const/16 v2, 0x18 invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2719 new-instance v0, Landroidx/media3/common/util/Size; invoke-direct {v0, p1, p2}, Landroidx/media3/common/util/Size;->(II)V const/4 p1, 0x2 const/16 p2, 0xe invoke-direct {p0, p1, p2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V :cond_1 return-void .end method .method private periodPositionUsToWindowPositionUs(Landroidx/media3/common/Timeline;Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;J)J .locals 1 .line 2587 iget-object p2, p2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {p1, p2, v0}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 2588 invoke-virtual {p0}, Landroidx/media3/common/Timeline$Period;->getPositionInWindowUs()J move-result-wide p0 add-long/2addr p3, p0 return-wide p3 .end method .method private removeMediaItemsInternal(Landroidx/media3/exoplayer/PlaybackInfo;II)Landroidx/media3/exoplayer/PlaybackInfo; .locals 10 .line 2380 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result v6 .line 2381 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v4 .line 2382 iget-object v1, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 2383 invoke-interface {v0}, Ljava/util/List;->size()I move-result v7 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I const/4 v8, 0x1 add-int/2addr v0, v8 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I .line 2385 invoke-direct {p0, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeMediaSourceHolders(II)V .line 2386 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMaskingTimeline()Landroidx/media3/common/Timeline; move-result-object v9 move-object v0, p0 move-object v2, v9 move v3, v6 .line 2391 invoke-direct/range {v0 .. v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPeriodPositionUsAfterTimelineChanged(Landroidx/media3/common/Timeline;Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 .line 2388 invoke-direct {p0, p1, v9, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object p1 .line 2394 iget v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I if-eq v0, v8, :cond_0 iget v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I const/4 v1, 0x4 if-eq v0, v1, :cond_0 if-ge p2, p3, :cond_0 if-ne p3, v7, :cond_0 iget-object v0, p1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 2399 invoke-virtual {v0}, Landroidx/media3/common/Timeline;->getWindowCount()I move-result v0 if-lt v6, v0, :cond_0 .line 2401 invoke-virtual {p1, v1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object p1 :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 2403 invoke-virtual {v0, p2, p3, p0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->removeMediaSources(IILandroidx/media3/exoplayer/source/ShuffleOrder;)V return-object p1 .end method .method private removeMediaSourceHolders(II)V .locals 2 add-int/lit8 v0, p2, -0x1 :goto_0 if-lt v0, p1, :cond_0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 2409 invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; add-int/lit8 v0, v0, -0x1 goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 2411 invoke-interface {v0, p1, p2}, Landroidx/media3/exoplayer/source/ShuffleOrder;->cloneAndRemove(II)Landroidx/media3/exoplayer/source/ShuffleOrder; move-result-object p1 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; return-void .end method .method private removeSurfaceCallbacks()V .locals 3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; const/4 v1, 0x0 if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 2622 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 const/16 v2, 0x2710 .line 2623 invoke-virtual {v0, v2}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 .line 2624 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 .line 2625 invoke-virtual {v0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 2626 invoke-virtual {v0, v2}, Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView;->removeVideoSurfaceListener(Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView$VideoSurfaceListener;)V iput-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->textureView:Landroid/view/TextureView; if-eqz v0, :cond_2 .line 2630 invoke-virtual {v0}, Landroid/view/TextureView;->getSurfaceTextureListener()Landroid/view/TextureView$SurfaceTextureListener; move-result-object v0 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; if-eq v0, v2, :cond_1 const-string v0, "ExoPlayerImpl" const-string v2, "SurfaceTextureListener already unset or replaced." .line 2631 invoke-static {v0, v2}, Landroidx/media3/common/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)V goto :goto_0 :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->textureView:Landroid/view/TextureView; .line 2633 invoke-virtual {v0, v1}, Landroid/view/TextureView;->setSurfaceTextureListener(Landroid/view/TextureView$SurfaceTextureListener;)V :goto_0 iput-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->textureView:Landroid/view/TextureView; :cond_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; if-eqz v0, :cond_3 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 2638 invoke-interface {v0, v2}, Landroid/view/SurfaceHolder;->removeCallback(Landroid/view/SurfaceHolder$Callback;)V iput-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; :cond_3 return-void .end method .method private sendRendererMessage(IILjava/lang/Object;)V .locals 5 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 2807 array-length v1, v0 const/4 v2, 0x0 :goto_0 if-ge v2, v1, :cond_1 aget-object v3, v0, v2 .line 2808 invoke-interface {v3}, Landroidx/media3/exoplayer/Renderer;->getTrackType()I move-result v4 if-ne v4, p1, :cond_0 .line 2809 invoke-direct {p0, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v3 invoke-virtual {v3, p2}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v3 invoke-virtual {v3, p3}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v3 invoke-virtual {v3}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; :cond_0 add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_1 return-void .end method .method private sendVolumeToRenderers()V .locals 3 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->volume:F iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 2725 invoke-virtual {v1}, Landroidx/media3/exoplayer/AudioFocusManager;->getVolumeMultiplier()F move-result v1 mul-float/2addr v0, v1 const/4 v1, 0x2 .line 2726 invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float; move-result-object v0 const/4 v2, 0x1 invoke-direct {p0, v2, v1, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method private setMediaSourcesInternal(Ljava/util/List;IJZ)V .locals 14 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;IJZ)V" } .end annotation move-object v0, p0 move/from16 v1, p2 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2289 invoke-direct {p0, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result v2 .line 2290 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPosition()J move-result-wide v3 iget v5, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I const/4 v6, 0x1 add-int/2addr v5, v6 iput v5, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 2292 invoke-interface {v5}, Ljava/util/List;->isEmpty()Z move-result v5 const/4 v7, 0x0 if-nez v5, :cond_0 iget-object v5, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 2294 invoke-interface {v5}, Ljava/util/List;->size()I move-result v5 .line 2293 invoke-direct {p0, v7, v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeMediaSourceHolders(II)V :cond_0 move-object v5, p1 .line 2297 invoke-direct {p0, v7, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSourceHolders(ILjava/util/List;)Ljava/util/List; move-result-object v9 .line 2298 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMaskingTimeline()Landroidx/media3/common/Timeline; move-result-object v5 .line 2299 invoke-virtual {v5}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v8 if-nez v8, :cond_2 invoke-virtual {v5}, Landroidx/media3/common/Timeline;->getWindowCount()I move-result v8 if-ge v1, v8, :cond_1 goto :goto_0 .line 2300 :cond_1 new-instance v0, Landroidx/media3/common/IllegalSeekPositionException; move-wide/from16 v10, p3 invoke-direct {v0, v5, v1, v10, v11}, Landroidx/media3/common/IllegalSeekPositionException;->(Landroidx/media3/common/Timeline;IJ)V throw v0 :cond_2 :goto_0 move-wide/from16 v10, p3 const/4 v8, -0x1 if-eqz p5, :cond_3 iget-boolean v1, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z .line 2304 invoke-virtual {v5, v1}, Landroidx/media3/common/Timeline;->getFirstWindowIndex(Z)I move-result v1 const-wide v2, -0x7fffffffffffffffL # -4.9E-324 move-wide v10, v2 goto :goto_1 :cond_3 if-ne v1, v8, :cond_4 move v1, v2 move-wide v10, v3 :cond_4 :goto_1 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2314 invoke-direct {p0, v5, v1, v10, v11}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v3 .line 2311 invoke-direct {p0, v2, v5, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 .line 2316 iget v3, v2, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I if-eq v1, v8, :cond_7 .line 2317 iget v4, v2, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I if-eq v4, v6, :cond_7 .line 2319 invoke-virtual {v5}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v3 if-nez v3, :cond_6 invoke-virtual {v5}, Landroidx/media3/common/Timeline;->getWindowCount()I move-result v3 if-lt v1, v3, :cond_5 goto :goto_2 :cond_5 const/4 v3, 0x2 goto :goto_3 :cond_6 :goto_2 const/4 v3, 0x4 .line 2326 :cond_7 :goto_3 invoke-virtual {v2, v3}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 iget-object v8, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 2328 invoke-static {v10, v11}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v11 iget-object v13, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; move v10, v1 .line 2327 invoke-virtual/range {v8 .. v13}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setMediaSources(Ljava/util/List;IJLandroidx/media3/exoplayer/source/ShuffleOrder;)V iget-object v1, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2329 iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v1, v1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v3, v2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v3, v3, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 2330 invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_8 iget-object v1, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 2331 invoke-virtual {v1}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v1 if-nez v1, :cond_8 move v4, v6 goto :goto_4 :cond_8 move v4, v7 :goto_4 const/4 v3, 0x0 const/4 v5, 0x1 const/4 v6, 0x4 .line 2338 invoke-direct {p0, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v7 const/4 v9, -0x1 const/4 v10, 0x0 move-object v0, p0 move-object v1, v2 move v2, v3 move v3, v5 move v5, v6 move-wide v6, v7 move v8, v9 move v9, v10 .line 2332 invoke-direct/range {v0 .. v9}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method private setNonVideoOutputSurfaceHolderInternal(Landroid/view/SurfaceHolder;)V .locals 2 const/4 v0, 0x0 iput-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolderSurfaceIsVideoOutput:Z iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 2704 invoke-interface {p1, v1}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; .line 2705 invoke-interface {p1}, Landroid/view/SurfaceHolder;->getSurface()Landroid/view/Surface; move-result-object p1 if-eqz p1, :cond_0 .line 2706 invoke-virtual {p1}, Landroid/view/Surface;->isValid()Z move-result p1 if-eqz p1, :cond_0 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; .line 2707 invoke-interface {p1}, Landroid/view/SurfaceHolder;->getSurfaceFrame()Landroid/graphics/Rect; move-result-object p1 .line 2708 invoke-virtual {p1}, Landroid/graphics/Rect;->width()I move-result v0 invoke-virtual {p1}, Landroid/graphics/Rect;->height()I move-result p1 invoke-direct {p0, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V goto :goto_0 .line 2710 :cond_0 invoke-direct {p0, v0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V :goto_0 return-void .end method .method private setSurfaceTextureInternal(Landroid/graphics/SurfaceTexture;)V .locals 1 .line 2644 new-instance v0, Landroid/view/Surface; invoke-direct {v0, p1}, Landroid/view/Surface;->(Landroid/graphics/SurfaceTexture;)V .line 2645 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->ownedSurface:Landroid/view/Surface; return-void .end method .method private setVideoOutputInternal(Ljava/lang/Object;)V .locals 9 .line 2652 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 2653 array-length v2, v1 const/4 v3, 0x0 move v4, v3 :goto_0 const/4 v5, 0x1 if-ge v4, v2, :cond_1 aget-object v6, v1, v4 .line 2654 invoke-interface {v6}, Landroidx/media3/exoplayer/Renderer;->getTrackType()I move-result v7 const/4 v8, 0x2 if-ne v7, v8, :cond_0 .line 2656 invoke-direct {p0, v6}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v6 .line 2657 invoke-virtual {v6, v5}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v5 .line 2658 invoke-virtual {v5, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v5 .line 2659 invoke-virtual {v5}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; move-result-object v5 .line 2655 invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z :cond_0 add-int/lit8 v4, v4, 0x1 goto :goto_0 :cond_1 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoOutput:Ljava/lang/Object; if-eqz v1, :cond_3 if-eq v1, p1, :cond_3 .line 2667 :try_start_0 invoke-interface {v0}, Ljava/util/List;->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, Landroidx/media3/exoplayer/PlayerMessage; iget-wide v6, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->detachSurfaceTimeoutMs:J .line 2668 invoke-virtual {v1, v6, v7}, Landroidx/media3/exoplayer/PlayerMessage;->blockUntilDelivered(J)Z :try_end_0 .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/util/concurrent/TimeoutException; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_1 :catch_0 move v3, v5 goto :goto_2 .line 2671 :catch_1 invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V :cond_2 :goto_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoOutput:Ljava/lang/Object; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->ownedSurface:Landroid/view/Surface; if-ne v0, v1, :cond_3 .line 2677 invoke-virtual {v1}, Landroid/view/Surface;->release()V const/4 v0, 0x0 iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->ownedSurface:Landroid/view/Surface; :cond_3 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoOutput:Ljava/lang/Object; if-eqz v3, :cond_4 .line 2683 new-instance p1, Landroidx/media3/exoplayer/ExoTimeoutException; const/4 v0, 0x3 invoke-direct {p1, v0}, Landroidx/media3/exoplayer/ExoTimeoutException;->(I)V const/16 v0, 0x3eb .line 2684 invoke-static {p1, v0}, Landroidx/media3/exoplayer/ExoPlaybackException;->createForUnexpected(Ljava/lang/RuntimeException;I)Landroidx/media3/exoplayer/ExoPlaybackException; move-result-object p1 .line 2683 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->stopInternal(Landroidx/media3/exoplayer/ExoPlaybackException;)V :cond_4 return-void .end method .method private stopInternal(Landroidx/media3/exoplayer/ExoPlaybackException;)V .locals 12 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1839 iget-object v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; .line 1840 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithLoadingMediaPeriodId(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 .line 1841 iget-wide v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J iput-wide v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J const-wide/16 v1, 0x0 .line 1842 iput-wide v1, v0, Landroidx/media3/exoplayer/PlaybackInfo;->totalBufferedDurationUs:J const/4 v1, 0x1 .line 1843 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 if-eqz p1, :cond_0 .line 1845 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackError(Landroidx/media3/exoplayer/ExoPlaybackException;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 :cond_0 move-object v3, v0 iget p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr p1, v1 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 1848 invoke-virtual {p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->stop()V const/4 v4, 0x0 const/4 v5, 0x1 const/4 v6, 0x0 const/4 v7, 0x5 const-wide v8, -0x7fffffffffffffffL # -4.9E-324 const/4 v10, -0x1 const/4 v11, 0x0 move-object v2, p0 .line 1849 invoke-direct/range {v2 .. v11}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method private updateAvailableCommands()V .locals 3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->availableCommands:Landroidx/media3/common/Player$Commands; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wrappingPlayer:Landroidx/media3/common/Player; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->permanentAvailableCommands:Landroidx/media3/common/Player$Commands; .line 2276 invoke-static {v1, v2}, Landroidx/media3/common/util/Util;->getAvailableCommands(Landroidx/media3/common/Player;Landroidx/media3/common/Player$Commands;)Landroidx/media3/common/Player$Commands; move-result-object v1 iput-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->availableCommands:Landroidx/media3/common/Player$Commands; .line 2277 invoke-virtual {v1, v0}, Landroidx/media3/common/Player$Commands;->equals(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2278 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda8; invoke-direct {v1, p0}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda8;->(Landroidx/media3/exoplayer/ExoPlayerImpl;)V const/16 p0, 0xd invoke-virtual {v0, p0, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_0 return-void .end method .method private updatePlayWhenReady(ZII)V .locals 11 const/4 v0, 0x0 const/4 v1, 0x1 if-eqz p1, :cond_0 const/4 p1, -0x1 if-eq p2, p1, :cond_0 move p1, v1 goto :goto_0 :cond_0 move p1, v0 :goto_0 if-eqz p1, :cond_1 if-eq p2, v1, :cond_1 move v0, v1 :cond_1 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2739 iget-boolean p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z if-ne p2, p1, :cond_2 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->playbackSuppressionReason:I if-ne p2, v0, :cond_2 return-void :cond_2 iget p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr p2, v1 iput p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2747 iget-boolean p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z if-eqz p2, :cond_3 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2748 invoke-virtual {p2}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithEstimatedPosition()Landroidx/media3/exoplayer/PlaybackInfo; move-result-object p2 goto :goto_1 :cond_3 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 2750 :goto_1 invoke-virtual {p2, p1, v0}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlayWhenReady(ZI)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 2752 invoke-virtual {p2, p1, v0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setPlayWhenReady(ZI)V const/4 v3, 0x0 const/4 v5, 0x0 const/4 v6, 0x5 const-wide v7, -0x7fffffffffffffffL # -4.9E-324 const/4 v9, -0x1 const/4 v10, 0x0 move-object v1, p0 move v4, p3 .line 2753 invoke-direct/range {v1 .. v10}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method private updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V .locals 16 move-object/from16 v7, p0 move-object/from16 v8, p1 move/from16 v9, p5 iget-object v10, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iput-object v8, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1979 iget-object v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0, v1}, Landroidx/media3/common/Timeline;->equals(Ljava/lang/Object;)Z move-result v0 const/4 v11, 0x1 xor-int/lit8 v12, v0, 0x1 move-object/from16 v0, p0 move-object/from16 v1, p1 move-object v2, v10 move/from16 v3, p4 move/from16 v4, p5 move v5, v12 move/from16 v6, p9 .line 1981 invoke-direct/range {v0 .. v6}, Landroidx/media3/exoplayer/ExoPlayerImpl;->evaluateMediaItemTransitionReason(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/exoplayer/PlaybackInfo;ZIZZ)Landroid/util/Pair; move-result-object v0 .line 1988 iget-object v1, v0, Landroid/util/Pair;->first:Ljava/lang/Object; check-cast v1, Ljava/lang/Boolean; invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z move-result v1 .line 1989 iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object; check-cast v0, Ljava/lang/Integer; invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 iget-object v2, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; const/4 v3, 0x0 if-eqz v1, :cond_1 .line 1993 iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v4}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-nez v4, :cond_0 .line 1994 iget-object v3, v8, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v4, v4, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v5, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 1995 invoke-virtual {v3, v4, v5}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v3 iget v3, v3, Landroidx/media3/common/Timeline$Period;->windowIndex:I .line 1997 iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v5, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v4, v3, v5}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object v3 iget-object v3, v3, Landroidx/media3/common/Timeline$Window;->mediaItem:Landroidx/media3/common/MediaItem; .line 1999 :cond_0 sget-object v4, Landroidx/media3/common/MediaMetadata;->EMPTY:Landroidx/media3/common/MediaMetadata; iput-object v4, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; :cond_1 if-nez v1, :cond_2 .line 2001 iget-object v4, v10, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; iget-object v5, v8, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; .line 2002 invoke-interface {v4, v5}, Ljava/util/List;->equals(Ljava/lang/Object;)Z move-result v4 if-nez v4, :cond_3 :cond_2 iget-object v2, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; .line 2005 invoke-virtual {v2}, Landroidx/media3/common/MediaMetadata;->buildUpon()Landroidx/media3/common/MediaMetadata$Builder; move-result-object v2 iget-object v4, v8, Landroidx/media3/exoplayer/PlaybackInfo;->staticMetadata:Ljava/util/List; .line 2006 invoke-virtual {v2, v4}, Landroidx/media3/common/MediaMetadata$Builder;->populateFromMetadata(Ljava/util/List;)Landroidx/media3/common/MediaMetadata$Builder; move-result-object v2 .line 2007 invoke-virtual {v2}, Landroidx/media3/common/MediaMetadata$Builder;->build()Landroidx/media3/common/MediaMetadata; move-result-object v2 iput-object v2, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->staticAndDynamicMediaMetadata:Landroidx/media3/common/MediaMetadata; .line 2008 invoke-direct/range {p0 .. p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->buildUpdatedMediaMetadata()Landroidx/media3/common/MediaMetadata; move-result-object v2 :cond_3 iget-object v4, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; .line 2010 invoke-virtual {v2, v4}, Landroidx/media3/common/MediaMetadata;->equals(Ljava/lang/Object;)Z move-result v4 xor-int/2addr v4, v11 iput-object v2, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; .line 2012 iget-boolean v2, v10, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z iget-boolean v5, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z const/4 v6, 0x0 if-eq v2, v5, :cond_4 move v2, v11 goto :goto_0 :cond_4 move v2, v6 .line 2014 :goto_0 iget v5, v10, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I iget v13, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I if-eq v5, v13, :cond_5 move v5, v11 goto :goto_1 :cond_5 move v5, v6 :goto_1 if-nez v5, :cond_6 if-eqz v2, :cond_7 .line 2017 :cond_6 invoke-direct/range {p0 .. p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updateWakeAndWifiLock()V .line 2019 :cond_7 iget-boolean v13, v10, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z iget-boolean v14, v8, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z if-eq v13, v14, :cond_8 move v13, v11 goto :goto_2 :cond_8 move v13, v6 :goto_2 if-eqz v13, :cond_9 .line 2021 iget-boolean v14, v8, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z invoke-direct {v7, v14}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePriorityTaskManagerForIsLoadingChange(Z)V :cond_9 if-eqz v12, :cond_a iget-object v12, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2025 new-instance v14, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda21; move/from16 v15, p2 invoke-direct {v14, v8, v15}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda21;->(Landroidx/media3/exoplayer/PlaybackInfo;I)V invoke-virtual {v12, v6, v14}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_a if-eqz p4, :cond_b move/from16 v6, p8 .line 2031 invoke-direct {v7, v9, v10, v6}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPreviousPositionInfo(ILandroidx/media3/exoplayer/PlaybackInfo;I)Landroidx/media3/common/Player$PositionInfo; move-result-object v6 move-wide/from16 v14, p6 .line 2033 invoke-direct {v7, v14, v15}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPositionInfo(J)Landroidx/media3/common/Player$PositionInfo; move-result-object v12 iget-object v14, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2034 new-instance v15, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda26; invoke-direct {v15, v9, v6, v12}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda26;->(ILandroidx/media3/common/Player$PositionInfo;Landroidx/media3/common/Player$PositionInfo;)V const/16 v6, 0xb invoke-virtual {v14, v6, v15}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_b if-eqz v1, :cond_c iget-object v1, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2044 new-instance v6, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda27; invoke-direct {v6, v3, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda27;->(Landroidx/media3/common/MediaItem;I)V invoke-virtual {v1, v11, v6}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2048 :cond_c iget-object v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; iget-object v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; if-eq v0, v1, :cond_d iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2049 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda1; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda1;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/16 v3, 0xa invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2052 iget-object v0, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; if-eqz v0, :cond_d iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2053 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda2; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda2;->(Landroidx/media3/exoplayer/PlaybackInfo;)V invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2058 :cond_d iget-object v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; if-eq v0, v1, :cond_e iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 2059 iget-object v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object v1, v1, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->info:Ljava/lang/Object; invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->onSelectionActivated(Ljava/lang/Object;)V iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2060 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda3; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda3;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v3, 0x2 invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_e if-eqz v4, :cond_f iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; iget-object v1, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2066 new-instance v3, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda4; invoke-direct {v3, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda4;->(Landroidx/media3/common/MediaMetadata;)V const/16 v0, 0xe invoke-virtual {v1, v0, v3}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_f if-eqz v13, :cond_10 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2071 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda5; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda5;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v3, 0x3 invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_10 if-nez v5, :cond_11 if-eqz v2, :cond_12 :cond_11 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2079 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda6; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda6;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v3, -0x1 invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_12 if-eqz v5, :cond_13 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2086 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda7; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda7;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v3, 0x4 invoke-virtual {v0, v3, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_13 if-eqz v2, :cond_14 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2091 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda22; move/from16 v2, p3 invoke-direct {v1, v8, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda22;->(Landroidx/media3/exoplayer/PlaybackInfo;I)V const/4 v2, 0x5 invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2097 :cond_14 iget v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->playbackSuppressionReason:I iget v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playbackSuppressionReason:I if-eq v0, v1, :cond_15 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2099 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda23; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda23;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v2, 0x6 invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2105 :cond_15 invoke-virtual {v10}, Landroidx/media3/exoplayer/PlaybackInfo;->isPlaying()Z move-result v0 invoke-virtual/range {p1 .. p1}, Landroidx/media3/exoplayer/PlaybackInfo;->isPlaying()Z move-result v1 if-eq v0, v1, :cond_16 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2106 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda24; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda24;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/4 v2, 0x7 invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2110 :cond_16 iget-object v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->playbackParameters:Landroidx/media3/common/PlaybackParameters; iget-object v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->playbackParameters:Landroidx/media3/common/PlaybackParameters; invoke-virtual {v0, v1}, Landroidx/media3/common/PlaybackParameters;->equals(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_17 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2111 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda25; invoke-direct {v1, v8}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda25;->(Landroidx/media3/exoplayer/PlaybackInfo;)V const/16 v2, 0xc invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 2115 :cond_17 invoke-direct/range {p0 .. p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updateAvailableCommands()V iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 2116 invoke-virtual {v0}, Landroidx/media3/common/util/ListenerSet;->flushEvents()V .line 2118 iget-boolean v0, v10, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z iget-boolean v1, v8, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z if-eq v0, v1, :cond_18 iget-object v0, v7, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .line 2119 invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArraySet;->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_18 invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener; .line 2120 iget-boolean v2, v8, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z invoke-interface {v1, v2}, Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;->onExperimentalSleepingForOffloadChanged(Z)V goto :goto_3 :cond_18 return-void .end method .method private updatePriorityTaskManagerForIsLoadingChange(Z)V .locals 3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; if-eqz v0, :cond_1 const/4 v1, 0x0 if-eqz p1, :cond_0 iget-boolean v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z if-nez v2, :cond_0 .line 2851 invoke-virtual {v0, v1}, Landroidx/media3/common/PriorityTaskManager;->add(I)V const/4 p1, 0x1 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z goto :goto_0 :cond_0 if-nez p1, :cond_1 iget-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z if-eqz p1, :cond_1 .line 2854 invoke-virtual {v0, v1}, Landroidx/media3/common/PriorityTaskManager;->remove(I)V iput-boolean v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z :cond_1 :goto_0 return-void .end method .method private updateWakeAndWifiLock()V .locals 5 .line 2765 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlaybackState()I move-result v0 const/4 v1, 0x1 const/4 v2, 0x0 if-eq v0, v1, :cond_3 const/4 v3, 0x2 if-eq v0, v3, :cond_1 const/4 v3, 0x3 if-eq v0, v3, :cond_1 const/4 v1, 0x4 if-ne v0, v1, :cond_0 goto :goto_1 .line 2780 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; invoke-direct {p0}, Ljava/lang/IllegalStateException;->()V throw p0 .line 2769 :cond_1 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->experimentalIsSleepingForOffload()Z move-result v0 iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 2770 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReady()Z move-result v4 if-eqz v4, :cond_2 if-nez v0, :cond_2 goto :goto_0 :cond_2 move v1, v2 :goto_0 invoke-virtual {v3, v1}, Landroidx/media3/exoplayer/WakeLockManager;->setStayAwake(Z)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 2772 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReady()Z move-result p0 invoke-virtual {v0, p0}, Landroidx/media3/exoplayer/WifiLockManager;->setStayAwake(Z)V goto :goto_2 :cond_3 :goto_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 2776 invoke-virtual {v0, v2}, Landroidx/media3/exoplayer/WakeLockManager;->setStayAwake(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 2777 invoke-virtual {p0, v2}, Landroidx/media3/exoplayer/WifiLockManager;->setStayAwake(Z)V :goto_2 return-void .end method .method private verifyApplicationThread()V .locals 3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->constructorFinished:Landroidx/media3/common/util/ConditionVariable; .line 2787 invoke-virtual {v0}, Landroidx/media3/common/util/ConditionVariable;->blockUninterruptible()V .line 2788 invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; move-result-object v0 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getApplicationLooper()Landroid/os/Looper; move-result-object v1 invoke-virtual {v1}, Landroid/os/Looper;->getThread()Ljava/lang/Thread; move-result-object v1 if-eq v0, v1, :cond_2 .line 2796 invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String; move-result-object v0 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getApplicationLooper()Landroid/os/Looper; move-result-object v1 invoke-virtual {v1}, Landroid/os/Looper;->getThread()Ljava/lang/Thread; move-result-object v1 invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String; move-result-object v1 filled-new-array {v0, v1}, [Ljava/lang/Object; move-result-object v0 const-string v1, "Player is accessed on the wrong thread.\nCurrent thread: \'%s\'\nExpected thread: \'%s\'\nSee https://developer.android.com/guide/topics/media/issues/player-accessed-on-wrong-thread" .line 2790 invoke-static {v1, v0}, Landroidx/media3/common/util/Util;->formatInvariant(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; move-result-object v0 iget-boolean v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->throwsWhenUsingWrongThread:Z if-nez v1, :cond_1 iget-boolean v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->hasNotifiedFullWrongThreadWarning:Z if-eqz v1, :cond_0 const/4 v1, 0x0 goto :goto_0 .line 2800 :cond_0 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1}, Ljava/lang/IllegalStateException;->()V :goto_0 const-string v2, "ExoPlayerImpl" invoke-static {v2, v0, v1}, Landroidx/media3/common/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V const/4 v0, 0x1 iput-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->hasNotifiedFullWrongThreadWarning:Z goto :goto_1 .line 2798 :cond_1 new-instance p0, Ljava/lang/IllegalStateException; invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 :cond_2 :goto_1 return-void .end method # virtual methods .method public addAnalyticsListener(Landroidx/media3/exoplayer/analytics/AnalyticsListener;)V .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 1558 invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroidx/media3/exoplayer/analytics/AnalyticsListener; invoke-interface {p0, p1}, Landroidx/media3/exoplayer/analytics/AnalyticsCollector;->addListener(Landroidx/media3/exoplayer/analytics/AnalyticsListener;)V return-void .end method .method public addAudioOffloadListener(Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;)V .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .line 489 invoke-virtual {p0, p1}, Ljava/util/concurrent/CopyOnWriteArraySet;->add(Ljava/lang/Object;)Z return-void .end method .method public addListener(Landroidx/media3/common/Player$Listener;)V .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1675 invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroidx/media3/common/Player$Listener; invoke-virtual {p0, p1}, Landroidx/media3/common/util/ListenerSet;->add(Ljava/lang/Object;)V return-void .end method .method public addMediaItems(ILjava/util/List;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/util/List<", "Landroidx/media3/common/MediaItem;", ">;)V" } .end annotation .line 628 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 629 invoke-direct {p0, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMediaSources(Ljava/util/List;)Ljava/util/List; move-result-object p2 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSources(ILjava/util/List;)V return-void .end method .method public addMediaSource(ILandroidx/media3/exoplayer/source/MediaSource;)V .locals 0 .line 640 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 641 invoke-static {p2}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p2 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSources(ILjava/util/List;)V return-void .end method .method public addMediaSource(Landroidx/media3/exoplayer/source/MediaSource;)V .locals 0 .line 634 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 635 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSources(Ljava/util/List;)V return-void .end method .method public addMediaSources(ILjava/util/List;)V .locals 11 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;)V" } .end annotation .line 652 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x1 const/4 v1, 0x0 if-ltz p1, :cond_0 move v2, v0 goto :goto_0 :cond_0 move v2, v1 .line 653 :goto_0 invoke-static {v2}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 654 invoke-interface {v2}, Ljava/util/List;->size()I move-result v2 invoke-static {p1, v2}, Ljava/lang/Math;->min(II)I move-result p1 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 655 invoke-interface {v2}, Ljava/util/List;->isEmpty()Z move-result v2 if-eqz v2, :cond_2 iget p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I const/4 v2, -0x1 if-ne p1, v2, :cond_1 goto :goto_1 :cond_1 move v0, v1 .line 658 :goto_1 invoke-virtual {p0, p2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;Z)V return-void :cond_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 661 invoke-direct {p0, v0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSourcesInternal(Landroidx/media3/exoplayer/PlaybackInfo;ILjava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 const/4 v3, 0x0 const/4 v4, 0x1 const/4 v5, 0x0 const/4 v6, 0x5 const-wide v7, -0x7fffffffffffffffL # -4.9E-324 const/4 v9, -0x1 const/4 v10, 0x0 move-object v1, p0 .line 662 invoke-direct/range {v1 .. v10}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public addMediaSources(Ljava/util/List;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;)V" } .end annotation .line 646 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 647 invoke-interface {v0}, Ljava/util/List;->size()I move-result v0 invoke-virtual {p0, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSources(ILjava/util/List;)V return-void .end method .method public clearAuxEffectInfo()V .locals 3 .line 1500 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1501 new-instance v0, Landroidx/media3/common/AuxEffectInfo; const/4 v1, 0x0 const/4 v2, 0x0 invoke-direct {v0, v1, v2}, Landroidx/media3/common/AuxEffectInfo;->(IF)V invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setAuxEffectInfo(Landroidx/media3/common/AuxEffectInfo;)V return-void .end method .method public clearCameraMotionListener(Landroidx/media3/exoplayer/video/spherical/CameraMotionListener;)V .locals 1 .line 1656 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->cameraMotionListener:Landroidx/media3/exoplayer/video/spherical/CameraMotionListener; if-eq v0, p1, :cond_0 return-void :cond_0 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 1660 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/16 p1, 0x8 .line 1661 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/4 p1, 0x0 .line 1662 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1663 invoke-virtual {p0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; return-void .end method .method public clearVideoFrameMetadataListener(Landroidx/media3/exoplayer/video/VideoFrameMetadataListener;)V .locals 1 .line 1634 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoFrameMetadataListener:Landroidx/media3/exoplayer/video/VideoFrameMetadataListener; if-eq v0, p1, :cond_0 return-void :cond_0 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 1638 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/4 p1, 0x7 .line 1639 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/4 p1, 0x0 .line 1640 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1641 invoke-virtual {p0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; return-void .end method .method public clearVideoSurface()V .locals 1 .line 1312 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1313 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V const/4 v0, 0x0 .line 1314 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V const/4 v0, 0x0 .line 1315 invoke-direct {p0, v0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V return-void .end method .method public clearVideoSurface(Landroid/view/Surface;)V .locals 1 .line 1320 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-eqz p1, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoOutput:Ljava/lang/Object; if-ne p1, v0, :cond_0 .line 1322 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurface()V :cond_0 return-void .end method .method public clearVideoSurfaceHolder(Landroid/view/SurfaceHolder;)V .locals 1 .line 1359 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-eqz p1, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; if-ne p1, v0, :cond_0 .line 1361 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurface()V :cond_0 return-void .end method .method public clearVideoSurfaceView(Landroid/view/SurfaceView;)V .locals 0 .line 1389 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-nez p1, :cond_0 const/4 p1, 0x0 goto :goto_0 .line 1390 :cond_0 invoke-virtual {p1}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder; move-result-object p1 :goto_0 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurfaceHolder(Landroid/view/SurfaceHolder;)V return-void .end method .method public clearVideoTextureView(Landroid/view/TextureView;)V .locals 1 .line 1420 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-eqz p1, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->textureView:Landroid/view/TextureView; if-ne p1, v0, :cond_0 .line 1422 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurface()V :cond_0 return-void .end method .method public createMessage(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; .locals 0 .line 1064 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1065 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 return-object p0 .end method .method public decreaseDeviceVolume()V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1777 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 const/4 v0, 0x1 .line 1779 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/StreamVolumeManager;->decreaseVolume(I)V :cond_0 return-void .end method .method public decreaseDeviceVolume(I)V .locals 0 .line 1785 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1787 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/StreamVolumeManager;->decreaseVolume(I)V :cond_0 return-void .end method .method public experimentalIsSleepingForOffload()Z .locals 0 .line 464 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 465 iget-boolean p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z return p0 .end method .method public experimentalSetOffloadSchedulingEnabled(Z)V .locals 1 .line 455 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 456 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->experimentalSetOffloadSchedulingEnabled(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .line 457 invoke-virtual {p0}, Ljava/util/concurrent/CopyOnWriteArraySet;->iterator()Ljava/util/Iterator; move-result-object p0 :goto_0 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_0 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener; .line 458 invoke-interface {v0, p1}, Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;->onExperimentalOffloadSchedulingEnabledChanged(Z)V goto :goto_0 :cond_0 return-void .end method .method public getAnalyticsCollector()Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .locals 0 .line 1551 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; return-object p0 .end method .method public getApplicationLooper()Landroid/os/Looper; .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->applicationLooper:Landroid/os/Looper; return-object p0 .end method .method public getAudioAttributes()Landroidx/media3/common/AudioAttributes; .locals 0 .line 1457 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; return-object p0 .end method .method public getAudioComponent()Landroidx/media3/exoplayer/ExoPlayer$AudioComponent; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 422 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V return-object p0 .end method .method public getAudioDecoderCounters()Landroidx/media3/exoplayer/DecoderCounters; .locals 0 .line 1618 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; return-object p0 .end method .method public getAudioFormat()Landroidx/media3/common/Format; .locals 0 .line 1604 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFormat:Landroidx/media3/common/Format; return-object p0 .end method .method public getAudioSessionId()I .locals 0 .line 1488 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I return p0 .end method .method public getAvailableCommands()Landroidx/media3/common/Player$Commands; .locals 0 .line 500 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->availableCommands:Landroidx/media3/common/Player$Commands; return-object p0 .end method .method public getBufferedPosition()J .locals 2 .line 1105 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1106 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPlayingAd()Z move-result v0 if-eqz v0, :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1107 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1108 iget-wide v0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J invoke-static {v0, v1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v0 goto :goto_0 .line 1109 :cond_0 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getDuration()J move-result-wide v0 :goto_0 return-wide v0 .line 1111 :cond_1 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentBufferedPosition()J move-result-wide v0 return-wide v0 .end method .method public getClock()Landroidx/media3/common/util/Clock; .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->clock:Landroidx/media3/common/util/Clock; return-object p0 .end method .method public getContentBufferedPosition()J .locals 5 .line 1146 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1147 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 iget-wide v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowPositionMs:J return-wide v0 :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1150 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-wide v0, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v2, v2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-wide v2, v2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J cmp-long v0, v0, v2 if-eqz v0, :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1152 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentMediaItemIndex()I move-result v1 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->window:Landroidx/media3/common/Timeline$Window; invoke-virtual {v0, v1, p0}, Landroidx/media3/common/Timeline;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window; move-result-object p0 invoke-virtual {p0}, Landroidx/media3/common/Timeline$Window;->getDurationMs()J move-result-wide v0 return-wide v0 :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1154 iget-wide v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1155 iget-object v2, v2, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v2}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result v2 if-eqz v2, :cond_3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1156 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v1, v1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 1157 invoke-virtual {v0, v1, v2}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; move-result-object v0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1158 iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget v1, v1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I .line 1159 invoke-virtual {v0, v1}, Landroidx/media3/common/Timeline$Period;->getAdGroupTimeUs(I)J move-result-wide v1 const-wide/high16 v3, -0x8000000000000000L cmp-long v3, v1, v3 if-nez v3, :cond_2 .line 1161 iget-wide v0, v0, Landroidx/media3/common/Timeline$Period;->durationUs:J goto :goto_0 :cond_2 move-wide v0, v1 :cond_3 :goto_0 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1164 iget-object v2, v2, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object v3, v3, Landroidx/media3/exoplayer/PlaybackInfo;->loadingMediaPeriodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; .line 1165 invoke-direct {p0, v2, v3, v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->periodPositionUsToWindowPositionUs(Landroidx/media3/common/Timeline;Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;J)J move-result-wide v0 .line 1164 invoke-static {v0, v1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v0 return-wide v0 .end method .method public getContentPosition()J .locals 2 .line 1140 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1141 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v0 return-wide v0 .end method .method public getCurrentAdGroupIndex()I .locals 1 .line 1128 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1129 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPlayingAd()Z move-result v0 if-eqz v0, :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget p0, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I goto :goto_0 :cond_0 const/4 p0, -0x1 :goto_0 return p0 .end method .method public getCurrentAdIndexInAdGroup()I .locals 1 .line 1134 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1135 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPlayingAd()Z move-result v0 if-eqz v0, :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget p0, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I goto :goto_0 :cond_0 const/4 p0, -0x1 :goto_0 return p0 .end method .method public getCurrentCues()Landroidx/media3/common/text/CueGroup; .locals 0 .line 1668 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->currentCueGroup:Landroidx/media3/common/text/CueGroup; return-object p0 .end method .method public getCurrentMediaItemIndex()I .locals 1 .line 1080 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1081 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result p0 const/4 v0, -0x1 if-ne p0, v0, :cond_0 const/4 p0, 0x0 :cond_0 return p0 .end method .method public getCurrentPeriodIndex()I .locals 1 .line 1070 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1071 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v0}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingPeriodIndex:I return p0 :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1074 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p0, p0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; invoke-virtual {v0, p0}, Landroidx/media3/common/Timeline;->getIndexOfPeriod(Ljava/lang/Object;)I move-result p0 return p0 .end method .method public getCurrentPosition()J .locals 2 .line 1099 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1100 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v0 invoke-static {v0, v1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v0 return-wide v0 .end method .method public getCurrentTimeline()Landroidx/media3/common/Timeline; .locals 0 .line 1257 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1258 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; return-object p0 .end method .method public getCurrentTrackGroups()Landroidx/media3/exoplayer/source/TrackGroupArray; .locals 0 .line 1195 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1196 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->trackGroups:Landroidx/media3/exoplayer/source/TrackGroupArray; return-object p0 .end method .method public getCurrentTrackSelections()Landroidx/media3/exoplayer/trackselection/TrackSelectionArray; .locals 1 .line 1201 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1202 new-instance v0, Landroidx/media3/exoplayer/trackselection/TrackSelectionArray; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object p0, p0, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->selections:[Landroidx/media3/exoplayer/trackselection/ExoTrackSelection; invoke-direct {v0, p0}, Landroidx/media3/exoplayer/trackselection/TrackSelectionArray;->([Landroidx/media3/exoplayer/trackselection/TrackSelection;)V return-object v0 .end method .method public getCurrentTracks()Landroidx/media3/common/Tracks; .locals 0 .line 1207 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1208 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object p0, p0, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->tracks:Landroidx/media3/common/Tracks; return-object p0 .end method .method public getDeviceComponent()Landroidx/media3/exoplayer/ExoPlayer$DeviceComponent; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 449 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V return-object p0 .end method .method public getDeviceInfo()Landroidx/media3/common/DeviceInfo; .locals 0 .line 1707 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->deviceInfo:Landroidx/media3/common/DeviceInfo; return-object p0 .end method .method public getDeviceVolume()I .locals 0 .line 1713 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1715 invoke-virtual {p0}, Landroidx/media3/exoplayer/StreamVolumeManager;->getVolume()I move-result p0 return p0 :cond_0 const/4 p0, 0x0 return p0 .end method .method public getDuration()J .locals 4 .line 1087 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1088 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPlayingAd()Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1089 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1090 iget-object v1, v1, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; iget-object v2, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; invoke-virtual {v1, v2, v3}, Landroidx/media3/common/Timeline;->getPeriodByUid(Ljava/lang/Object;Landroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->period:Landroidx/media3/common/Timeline$Period; .line 1091 iget v1, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget v0, v0, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I invoke-virtual {p0, v1, v0}, Landroidx/media3/common/Timeline$Period;->getAdDurationUs(II)J move-result-wide v0 .line 1092 invoke-static {v0, v1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v0 return-wide v0 .line 1094 :cond_0 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentDuration()J move-result-wide v0 return-wide v0 .end method .method public getMaxSeekToPreviousPosition()J .locals 2 .line 928 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const-wide/16 v0, 0xbb8 return-wide v0 .end method .method public getMediaMetadata()Landroidx/media3/common/MediaMetadata; .locals 0 .line 1232 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaMetadata:Landroidx/media3/common/MediaMetadata; return-object p0 .end method .method public getPauseAtEndOfMediaItems()Z .locals 0 .line 802 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pauseAtEndOfMediaItems:Z return p0 .end method .method public getPlayWhenReady()Z .locals 0 .line 817 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 818 iget-boolean p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playWhenReady:Z return p0 .end method .method public getPlaybackLooper()Landroid/os/Looper; .locals 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 471 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->getPlaybackLooper()Landroid/os/Looper; move-result-object p0 return-object p0 .end method .method public getPlaybackParameters()Landroidx/media3/common/PlaybackParameters; .locals 0 .line 957 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 958 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackParameters:Landroidx/media3/common/PlaybackParameters; return-object p0 .end method .method public getPlaybackState()I .locals 0 .line 506 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 507 iget p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I return p0 .end method .method public getPlaybackSuppressionReason()I .locals 0 .line 512 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 513 iget p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackSuppressionReason:I return p0 .end method .method public bridge synthetic getPlayerError()Landroidx/media3/common/PlaybackException; .locals 0 .line 123 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayerError()Landroidx/media3/exoplayer/ExoPlaybackException; move-result-object p0 return-object p0 .end method .method public getPlayerError()Landroidx/media3/exoplayer/ExoPlaybackException; .locals 0 .line 519 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 520 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackError:Landroidx/media3/exoplayer/ExoPlaybackException; return-object p0 .end method .method public getPlaylistMetadata()Landroidx/media3/common/MediaMetadata; .locals 0 .line 1238 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playlistMetadata:Landroidx/media3/common/MediaMetadata; return-object p0 .end method .method public getRenderer(I)Landroidx/media3/exoplayer/Renderer; .locals 0 .line 1183 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 1184 aget-object p0, p0, p1 return-object p0 .end method .method public getRendererCount()I .locals 0 .line 1171 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 1172 array-length p0, p0 return p0 .end method .method public getRendererType(I)I .locals 0 .line 1177 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->renderers:[Landroidx/media3/exoplayer/Renderer; .line 1178 aget-object p0, p0, p1 invoke-interface {p0}, Landroidx/media3/exoplayer/Renderer;->getTrackType()I move-result p0 return p0 .end method .method public getRepeatMode()I .locals 0 .line 836 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I return p0 .end method .method public getSeekBackIncrement()J .locals 2 .line 916 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-wide v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekBackIncrementMs:J return-wide v0 .end method .method public getSeekForwardIncrement()J .locals 2 .line 922 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-wide v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekForwardIncrementMs:J return-wide v0 .end method .method public getSeekParameters()Landroidx/media3/exoplayer/SeekParameters; .locals 0 .line 975 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; return-object p0 .end method .method public getShuffleModeEnabled()Z .locals 0 .line 856 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z return p0 .end method .method public getSkipSilenceEnabled()Z .locals 0 .line 1532 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z return p0 .end method .method public getSurfaceSize()Landroidx/media3/common/util/Size; .locals 0 .line 1306 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceSize:Landroidx/media3/common/util/Size; return-object p0 .end method .method public getTextComponent()Landroidx/media3/exoplayer/ExoPlayer$TextComponent; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 440 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V return-object p0 .end method .method public getTotalBufferedDuration()J .locals 2 .line 1116 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1117 iget-wide v0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->totalBufferedDurationUs:J invoke-static {v0, v1}, Landroidx/media3/common/util/Util;->usToMs(J)J move-result-wide v0 return-wide v0 .end method .method public getTrackSelectionParameters()Landroidx/media3/common/TrackSelectionParameters; .locals 0 .line 1213 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1214 invoke-virtual {p0}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->getParameters()Landroidx/media3/common/TrackSelectionParameters; move-result-object p0 return-object p0 .end method .method public getTrackSelector()Landroidx/media3/exoplayer/trackselection/TrackSelector; .locals 0 .line 1189 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; return-object p0 .end method .method public getVideoChangeFrameRateStrategy()I .locals 0 .line 1294 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoChangeFrameRateStrategy:I return p0 .end method .method public getVideoComponent()Landroidx/media3/exoplayer/ExoPlayer$VideoComponent; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 431 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V return-object p0 .end method .method public getVideoDecoderCounters()Landroidx/media3/exoplayer/DecoderCounters; .locals 0 .line 1611 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoDecoderCounters:Landroidx/media3/exoplayer/DecoderCounters; return-object p0 .end method .method public getVideoFormat()Landroidx/media3/common/Format; .locals 0 .line 1597 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoFormat:Landroidx/media3/common/Format; return-object p0 .end method .method public getVideoScalingMode()I .locals 0 .line 1276 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoScalingMode:I return p0 .end method .method public getVideoSize()Landroidx/media3/common/VideoSize; .locals 0 .line 1300 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoSize:Landroidx/media3/common/VideoSize; return-object p0 .end method .method public getVolume()F .locals 0 .line 1526 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->volume:F return p0 .end method .method public increaseDeviceVolume()V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1757 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 const/4 v0, 0x1 .line 1759 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/StreamVolumeManager;->increaseVolume(I)V :cond_0 return-void .end method .method public increaseDeviceVolume(I)V .locals 0 .line 1765 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1767 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/StreamVolumeManager;->increaseVolume(I)V :cond_0 return-void .end method .method public isDeviceMuted()Z .locals 0 .line 1723 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1725 invoke-virtual {p0}, Landroidx/media3/exoplayer/StreamVolumeManager;->isMuted()Z move-result p0 return p0 :cond_0 const/4 p0, 0x0 return p0 .end method .method public isLoading()Z .locals 0 .line 862 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 863 iget-boolean p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->isLoading:Z return p0 .end method .method public isPlayingAd()Z .locals 0 .line 1122 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1123 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {p0}, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->isAd()Z move-result p0 return p0 .end method .method public isTunnelingEnabled()Z .locals 4 .line 1813 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1815 iget-object p0, p0, Landroidx/media3/exoplayer/PlaybackInfo;->trackSelectorResult:Landroidx/media3/exoplayer/trackselection/TrackSelectorResult; iget-object p0, p0, Landroidx/media3/exoplayer/trackselection/TrackSelectorResult;->rendererConfigurations:[Landroidx/media3/exoplayer/RendererConfiguration; array-length v0, p0 const/4 v1, 0x0 move v2, v1 :goto_0 if-ge v2, v0, :cond_1 aget-object v3, p0, v2 if-eqz v3, :cond_0 .line 1816 iget-boolean v3, v3, Landroidx/media3/exoplayer/RendererConfiguration;->tunneling:Z if-eqz v3, :cond_0 const/4 p0, 0x1 return p0 :cond_0 add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_1 return v1 .end method .method synthetic lambda$new$0$androidx-media3-exoplayer-ExoPlayerImpl(Landroidx/media3/common/Player$Listener;Landroidx/media3/common/FlagSet;)V .locals 1 .line 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wrappingPlayer:Landroidx/media3/common/Player; .line 281 new-instance v0, Landroidx/media3/common/Player$Events; invoke-direct {v0, p2}, Landroidx/media3/common/Player$Events;->(Landroidx/media3/common/FlagSet;)V invoke-interface {p1, p0, v0}, Landroidx/media3/common/Player$Listener;->onEvents(Landroidx/media3/common/Player;Landroidx/media3/common/Player$Events;)V return-void .end method .method synthetic lambda$new$1$androidx-media3-exoplayer-ExoPlayerImpl(Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V .locals 0 .line 331 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->handlePlaybackInfo(Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V return-void .end method .method synthetic lambda$new$2$androidx-media3-exoplayer-ExoPlayerImpl(Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V .locals 2 .line 0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfoUpdateHandler:Landroidx/media3/common/util/HandlerWrapper; .line 331 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda15; invoke-direct {v1, p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda15;->(Landroidx/media3/exoplayer/ExoPlayerImpl;Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V invoke-interface {v0, v1}, Landroidx/media3/common/util/HandlerWrapper;->post(Ljava/lang/Runnable;)Z return-void .end method .method synthetic lambda$setPlaylistMetadata$7$androidx-media3-exoplayer-ExoPlayerImpl(Landroidx/media3/common/Player$Listener;)V .locals 0 .line 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playlistMetadata:Landroidx/media3/common/MediaMetadata; .line 1252 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onPlaylistMetadataChanged(Landroidx/media3/common/MediaMetadata;)V return-void .end method .method synthetic lambda$updateAvailableCommands$26$androidx-media3-exoplayer-ExoPlayerImpl(Landroidx/media3/common/Player$Listener;)V .locals 0 .line 0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->availableCommands:Landroidx/media3/common/Player$Commands; .line 2280 invoke-interface {p1, p0}, Landroidx/media3/common/Player$Listener;->onAvailableCommandsChanged(Landroidx/media3/common/Player$Commands;)V return-void .end method .method public moveMediaItems(III)V .locals 12 .line 699 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v2, 0x1 if-ltz p1, :cond_0 if-gt p1, p2, :cond_0 if-ltz p3, :cond_0 move v3, v2 goto :goto_0 :cond_0 const/4 v3, 0x0 .line 700 :goto_0 invoke-static {v3}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 701 invoke-interface {v3}, Ljava/util/List;->size()I move-result v3 .line 702 invoke-static {p2, v3}, Ljava/lang/Math;->min(II)I move-result v8 sub-int v0, v8, p1 sub-int v0, v3, v0 .line 703 invoke-static {p3, v0}, Ljava/lang/Math;->min(II)I move-result v9 if-ge p1, v3, :cond_2 if-eq p1, v8, :cond_2 if-ne p1, v9, :cond_1 goto :goto_1 .line 708 :cond_1 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentTimeline()Landroidx/media3/common/Timeline; move-result-object v1 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr v0, v2 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 710 invoke-static {v0, p1, v8, v9}, Landroidx/media3/common/util/Util;->moveItems(Ljava/util/List;III)V .line 711 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMaskingTimeline()Landroidx/media3/common/Timeline; move-result-object v10 iget-object v11, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 719 invoke-direct {p0, v11}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentWindowIndexInternal(Landroidx/media3/exoplayer/PlaybackInfo;)I move-result v3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 720 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getContentPositionInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v4 move-object v0, p0 move-object v2, v10 .line 716 invoke-direct/range {v0 .. v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPeriodPositionUsAfterTimelineChanged(Landroidx/media3/common/Timeline;Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v0 .line 713 invoke-direct {p0, v11, v10, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 721 invoke-virtual {v0, p1, v8, v9, v2}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->moveMediaSources(IIILandroidx/media3/exoplayer/source/ShuffleOrder;)V const/4 v2, 0x0 const/4 v3, 0x1 const/4 v4, 0x0 const/4 v5, 0x5 const-wide v7, -0x7fffffffffffffffL # -4.9E-324 const/4 v9, -0x1 const/4 v10, 0x0 move-object v0, p0 move-wide v6, v7 move v8, v9 move v9, v10 .line 722 invoke-direct/range {v0 .. v9}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V :cond_2 :goto_1 return-void .end method .method public prepare()V .locals 13 .line 525 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 526 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReady()Z move-result v0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; const/4 v2, 0x2 .line 528 invoke-virtual {v1, v0, v2}, Landroidx/media3/exoplayer/AudioFocusManager;->updateAudioFocus(ZI)I move-result v1 .line 530 invoke-static {v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReadyChangeReason(ZI)I move-result v3 .line 529 invoke-direct {p0, v0, v1, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlayWhenReady(ZII)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 531 iget v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I const/4 v1, 0x1 if-eq v0, v1, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; const/4 v3, 0x0 .line 534 invoke-virtual {v0, v3}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackError(Landroidx/media3/exoplayer/ExoPlaybackException;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 .line 537 iget-object v3, v0, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; invoke-virtual {v3}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v3 if-eqz v3, :cond_1 const/4 v2, 0x4 .line 536 :cond_1 invoke-virtual {v0, v2}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v4 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr v0, v1 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 543 invoke-virtual {v0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->prepare()V const/4 v5, 0x1 const/4 v6, 0x1 const/4 v7, 0x0 const/4 v8, 0x5 const-wide v9, -0x7fffffffffffffffL # -4.9E-324 const/4 v11, -0x1 const/4 v12, 0x0 move-object v3, p0 .line 544 invoke-direct/range {v3 .. v12}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public prepare(Landroidx/media3/exoplayer/source/MediaSource;)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 558 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 559 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSource(Landroidx/media3/exoplayer/source/MediaSource;)V .line 560 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->prepare()V return-void .end method .method public prepare(Landroidx/media3/exoplayer/source/MediaSource;ZZ)V .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 566 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 567 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSource(Landroidx/media3/exoplayer/source/MediaSource;Z)V .line 568 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->prepare()V return-void .end method .method public release()V .locals 6 .line 1004 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "Release " invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V .line 1007 invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I move-result v1 invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, " [AndroidXMedia3/1.1.1] [" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 sget-object v1, Landroidx/media3/common/util/Util;->DEVICE_DEBUG_INFO:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, "] [" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 .line 1013 invoke-static {}, Landroidx/media3/common/MediaLibraryInfo;->registeredModules()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, "]" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 const-string v1, "ExoPlayerImpl" .line 1004 invoke-static {v1, v0}, Landroidx/media3/common/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)V .line 1015 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1016 sget v0, Landroidx/media3/common/util/Util;->SDK_INT:I const/16 v1, 0x15 const/4 v2, 0x0 if-ge v0, v1, :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; if-eqz v0, :cond_0 .line 1017 invoke-virtual {v0}, Landroid/media/AudioTrack;->release()V iput-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->keepSessionIdAudioTrack:Landroid/media/AudioTrack; :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioBecomingNoisyManager:Landroidx/media3/exoplayer/AudioBecomingNoisyManager; const/4 v1, 0x0 .line 1020 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/AudioBecomingNoisyManager;->setEnabled(Z)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz v0, :cond_1 .line 1022 invoke-virtual {v0}, Landroidx/media3/exoplayer/StreamVolumeManager;->release()V :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 1024 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/WakeLockManager;->setStayAwake(Z)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 1025 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/WifiLockManager;->setStayAwake(Z)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 1026 invoke-virtual {v0}, Landroidx/media3/exoplayer/AudioFocusManager;->release()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 1027 invoke-virtual {v0}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->release()Z move-result v0 if-nez v0, :cond_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1029 new-instance v3, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda16; invoke-direct {v3}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda16;->()V const/16 v4, 0xa invoke-virtual {v0, v4, v3}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1037 invoke-virtual {v0}, Landroidx/media3/common/util/ListenerSet;->release()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfoUpdateHandler:Landroidx/media3/common/util/HandlerWrapper; .line 1038 invoke-interface {v0, v2}, Landroidx/media3/common/util/HandlerWrapper;->removeCallbacksAndMessages(Ljava/lang/Object;)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->bandwidthMeter:Landroidx/media3/exoplayer/upstream/BandwidthMeter; iget-object v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 1039 invoke-interface {v0, v3}, Landroidx/media3/exoplayer/upstream/BandwidthMeter;->removeEventListener(Landroidx/media3/exoplayer/upstream/BandwidthMeter$EventListener;)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1040 iget-boolean v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->sleepingForOffload:Z if-eqz v0, :cond_3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1041 invoke-virtual {v0}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithEstimatedPosition()Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; :cond_3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; const/4 v3, 0x1 .line 1043 invoke-virtual {v0, v3}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1044 iget-object v4, v0, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; invoke-virtual {v0, v4}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithLoadingMediaPeriodId(Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v0 iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 1045 iget-wide v4, v0, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J iput-wide v4, v0, Landroidx/media3/exoplayer/PlaybackInfo;->bufferedPositionUs:J iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; const-wide/16 v4, 0x0 .line 1046 iput-wide v4, v0, Landroidx/media3/exoplayer/PlaybackInfo;->totalBufferedDurationUs:J iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 1047 invoke-interface {v0}, Landroidx/media3/exoplayer/analytics/AnalyticsCollector;->release()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1048 invoke-virtual {v0}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->release()V .line 1049 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->ownedSurface:Landroid/view/Surface; if-eqz v0, :cond_4 .line 1051 invoke-virtual {v0}, Landroid/view/Surface;->release()V iput-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->ownedSurface:Landroid/view/Surface; :cond_4 iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z if-eqz v0, :cond_5 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; .line 1055 invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroidx/media3/common/PriorityTaskManager; invoke-virtual {v0, v1}, Landroidx/media3/common/PriorityTaskManager;->remove(I)V iput-boolean v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z .line 1058 :cond_5 sget-object v0, Landroidx/media3/common/text/CueGroup;->EMPTY_TIME_ZERO:Landroidx/media3/common/text/CueGroup; iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->currentCueGroup:Landroidx/media3/common/text/CueGroup; iput-boolean v3, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playerReleased:Z return-void .end method .method public removeAnalyticsListener(Landroidx/media3/exoplayer/analytics/AnalyticsListener;)V .locals 0 .line 1563 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 1564 invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroidx/media3/exoplayer/analytics/AnalyticsListener; invoke-interface {p0, p1}, Landroidx/media3/exoplayer/analytics/AnalyticsCollector;->removeListener(Landroidx/media3/exoplayer/analytics/AnalyticsListener;)V return-void .end method .method public removeAudioOffloadListener(Landroidx/media3/exoplayer/ExoPlayer$AudioOffloadListener;)V .locals 0 .line 494 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioOffloadListeners:Ljava/util/concurrent/CopyOnWriteArraySet; .line 495 invoke-virtual {p0, p1}, Ljava/util/concurrent/CopyOnWriteArraySet;->remove(Ljava/lang/Object;)Z return-void .end method .method public removeListener(Landroidx/media3/common/Player$Listener;)V .locals 0 .line 1680 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1681 invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Landroidx/media3/common/Player$Listener; invoke-virtual {p0, p1}, Landroidx/media3/common/util/ListenerSet;->remove(Ljava/lang/Object;)V return-void .end method .method public removeMediaItems(II)V .locals 12 .line 675 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x1 if-ltz p1, :cond_0 if-lt p2, p1, :cond_0 move v1, v0 goto :goto_0 :cond_0 const/4 v1, 0x0 .line 676 :goto_0 invoke-static {v1}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 677 invoke-interface {v1}, Ljava/util/List;->size()I move-result v1 .line 678 invoke-static {p2, v1}, Ljava/lang/Math;->min(II)I move-result p2 if-ge p1, v1, :cond_2 if-ne p1, p2, :cond_1 goto :goto_1 :cond_1 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 683 invoke-direct {p0, v1, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeMediaItemsInternal(Landroidx/media3/exoplayer/PlaybackInfo;II)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v3 .line 684 iget-object p1, v3, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p1, p1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p2, p2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 685 invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p1 xor-int/lit8 v6, p1, 0x1 const/4 v4, 0x0 const/4 v5, 0x1 const/4 v7, 0x4 .line 692 invoke-direct {p0, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v8 const/4 v10, -0x1 const/4 v11, 0x0 move-object v2, p0 .line 686 invoke-direct/range {v2 .. v11}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V :cond_2 :goto_1 return-void .end method .method public replaceMediaItems(IILjava/util/List;)V .locals 12 .annotation system Ldalvik/annotation/Signature; value = { "(II", "Ljava/util/List<", "Landroidx/media3/common/MediaItem;", ">;)V" } .end annotation .line 735 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x0 const/4 v1, 0x1 if-ltz p1, :cond_0 if-lt p2, p1, :cond_0 move v2, v1 goto :goto_0 :cond_0 move v2, v0 .line 736 :goto_0 invoke-static {v2}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 737 invoke-interface {v2}, Ljava/util/List;->size()I move-result v2 if-le p1, v2, :cond_1 return-void .line 742 :cond_1 invoke-static {p2, v2}, Ljava/lang/Math;->min(II)I move-result p2 .line 743 invoke-direct {p0, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMediaSources(Ljava/util/List;)Ljava/util/List; move-result-object p3 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; .line 744 invoke-interface {v2}, Ljava/util/List;->isEmpty()Z move-result v2 if-eqz v2, :cond_3 iget p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskingWindowIndex:I const/4 p2, -0x1 if-ne p1, p2, :cond_2 move v0, v1 .line 747 :cond_2 invoke-virtual {p0, p3, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;Z)V return-void :cond_3 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 750 invoke-direct {p0, v0, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->addMediaSourcesInternal(Landroidx/media3/exoplayer/PlaybackInfo;ILjava/util/List;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object p3 .line 751 invoke-direct {p0, p3, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeMediaItemsInternal(Landroidx/media3/exoplayer/PlaybackInfo;II)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v3 .line 752 iget-object p1, v3, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p1, p1, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-object p2, p2, Landroidx/media3/exoplayer/PlaybackInfo;->periodId:Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId; iget-object p2, p2, Landroidx/media3/exoplayer/source/MediaSource$MediaPeriodId;->periodUid:Ljava/lang/Object; .line 753 invoke-virtual {p1, p2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p1 xor-int/lit8 v6, p1, 0x1 const/4 v4, 0x0 const/4 v5, 0x1 const/4 v7, 0x4 .line 760 invoke-direct {p0, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v8 const/4 v10, -0x1 const/4 v11, 0x0 move-object v2, p0 .line 754 invoke-direct/range {v2 .. v11}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public seekTo(IJIZ)V .locals 11 move-object v0, p0 move v1, p1 .line 872 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v2, 0x1 if-ltz v1, :cond_0 move v3, v2 goto :goto_0 :cond_0 const/4 v3, 0x0 .line 873 :goto_0 invoke-static {v3}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 874 invoke-interface {v3}, Landroidx/media3/exoplayer/analytics/AnalyticsCollector;->notifySeekStarted()V iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 875 iget-object v3, v3, Landroidx/media3/exoplayer/PlaybackInfo;->timeline:Landroidx/media3/common/Timeline; .line 876 invoke-virtual {v3}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-nez v4, :cond_1 invoke-virtual {v3}, Landroidx/media3/common/Timeline;->getWindowCount()I move-result v4 if-lt v1, v4, :cond_1 return-void :cond_1 iget v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr v4, v2 iput v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I .line 880 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPlayingAd()Z move-result v4 if-eqz v4, :cond_2 const-string v1, "ExoPlayerImpl" const-string v3, "seekTo ignored because an ad is playing" .line 884 invoke-static {v1, v3}, Landroidx/media3/common/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)V .line 885 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate; iget-object v3, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; invoke-direct {v1, v3}, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->(Landroidx/media3/exoplayer/PlaybackInfo;)V .line 887 invoke-virtual {v1, v2}, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;->incrementPendingOperationAcks(I)V iget-object v0, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfoUpdateListener:Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdateListener; .line 888 invoke-interface {v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdateListener;->onPlaybackInfoUpdate(Landroidx/media3/exoplayer/ExoPlayerImplInternal$PlaybackInfoUpdate;)V return-void :cond_2 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 892 iget v4, v2, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I const/4 v5, 0x3 if-eq v4, v5, :cond_3 iget-object v4, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget v4, v4, Landroidx/media3/exoplayer/PlaybackInfo;->playbackState:I const/4 v5, 0x4 if-ne v4, v5, :cond_4 .line 893 invoke-virtual {v3}, Landroidx/media3/common/Timeline;->isEmpty()Z move-result v4 if-nez v4, :cond_4 :cond_3 iget-object v2, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; const/4 v4, 0x2 .line 894 invoke-virtual {v2, v4}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackState(I)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 .line 896 :cond_4 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentMediaItemIndex()I move-result v8 move-wide v4, p2 .line 901 invoke-direct {p0, v3, p1, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v6 .line 898 invoke-direct {p0, v2, v3, v6}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 iget-object v6, v0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 902 invoke-static {p2, p3}, Landroidx/media3/common/util/Util;->msToUs(J)J move-result-wide v4 invoke-virtual {v6, v3, p1, v4, v5}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->seekTo(Landroidx/media3/common/Timeline;IJ)V const/4 v3, 0x0 const/4 v4, 0x1 const/4 v5, 0x1 const/4 v6, 0x1 .line 909 invoke-direct {p0, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPositionUsInternal(Landroidx/media3/exoplayer/PlaybackInfo;)J move-result-wide v9 move-object v0, p0 move-object v1, v2 move v2, v3 move v3, v4 move v4, v5 move v5, v6 move-wide v6, v9 move/from16 v9, p5 .line 903 invoke-direct/range {v0 .. v9}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public setAudioAttributes(Landroidx/media3/common/AudioAttributes;Z)V .locals 3 .line 1428 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playerReleased:Z if-eqz v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; .line 1432 invoke-static {v0, p1}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_2 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioAttributes:Landroidx/media3/common/AudioAttributes; const/4 v0, 0x1 const/4 v1, 0x3 .line 1434 invoke-direct {p0, v0, v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz v0, :cond_1 .line 1436 iget v1, p1, Landroidx/media3/common/AudioAttributes;->usage:I .line 1437 invoke-static {v1}, Landroidx/media3/common/util/Util;->getStreamTypeForAudioUsage(I)I move-result v1 .line 1436 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/StreamVolumeManager;->setStreamType(I)V :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1440 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda9; invoke-direct {v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda9;->(Landroidx/media3/common/AudioAttributes;)V const/16 v2, 0x14 invoke-virtual {v0, v2, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_2 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; if-eqz p2, :cond_3 move-object p2, p1 goto :goto_0 :cond_3 const/4 p2, 0x0 .line 1445 :goto_0 invoke-virtual {v0, p2}, Landroidx/media3/exoplayer/AudioFocusManager;->setAudioAttributes(Landroidx/media3/common/AudioAttributes;)V iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1446 invoke-virtual {p2, p1}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->setAudioAttributes(Landroidx/media3/common/AudioAttributes;)V .line 1447 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReady()Z move-result p1 iget-object p2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 1449 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlaybackState()I move-result v0 invoke-virtual {p2, p1, v0}, Landroidx/media3/exoplayer/AudioFocusManager;->updateAudioFocus(ZI)I move-result p2 .line 1451 invoke-static {p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReadyChangeReason(ZI)I move-result v0 .line 1450 invoke-direct {p0, p1, p2, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlayWhenReady(ZII)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1452 invoke-virtual {p0}, Landroidx/media3/common/util/ListenerSet;->flushEvents()V return-void .end method .method public setAudioSessionId(I)V .locals 4 .line 1463 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I if-ne v0, p1, :cond_0 return-void :cond_0 const/16 v0, 0x15 if-nez p1, :cond_2 .line 1468 sget p1, Landroidx/media3/common/util/Util;->SDK_INT:I if-ge p1, v0, :cond_1 const/4 p1, 0x0 .line 1469 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->initializeKeepSessionIdAudioTrack(I)I move-result p1 goto :goto_0 :cond_1 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->applicationContext:Landroid/content/Context; .line 1471 invoke-static {p1}, Landroidx/media3/common/util/Util;->generateAudioSessionIdV21(Landroid/content/Context;)I move-result p1 goto :goto_0 .line 1473 :cond_2 sget v1, Landroidx/media3/common/util/Util;->SDK_INT:I if-ge v1, v0, :cond_3 .line 1476 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->initializeKeepSessionIdAudioTrack(I)I :cond_3 :goto_0 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioSessionId:I const/4 v1, 0x1 .line 1479 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v2 const/16 v3, 0xa invoke-direct {p0, v1, v3, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V const/4 v1, 0x2 .line 1480 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v2 invoke-direct {p0, v1, v3, v2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1482 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda0; invoke-direct {v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda0;->(I)V invoke-virtual {p0, v0, v1}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V return-void .end method .method public setAuxEffectInfo(Landroidx/media3/common/AuxEffectInfo;)V .locals 2 .line 1494 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x1 const/4 v1, 0x6 .line 1495 invoke-direct {p0, v0, v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method public setCameraMotionListener(Landroidx/media3/exoplayer/video/spherical/CameraMotionListener;)V .locals 1 .line 1646 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->cameraMotionListener:Landroidx/media3/exoplayer/video/spherical/CameraMotionListener; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 1648 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/16 v0, 0x8 .line 1649 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1650 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1651 invoke-virtual {p0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; return-void .end method .method public setDeviceMuted(Z)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1797 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 const/4 v0, 0x1 .line 1799 invoke-virtual {p0, p1, v0}, Landroidx/media3/exoplayer/StreamVolumeManager;->setMuted(ZI)V :cond_0 return-void .end method .method public setDeviceMuted(ZI)V .locals 0 .line 1805 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1807 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/StreamVolumeManager;->setMuted(ZI)V :cond_0 return-void .end method .method public setDeviceVolume(I)V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1737 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 const/4 v0, 0x1 .line 1739 invoke-virtual {p0, p1, v0}, Landroidx/media3/exoplayer/StreamVolumeManager;->setVolume(II)V :cond_0 return-void .end method .method public setDeviceVolume(II)V .locals 0 .line 1745 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->streamVolumeManager:Landroidx/media3/exoplayer/StreamVolumeManager; if-eqz p0, :cond_0 .line 1747 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/StreamVolumeManager;->setVolume(II)V :cond_0 return-void .end method .method public setForegroundMode(Z)V .locals 1 .line 981 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->foregroundMode:Z if-eq v0, p1, :cond_0 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->foregroundMode:Z iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 984 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setForegroundMode(Z)Z move-result p1 if-nez p1, :cond_0 .line 986 new-instance p1, Landroidx/media3/exoplayer/ExoTimeoutException; const/4 v0, 0x2 invoke-direct {p1, v0}, Landroidx/media3/exoplayer/ExoTimeoutException;->(I)V const/16 v0, 0x3eb .line 987 invoke-static {p1, v0}, Landroidx/media3/exoplayer/ExoPlaybackException;->createForUnexpected(Ljava/lang/RuntimeException;I)Landroidx/media3/exoplayer/ExoPlaybackException; move-result-object p1 .line 986 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->stopInternal(Landroidx/media3/exoplayer/ExoPlaybackException;)V :cond_0 return-void .end method .method public setHandleAudioBecomingNoisy(Z)V .locals 1 .line 1569 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playerReleased:Z if-eqz v0, :cond_0 return-void :cond_0 iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioBecomingNoisyManager:Landroidx/media3/exoplayer/AudioBecomingNoisyManager; .line 1573 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/AudioBecomingNoisyManager;->setEnabled(Z)V return-void .end method .method public setMediaItems(Ljava/util/List;IJ)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/common/MediaItem;", ">;IJ)V" } .end annotation .line 579 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 580 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMediaSources(Ljava/util/List;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;IJ)V return-void .end method .method public setMediaItems(Ljava/util/List;Z)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/common/MediaItem;", ">;Z)V" } .end annotation .line 573 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 574 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMediaSources(Ljava/util/List;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;Z)V return-void .end method .method public setMediaSource(Landroidx/media3/exoplayer/source/MediaSource;)V .locals 0 .line 585 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 586 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;)V return-void .end method .method public setMediaSource(Landroidx/media3/exoplayer/source/MediaSource;J)V .locals 1 .line 591 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 593 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 const/4 v0, 0x0 .line 592 invoke-virtual {p0, p1, v0, p2, p3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;IJ)V return-void .end method .method public setMediaSource(Landroidx/media3/exoplayer/source/MediaSource;Z)V .locals 0 .line 598 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 599 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1, p2}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;Z)V return-void .end method .method public setMediaSources(Ljava/util/List;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;)V" } .end annotation .line 604 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x1 .line 605 invoke-virtual {p0, p1, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSources(Ljava/util/List;Z)V return-void .end method .method public setMediaSources(Ljava/util/List;IJ)V .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;IJ)V" } .end annotation .line 621 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v5, 0x0 move-object v0, p0 move-object v1, p1 move v2, p2 move-wide v3, p3 .line 622 invoke-direct/range {v0 .. v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSourcesInternal(Ljava/util/List;IJZ)V return-void .end method .method public setMediaSources(Ljava/util/List;Z)V .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/exoplayer/source/MediaSource;", ">;Z)V" } .end annotation .line 610 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v2, -0x1 const-wide v3, -0x7fffffffffffffffL # -4.9E-324 move-object v0, p0 move-object v1, p1 move v5, p2 .line 611 invoke-direct/range {v0 .. v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setMediaSourcesInternal(Ljava/util/List;IJZ)V return-void .end method .method public setPauseAtEndOfMediaItems(Z)V .locals 1 .line 792 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pauseAtEndOfMediaItems:Z if-ne v0, p1, :cond_0 return-void :cond_0 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pauseAtEndOfMediaItems:Z iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 797 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setPauseAtEndOfWindow(Z)V return-void .end method .method public setPlayWhenReady(Z)V .locals 2 .line 808 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 810 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlaybackState()I move-result v1 invoke-virtual {v0, p1, v1}, Landroidx/media3/exoplayer/AudioFocusManager;->updateAudioFocus(ZI)I move-result v0 .line 812 invoke-static {p1, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReadyChangeReason(ZI)I move-result v1 .line 811 invoke-direct {p0, p1, v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlayWhenReady(ZII)V return-void .end method .method public setPlaybackParameters(Landroidx/media3/common/PlaybackParameters;)V .locals 11 .line 934 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-nez p1, :cond_0 .line 936 sget-object p1, Landroidx/media3/common/PlaybackParameters;->DEFAULT:Landroidx/media3/common/PlaybackParameters; :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 938 iget-object v0, v0, Landroidx/media3/exoplayer/PlaybackInfo;->playbackParameters:Landroidx/media3/common/PlaybackParameters; invoke-virtual {v0, p1}, Landroidx/media3/common/PlaybackParameters;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 return-void :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 941 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/PlaybackInfo;->copyWithPlaybackParameters(Landroidx/media3/common/PlaybackParameters;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v2 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 943 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setPlaybackParameters(Landroidx/media3/common/PlaybackParameters;)V const/4 v3, 0x0 const/4 v4, 0x1 const/4 v5, 0x0 const/4 v6, 0x5 const-wide v7, -0x7fffffffffffffffL # -4.9E-324 const/4 v9, -0x1 const/4 v10, 0x0 move-object v1, p0 .line 944 invoke-direct/range {v1 .. v10}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public setPlaylistMetadata(Landroidx/media3/common/MediaMetadata;)V .locals 1 .line 1244 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1245 invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playlistMetadata:Landroidx/media3/common/MediaMetadata; .line 1246 invoke-virtual {p1, v0}, Landroidx/media3/common/MediaMetadata;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 return-void :cond_0 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playlistMetadata:Landroidx/media3/common/MediaMetadata; iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1250 new-instance v0, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda10; invoke-direct {v0, p0}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda10;->(Landroidx/media3/exoplayer/ExoPlayerImpl;)V const/16 p0, 0xf invoke-virtual {p1, p0, v0}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V return-void .end method .method public setPreferredAudioDevice(Landroid/media/AudioDeviceInfo;)V .locals 2 .line 1507 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x1 const/16 v1, 0xc .line 1508 invoke-direct {p0, v0, v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method public setPriorityTaskManager(Landroidx/media3/common/PriorityTaskManager;)V .locals 2 .line 1578 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; .line 1579 invoke-static {v0, p1}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 return-void :cond_0 iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z const/4 v1, 0x0 if-eqz v0, :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; .line 1583 invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroidx/media3/common/PriorityTaskManager; invoke-virtual {v0, v1}, Landroidx/media3/common/PriorityTaskManager;->remove(I)V :cond_1 if-eqz p1, :cond_2 .line 1585 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->isLoading()Z move-result v0 if-eqz v0, :cond_2 .line 1586 invoke-virtual {p1, v1}, Landroidx/media3/common/PriorityTaskManager;->add(I)V const/4 v0, 0x1 iput-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z goto :goto_0 :cond_2 iput-boolean v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->isPriorityTaskManagerRegistered:Z :goto_0 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->priorityTaskManager:Landroidx/media3/common/PriorityTaskManager; return-void .end method .method public setRepeatMode(I)V .locals 2 .line 823 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I if-eq v0, p1, :cond_0 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->repeatMode:I iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 826 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setRepeatMode(I)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 827 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda14; invoke-direct {v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda14;->(I)V const/16 p1, 0x8 invoke-virtual {v0, p1, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 829 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updateAvailableCommands()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 830 invoke-virtual {p0}, Landroidx/media3/common/util/ListenerSet;->flushEvents()V :cond_0 return-void .end method .method public setSeekParameters(Landroidx/media3/exoplayer/SeekParameters;)V .locals 1 .line 963 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-nez p1, :cond_0 .line 965 sget-object p1, Landroidx/media3/exoplayer/SeekParameters;->DEFAULT:Landroidx/media3/exoplayer/SeekParameters; :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; .line 967 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/SeekParameters;->equals(Ljava/lang/Object;)Z move-result v0 if-nez v0, :cond_1 iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->seekParameters:Landroidx/media3/exoplayer/SeekParameters; iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 969 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setSeekParameters(Landroidx/media3/exoplayer/SeekParameters;)V :cond_1 return-void .end method .method public setShuffleModeEnabled(Z)V .locals 2 .line 842 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z if-eq v0, p1, :cond_0 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleModeEnabled:Z iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 845 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setShuffleModeEnabled(Z)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 846 new-instance v1, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda17; invoke-direct {v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda17;->(Z)V const/16 p1, 0x9 invoke-virtual {v0, p1, v1}, Landroidx/media3/common/util/ListenerSet;->queueEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V .line 849 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updateAvailableCommands()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 850 invoke-virtual {p0}, Landroidx/media3/common/util/ListenerSet;->flushEvents()V :cond_0 return-void .end method .method public setShuffleOrder(Landroidx/media3/exoplayer/source/ShuffleOrder;)V .locals 14 .line 767 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 768 invoke-interface {p1}, Landroidx/media3/exoplayer/source/ShuffleOrder;->getLength()I move-result v0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->mediaSourceHolderSnapshots:Ljava/util/List; invoke-interface {v1}, Ljava/util/List;->size()I move-result v1 const/4 v2, 0x1 if-ne v0, v1, :cond_0 move v0, v2 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->shuffleOrder:Landroidx/media3/exoplayer/source/ShuffleOrder; .line 770 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMaskingTimeline()Landroidx/media3/common/Timeline; move-result-object v0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; .line 776 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentMediaItemIndex()I move-result v3 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getCurrentPosition()J move-result-wide v4 .line 775 invoke-direct {p0, v0, v3, v4, v5}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskWindowPositionMsOrGetPeriodPositionUs(Landroidx/media3/common/Timeline;IJ)Landroid/util/Pair; move-result-object v3 .line 772 invoke-direct {p0, v1, v0, v3}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maskTimelineAndPosition(Landroidx/media3/exoplayer/PlaybackInfo;Landroidx/media3/common/Timeline;Landroid/util/Pair;)Landroidx/media3/exoplayer/PlaybackInfo; move-result-object v5 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I add-int/2addr v0, v2 iput v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->pendingOperationAcks:I iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->internalPlayer:Landroidx/media3/exoplayer/ExoPlayerImplInternal; .line 778 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImplInternal;->setShuffleOrder(Landroidx/media3/exoplayer/source/ShuffleOrder;)V const/4 v6, 0x0 const/4 v7, 0x1 const/4 v8, 0x0 const/4 v9, 0x5 const-wide v10, -0x7fffffffffffffffL # -4.9E-324 const/4 v12, -0x1 const/4 v13, 0x0 move-object v4, p0 .line 779 invoke-direct/range {v4 .. v13}, Landroidx/media3/exoplayer/ExoPlayerImpl;->updatePlaybackInfo(Landroidx/media3/exoplayer/PlaybackInfo;IIZIJIZ)V return-void .end method .method public setSkipSilenceEnabled(Z)V .locals 3 .line 1538 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z if-ne v0, p1, :cond_0 return-void :cond_0 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->skipSilenceEnabled:Z const/16 v0, 0x9 .line 1543 invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object v1 const/4 v2, 0x1 invoke-direct {p0, v2, v0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1544 new-instance v0, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda20; invoke-direct {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda20;->(Z)V const/16 p1, 0x17 invoke-virtual {p0, p1, v0}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V return-void .end method .method setThrowsWhenUsingWrongThread(Z)V .locals 1 iput-boolean p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->throwsWhenUsingWrongThread:Z iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1826 invoke-virtual {v0, p1}, Landroidx/media3/common/util/ListenerSet;->setThrowsWhenUsingWrongThread(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->analyticsCollector:Landroidx/media3/exoplayer/analytics/AnalyticsCollector; .line 1827 instance-of v0, p0, Landroidx/media3/exoplayer/analytics/DefaultAnalyticsCollector; if-eqz v0, :cond_0 .line 1828 check-cast p0, Landroidx/media3/exoplayer/analytics/DefaultAnalyticsCollector; .line 1829 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/analytics/DefaultAnalyticsCollector;->setThrowsWhenUsingWrongThread(Z)V :cond_0 return-void .end method .method public setTrackSelectionParameters(Landroidx/media3/common/TrackSelectionParameters;)V .locals 1 .line 1219 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1220 invoke-virtual {v0}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->isSetParametersSupported()Z move-result v0 if-eqz v0, :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1221 invoke-virtual {v0}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->getParameters()Landroidx/media3/common/TrackSelectionParameters; move-result-object v0 invoke-virtual {p1, v0}, Landroidx/media3/common/TrackSelectionParameters;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->trackSelector:Landroidx/media3/exoplayer/trackselection/TrackSelector; .line 1224 invoke-virtual {v0, p1}, Landroidx/media3/exoplayer/trackselection/TrackSelector;->setParameters(Landroidx/media3/common/TrackSelectionParameters;)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1225 new-instance v0, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda11; invoke-direct {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda11;->(Landroidx/media3/common/TrackSelectionParameters;)V const/16 p1, 0x13 invoke-virtual {p0, p1, v0}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V :cond_1 :goto_0 return-void .end method .method public setVideoChangeFrameRateStrategy(I)V .locals 2 .line 1283 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoChangeFrameRateStrategy:I if-ne v0, p1, :cond_0 return-void :cond_0 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoChangeFrameRateStrategy:I const/4 v0, 0x5 .line 1289 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 const/4 v1, 0x2 .line 1288 invoke-direct {p0, v1, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method public setVideoEffects(Ljava/util/List;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/media3/common/Effect;", ">;)V" } .end annotation .line 1263 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x2 const/16 v1, 0xd .line 1264 invoke-direct {p0, v0, v1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method public setVideoFrameMetadataListener(Landroidx/media3/exoplayer/video/VideoFrameMetadataListener;)V .locals 1 .line 1624 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoFrameMetadataListener:Landroidx/media3/exoplayer/video/VideoFrameMetadataListener; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 1626 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 const/4 v0, 0x7 .line 1627 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1628 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object p0 .line 1629 invoke-virtual {p0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; return-void .end method .method public setVideoScalingMode(I)V .locals 2 .line 1269 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->videoScalingMode:I const/4 v0, 0x4 .line 1271 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 const/4 v1, 0x2 invoke-direct {p0, v1, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendRendererMessage(IILjava/lang/Object;)V return-void .end method .method public setVideoSurface(Landroid/view/Surface;)V .locals 0 .line 1328 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1329 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V .line 1330 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V if-nez p1, :cond_0 const/4 p1, 0x0 goto :goto_0 :cond_0 const/4 p1, -0x1 .line 1332 :goto_0 invoke-direct {p0, p1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V return-void .end method .method public setVideoSurfaceHolder(Landroid/view/SurfaceHolder;)V .locals 2 .line 1337 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-nez p1, :cond_0 .line 1339 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurface()V goto :goto_0 .line 1341 :cond_0 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V const/4 v0, 0x1 iput-boolean v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolderSurfaceIsVideoOutput:Z iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->surfaceHolder:Landroid/view/SurfaceHolder; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 1344 invoke-interface {p1, v0}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V .line 1345 invoke-interface {p1}, Landroid/view/SurfaceHolder;->getSurface()Landroid/view/Surface; move-result-object v0 if-eqz v0, :cond_1 .line 1346 invoke-virtual {v0}, Landroid/view/Surface;->isValid()Z move-result v1 if-eqz v1, :cond_1 .line 1347 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V .line 1348 invoke-interface {p1}, Landroid/view/SurfaceHolder;->getSurfaceFrame()Landroid/graphics/Rect; move-result-object p1 .line 1349 invoke-virtual {p1}, Landroid/graphics/Rect;->width()I move-result v0 invoke-virtual {p1}, Landroid/graphics/Rect;->height()I move-result p1 invoke-direct {p0, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V goto :goto_0 :cond_1 const/4 p1, 0x0 .line 1351 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V const/4 p1, 0x0 .line 1352 invoke-direct {p0, p1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V :goto_0 return-void .end method .method public setVideoSurfaceView(Landroid/view/SurfaceView;)V .locals 2 .line 1367 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V .line 1368 instance-of v0, p1, Landroidx/media3/exoplayer/video/VideoDecoderOutputBufferRenderer; if-eqz v0, :cond_0 .line 1369 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V .line 1370 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V .line 1371 invoke-virtual {p1}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder; move-result-object p1 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setNonVideoOutputSurfaceHolderInternal(Landroid/view/SurfaceHolder;)V goto :goto_1 .line 1372 :cond_0 instance-of v0, p1, Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; if-eqz v0, :cond_1 .line 1373 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V .line 1374 move-object v0, p1 check-cast v0, Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->frameMetadataListener:Landroidx/media3/exoplayer/ExoPlayerImpl$FrameMetadataListener; .line 1375 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->createMessageInternal(Landroidx/media3/exoplayer/PlayerMessage$Target;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 const/16 v1, 0x2710 .line 1376 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlayerMessage;->setType(I)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; .line 1377 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/PlayerMessage;->setPayload(Ljava/lang/Object;)Landroidx/media3/exoplayer/PlayerMessage; move-result-object v0 .line 1378 invoke-virtual {v0}, Landroidx/media3/exoplayer/PlayerMessage;->send()Landroidx/media3/exoplayer/PlayerMessage; iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; iget-object v1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 1379 invoke-virtual {v0, v1}, Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView;->addVideoSurfaceListener(Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView$VideoSurfaceListener;)V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->sphericalGLSurfaceView:Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView; .line 1380 invoke-virtual {v0}, Landroidx/media3/exoplayer/video/spherical/SphericalGLSurfaceView;->getVideoSurface()Landroid/view/Surface; move-result-object v0 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V .line 1381 invoke-virtual {p1}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder; move-result-object p1 invoke-direct {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setNonVideoOutputSurfaceHolderInternal(Landroid/view/SurfaceHolder;)V goto :goto_1 :cond_1 if-nez p1, :cond_2 const/4 p1, 0x0 goto :goto_0 .line 1383 :cond_2 invoke-virtual {p1}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder; move-result-object p1 :goto_0 invoke-virtual {p0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoSurfaceHolder(Landroid/view/SurfaceHolder;)V :goto_1 return-void .end method .method public setVideoTextureView(Landroid/view/TextureView;)V .locals 2 .line 1395 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V if-nez p1, :cond_0 .line 1397 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->clearVideoSurface()V goto :goto_1 .line 1399 :cond_0 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->removeSurfaceCallbacks()V iput-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->textureView:Landroid/view/TextureView; .line 1401 invoke-virtual {p1}, Landroid/view/TextureView;->getSurfaceTextureListener()Landroid/view/TextureView$SurfaceTextureListener; move-result-object v0 if-eqz v0, :cond_1 const-string v0, "ExoPlayerImpl" const-string v1, "Replacing existing SurfaceTextureListener." .line 1402 invoke-static {v0, v1}, Landroidx/media3/common/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)V :cond_1 iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->componentListener:Landroidx/media3/exoplayer/ExoPlayerImpl$ComponentListener; .line 1404 invoke-virtual {p1, v0}, Landroid/view/TextureView;->setSurfaceTextureListener(Landroid/view/TextureView$SurfaceTextureListener;)V .line 1407 invoke-virtual {p1}, Landroid/view/TextureView;->isAvailable()Z move-result v0 const/4 v1, 0x0 if-eqz v0, :cond_2 invoke-virtual {p1}, Landroid/view/TextureView;->getSurfaceTexture()Landroid/graphics/SurfaceTexture; move-result-object v0 goto :goto_0 :cond_2 move-object v0, v1 :goto_0 if-nez v0, :cond_3 .line 1409 invoke-direct {p0, v1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setVideoOutputInternal(Ljava/lang/Object;)V const/4 p1, 0x0 .line 1410 invoke-direct {p0, p1, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V goto :goto_1 .line 1412 :cond_3 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->setSurfaceTextureInternal(Landroid/graphics/SurfaceTexture;)V .line 1413 invoke-virtual {p1}, Landroid/view/TextureView;->getWidth()I move-result v0 invoke-virtual {p1}, Landroid/view/TextureView;->getHeight()I move-result p1 invoke-direct {p0, v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl;->maybeNotifySurfaceSizeChanged(II)V :goto_1 return-void .end method .method public setVolume(F)V .locals 2 .line 1513 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x0 const/high16 v1, 0x3f800000 # 1.0f .line 1514 invoke-static {p1, v0, v1}, Landroidx/media3/common/util/Util;->constrainValue(FFF)F move-result p1 iget v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->volume:F cmpl-float v0, v0, p1 if-nez v0, :cond_0 return-void :cond_0 iput p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->volume:F .line 1519 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->sendVolumeToRenderers()V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->listeners:Landroidx/media3/common/util/ListenerSet; .line 1521 new-instance v0, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda19; invoke-direct {v0, p1}, Landroidx/media3/exoplayer/ExoPlayerImpl$$ExternalSyntheticLambda19;->(F)V const/16 p1, 0x16 invoke-virtual {p0, p1, v0}, Landroidx/media3/common/util/ListenerSet;->sendEvent(ILandroidx/media3/common/util/ListenerSet$Event;)V return-void .end method .method public setWakeMode(I)V .locals 2 .line 1686 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V const/4 v0, 0x0 if-eqz p1, :cond_2 const/4 v1, 0x1 if-eq p1, v1, :cond_1 const/4 v0, 0x2 if-eq p1, v0, :cond_0 goto :goto_0 :cond_0 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 1697 invoke-virtual {p1, v1}, Landroidx/media3/exoplayer/WakeLockManager;->setEnabled(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 1698 invoke-virtual {p0, v1}, Landroidx/media3/exoplayer/WifiLockManager;->setEnabled(Z)V goto :goto_0 :cond_1 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 1693 invoke-virtual {p1, v1}, Landroidx/media3/exoplayer/WakeLockManager;->setEnabled(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 1694 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/WifiLockManager;->setEnabled(Z)V goto :goto_0 :cond_2 iget-object p1, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wakeLockManager:Landroidx/media3/exoplayer/WakeLockManager; .line 1689 invoke-virtual {p1, v0}, Landroidx/media3/exoplayer/WakeLockManager;->setEnabled(Z)V iget-object p0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->wifiLockManager:Landroidx/media3/exoplayer/WifiLockManager; .line 1690 invoke-virtual {p0, v0}, Landroidx/media3/exoplayer/WifiLockManager;->setEnabled(Z)V :goto_0 return-void .end method .method public stop()V .locals 4 .line 996 invoke-direct {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->verifyApplicationThread()V iget-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->audioFocusManager:Landroidx/media3/exoplayer/AudioFocusManager; .line 997 invoke-virtual {p0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->getPlayWhenReady()Z move-result v1 const/4 v2, 0x1 invoke-virtual {v0, v1, v2}, Landroidx/media3/exoplayer/AudioFocusManager;->updateAudioFocus(ZI)I const/4 v0, 0x0 .line 998 invoke-direct {p0, v0}, Landroidx/media3/exoplayer/ExoPlayerImpl;->stopInternal(Landroidx/media3/exoplayer/ExoPlaybackException;)V .line 999 new-instance v0, Landroidx/media3/common/text/CueGroup; invoke-static {}, Lcom/google/common/collect/ImmutableList;->of()Lcom/google/common/collect/ImmutableList; move-result-object v1 iget-object v2, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->playbackInfo:Landroidx/media3/exoplayer/PlaybackInfo; iget-wide v2, v2, Landroidx/media3/exoplayer/PlaybackInfo;->positionUs:J invoke-direct {v0, v1, v2, v3}, Landroidx/media3/common/text/CueGroup;->(Ljava/util/List;J)V iput-object v0, p0, Landroidx/media3/exoplayer/ExoPlayerImpl;->currentCueGroup:Landroidx/media3/common/text/CueGroup; return-void .end method