Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/SimpleBasePlayer$MediaItemData.smali
2024-05-21 17:08:36 -04:00

1184 lines
35 KiB
Smali

.class public final Landroidx/media3/common/SimpleBasePlayer$MediaItemData;
.super Ljava/lang/Object;
.source "SimpleBasePlayer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/common/SimpleBasePlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1c
name = "MediaItemData"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;
}
.end annotation
# instance fields
.field private final combinedMediaMetadata:Landroidx/media3/common/MediaMetadata;
.field public final defaultPositionUs:J
.field public final durationUs:J
.field public final elapsedRealtimeEpochOffsetMs:J
.field public final isDynamic:Z
.field public final isPlaceholder:Z
.field public final isSeekable:Z
.field public final liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
.field public final manifest:Ljava/lang/Object;
.field public final mediaItem:Landroidx/media3/common/MediaItem;
.field public final mediaMetadata:Landroidx/media3/common/MediaMetadata;
.field private final periodPositionInWindowUs:[J
.field public final periods:Lcom/google/common/collect/ImmutableList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/ImmutableList<",
"Landroidx/media3/common/SimpleBasePlayer$PeriodData;",
">;"
}
.end annotation
.end field
.field public final positionInFirstPeriodUs:J
.field public final presentationStartTimeMs:J
.field public final tracks:Landroidx/media3/common/Tracks;
.field public final uid:Ljava/lang/Object;
.field public final windowStartTimeMs:J
# direct methods
.method private constructor <init>(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)V
.locals 9
.line 1589
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 1590
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4700(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Landroidx/media3/common/MediaItem$LiveConfiguration;
move-result-object v0
const-wide v1, -0x7fffffffffffffffL # -4.9E-324
const/4 v3, 0x1
const/4 v4, 0x0
if-nez v0, :cond_3
.line 1592
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4800(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v0, v5, v1
if-nez v0, :cond_0
move v0, v3
goto :goto_0
:cond_0
move v0, v4
:goto_0
const-string v5, "presentationStartTimeMs can only be set if liveConfiguration != null"
.line 1591
invoke-static {v0, v5}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
.line 1595
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4900(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v0, v5, v1
if-nez v0, :cond_1
move v0, v3
goto :goto_1
:cond_1
move v0, v4
:goto_1
const-string v5, "windowStartTimeMs can only be set if liveConfiguration != null"
.line 1594
invoke-static {v0, v5}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
.line 1598
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5000(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v0, v5, v1
if-nez v0, :cond_2
move v0, v3
goto :goto_2
:cond_2
move v0, v4
:goto_2
const-string v5, "elapsedRealtimeEpochOffsetMs can only be set if liveConfiguration != null"
.line 1597
invoke-static {v0, v5}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
goto :goto_4
.line 1600
:cond_3
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4800(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v0, v5, v1
if-eqz v0, :cond_5
.line 1601
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4900(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v0, v5, v1
if-eqz v0, :cond_5
.line 1603
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4900(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4800(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v7
cmp-long v0, v5, v7
if-ltz v0, :cond_4
move v0, v3
goto :goto_3
:cond_4
move v0, v4
:goto_3
const-string v5, "windowStartTimeMs can\'t be less than presentationStartTimeMs"
.line 1602
invoke-static {v0, v5}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
.line 1606
:cond_5
:goto_4
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5100(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Lcom/google/common/collect/ImmutableList;
move-result-object v0
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I
move-result v0
.line 1607
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5200(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v1, v5, v1
if-eqz v1, :cond_7
.line 1609
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5300(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5200(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v5
cmp-long v1, v1, v5
if-gtz v1, :cond_6
move v1, v3
goto :goto_5
:cond_6
move v1, v4
:goto_5
const-string v2, "defaultPositionUs can\'t be greater than durationUs"
.line 1608
invoke-static {v1, v2}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
.line 1612
:cond_7
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5400(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Ljava/lang/Object;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
.line 1613
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5500(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Landroidx/media3/common/Tracks;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->tracks:Landroidx/media3/common/Tracks;
.line 1614
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5600(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Landroidx/media3/common/MediaItem;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
.line 1615
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5700(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Landroidx/media3/common/MediaMetadata;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
.line 1616
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5800(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Ljava/lang/Object;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->manifest:Ljava/lang/Object;
.line 1617
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4700(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Landroidx/media3/common/MediaItem$LiveConfiguration;
move-result-object v1
iput-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
.line 1618
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4800(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->presentationStartTimeMs:J
.line 1619
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$4900(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->windowStartTimeMs:J
.line 1620
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5000(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->elapsedRealtimeEpochOffsetMs:J
.line 1621
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5900(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Z
move-result v1
iput-boolean v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isSeekable:Z
.line 1622
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$6000(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Z
move-result v1
iput-boolean v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isDynamic:Z
.line 1623
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5300(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->defaultPositionUs:J
.line 1624
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5200(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
.line 1625
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$6100(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)J
move-result-wide v1
iput-wide v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
.line 1626
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$6200(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Z
move-result v5
iput-boolean v5, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
.line 1627
invoke-static {p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;->access$5100(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)Lcom/google/common/collect/ImmutableList;
move-result-object p1
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1628
invoke-virtual {p1}, Lcom/google/common/collect/ImmutableList;->size()I
move-result v5
new-array v5, v5, [J
iput-object v5, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periodPositionInWindowUs:[J
.line 1629
invoke-virtual {p1}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z
move-result p1
if-nez p1, :cond_8
neg-long v1, v1
.line 1630
aput-wide v1, v5, v4
:goto_6
add-int/lit8 p1, v0, -0x1
if-ge v4, p1, :cond_8
iget-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periodPositionInWindowUs:[J
add-int/lit8 v1, v4, 0x1
.line 1632
aget-wide v5, p1, v4
iget-object v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
invoke-virtual {v2, v4}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/media3/common/SimpleBasePlayer$PeriodData;
iget-wide v7, v2, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->durationUs:J
add-long/2addr v5, v7
aput-wide v5, p1, v1
move v4, v1
goto :goto_6
:cond_8
iget-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
if-eqz p1, :cond_9
goto :goto_7
:cond_9
iget-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->tracks:Landroidx/media3/common/Tracks;
.line 1636
invoke-static {p1, v0}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->getCombinedMediaMetadata(Landroidx/media3/common/MediaItem;Landroidx/media3/common/Tracks;)Landroidx/media3/common/MediaMetadata;
move-result-object p1
:goto_7
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->combinedMediaMetadata:Landroidx/media3/common/MediaMetadata;
return-void
.end method
.method synthetic constructor <init>(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;Landroidx/media3/common/SimpleBasePlayer$1;)V
.locals 0
.line 1202
invoke-direct {p0, p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;-><init>(Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;)V
return-void
.end method
.method static synthetic access$4300(Landroidx/media3/common/SimpleBasePlayer$MediaItemData;I)Ljava/lang/Object;
.locals 0
.line 1202
invoke-direct {p0, p1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->getPeriodUid(I)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method static synthetic access$4400(Landroidx/media3/common/SimpleBasePlayer$MediaItemData;ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window;
.locals 0
.line 1202
invoke-direct {p0, p1, p2}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window;
move-result-object p0
return-object p0
.end method
.method static synthetic access$4500(Landroidx/media3/common/SimpleBasePlayer$MediaItemData;IILandroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period;
.locals 0
.line 1202
invoke-direct {p0, p1, p2, p3}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->getPeriod(IILandroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period;
move-result-object p0
return-object p0
.end method
.method static synthetic access$7100(Landroidx/media3/common/SimpleBasePlayer$MediaItemData;)Landroidx/media3/common/MediaMetadata;
.locals 0
.line 1202
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->combinedMediaMetadata:Landroidx/media3/common/MediaMetadata;
return-object p0
.end method
.method private static getCombinedMediaMetadata(Landroidx/media3/common/MediaItem;Landroidx/media3/common/Tracks;)Landroidx/media3/common/MediaMetadata;
.locals 9
.line 1752
new-instance v0, Landroidx/media3/common/MediaMetadata$Builder;
invoke-direct {v0}, Landroidx/media3/common/MediaMetadata$Builder;-><init>()V
.line 1753
invoke-virtual {p1}, Landroidx/media3/common/Tracks;->getGroups()Lcom/google/common/collect/ImmutableList;
move-result-object v1
invoke-virtual {v1}, Lcom/google/common/collect/ImmutableList;->size()I
move-result v1
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v3, v1, :cond_2
.line 1755
invoke-virtual {p1}, Landroidx/media3/common/Tracks;->getGroups()Lcom/google/common/collect/ImmutableList;
move-result-object v4
invoke-virtual {v4, v3}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Landroidx/media3/common/Tracks$Group;
move v5, v2
.line 1756
:goto_1
iget v6, v4, Landroidx/media3/common/Tracks$Group;->length:I
if-ge v5, v6, :cond_1
.line 1757
invoke-virtual {v4, v5}, Landroidx/media3/common/Tracks$Group;->isTrackSelected(I)Z
move-result v6
if-eqz v6, :cond_0
.line 1758
invoke-virtual {v4, v5}, Landroidx/media3/common/Tracks$Group;->getTrackFormat(I)Landroidx/media3/common/Format;
move-result-object v6
.line 1759
iget-object v7, v6, Landroidx/media3/common/Format;->metadata:Landroidx/media3/common/Metadata;
if-eqz v7, :cond_0
move v7, v2
.line 1760
:goto_2
iget-object v8, v6, Landroidx/media3/common/Format;->metadata:Landroidx/media3/common/Metadata;
invoke-virtual {v8}, Landroidx/media3/common/Metadata;->length()I
move-result v8
if-ge v7, v8, :cond_0
.line 1761
iget-object v8, v6, Landroidx/media3/common/Format;->metadata:Landroidx/media3/common/Metadata;
invoke-virtual {v8, v7}, Landroidx/media3/common/Metadata;->get(I)Landroidx/media3/common/Metadata$Entry;
move-result-object v8
invoke-interface {v8, v0}, Landroidx/media3/common/Metadata$Entry;->populateMediaMetadata(Landroidx/media3/common/MediaMetadata$Builder;)V
add-int/lit8 v7, v7, 0x1
goto :goto_2
:cond_0
add-int/lit8 v5, v5, 0x1
goto :goto_1
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 1767
:cond_2
iget-object p0, p0, Landroidx/media3/common/MediaItem;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
invoke-virtual {v0, p0}, 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 getPeriod(IILandroidx/media3/common/Timeline$Period;)Landroidx/media3/common/Timeline$Period;
.locals 11
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1718
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
iget-object v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
iget-wide v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
iget-wide v4, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
add-long v5, v0, v4
const-wide/16 v7, 0x0
.line 1719
sget-object v9, Landroidx/media3/common/AdPlaybackState;->NONE:Landroidx/media3/common/AdPlaybackState;
iget-boolean v10, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
move-object v1, p3
move-object v2, v3
move v4, p1
invoke-virtual/range {v1 .. v10}, Landroidx/media3/common/Timeline$Period;->set(Ljava/lang/Object;Ljava/lang/Object;IJJLandroidx/media3/common/AdPlaybackState;Z)Landroidx/media3/common/Timeline$Period;
goto :goto_0
:cond_0
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1728
invoke-virtual {v0, p2}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;
.line 1729
iget-object v2, v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->uid:Ljava/lang/Object;
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
.line 1730
invoke-static {v1, v2}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
move-result-object v3
.line 1731
iget-wide v5, v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->durationUs:J
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periodPositionInWindowUs:[J
aget-wide v7, p0, p2
iget-object v9, v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
iget-boolean v10, v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->isPlaceholder:Z
move-object v1, p3
move v4, p1
invoke-virtual/range {v1 .. v10}, Landroidx/media3/common/Timeline$Period;->set(Ljava/lang/Object;Ljava/lang/Object;IJJLandroidx/media3/common/AdPlaybackState;Z)Landroidx/media3/common/Timeline$Period;
:goto_0
return-object p3
.end method
.method private getPeriodUid(I)Ljava/lang/Object;
.locals 1
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1744
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
return-object p0
:cond_0
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1747
invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;
iget-object p1, p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->uid:Ljava/lang/Object;
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
.line 1748
invoke-static {p0, p1}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;
move-result-object p0
return-object p0
.end method
.method private getWindow(ILandroidx/media3/common/Timeline$Window;)Landroidx/media3/common/Timeline$Window;
.locals 23
move-object/from16 v0, p0
move-object/from16 v1, p2
iget-object v2, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1696
invoke-virtual {v2}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z
move-result v2
const/16 v18, 0x1
if-eqz v2, :cond_0
move/from16 v19, v18
goto :goto_0
:cond_0
iget-object v2, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
invoke-virtual {v2}, Lcom/google/common/collect/ImmutableList;->size()I
move-result v2
move/from16 v19, v2
:goto_0
iget-object v2, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
iget-object v3, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
iget-object v4, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->manifest:Ljava/lang/Object;
iget-wide v5, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->presentationStartTimeMs:J
iget-wide v7, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->windowStartTimeMs:J
iget-wide v9, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->elapsedRealtimeEpochOffsetMs:J
iget-boolean v11, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isSeekable:Z
iget-boolean v12, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isDynamic:Z
iget-object v13, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
iget-wide v14, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->defaultPositionUs:J
move-object/from16 v22, v2
iget-wide v1, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
move-wide/from16 v16, v1
add-int v1, p1, v19
add-int/lit8 v19, v1, -0x1
iget-wide v1, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
move-wide/from16 v20, v1
move-object/from16 v2, p2
move-object/from16 v1, p2
move/from16 v18, p1
move-object/from16 v2, v22
.line 1697
invoke-virtual/range {v1 .. v21}, Landroidx/media3/common/Timeline$Window;->set(Ljava/lang/Object;Landroidx/media3/common/MediaItem;Ljava/lang/Object;JJJZZLandroidx/media3/common/MediaItem$LiveConfiguration;JJIIJ)Landroidx/media3/common/Timeline$Window;
iget-boolean v0, v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
.line 1712
iput-boolean v0, v1, Landroidx/media3/common/Timeline$Window;->isPlaceholder:Z
return-object v1
.end method
# virtual methods
.method public buildUpon()Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;
.locals 2
.line 1641
new-instance v0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Landroidx/media3/common/SimpleBasePlayer$MediaItemData$Builder;-><init>(Landroidx/media3/common/SimpleBasePlayer$MediaItemData;Landroidx/media3/common/SimpleBasePlayer$1;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
.line 1649
:cond_0
instance-of v1, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
.line 1652
:cond_1
check-cast p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
.line 1653
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->tracks:Landroidx/media3/common/Tracks;
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->tracks:Landroidx/media3/common/Tracks;
.line 1654
invoke-virtual {v1, v3}, Landroidx/media3/common/Tracks;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
.line 1655
invoke-virtual {v1, v3}, Landroidx/media3/common/MediaItem;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
.line 1656
invoke-static {v1, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->manifest:Ljava/lang/Object;
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->manifest:Ljava/lang/Object;
.line 1657
invoke-static {v1, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
iget-object v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
.line 1658
invoke-static {v1, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->presentationStartTimeMs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->presentationStartTimeMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->windowStartTimeMs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->windowStartTimeMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->elapsedRealtimeEpochOffsetMs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->elapsedRealtimeEpochOffsetMs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-boolean v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isSeekable:Z
iget-boolean v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isSeekable:Z
if-ne v1, v3, :cond_2
iget-boolean v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isDynamic:Z
iget-boolean v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isDynamic:Z
if-ne v1, v3, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->defaultPositionUs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->defaultPositionUs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-wide v3, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
iget-wide v5, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
cmp-long v1, v3, v5
if-nez v1, :cond_2
iget-boolean v1, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
iget-boolean v3, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
if-ne v1, v3, :cond_2
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
iget-object p1, p1, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1668
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableList;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
goto :goto_0
:cond_2
move v0, v2
:goto_0
return v0
.end method
.method public hashCode()I
.locals 6
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->uid:Ljava/lang/Object;
.line 1674
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
const/16 v1, 0xd9
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->tracks:Landroidx/media3/common/Tracks;
.line 1675
invoke-virtual {v0}, Landroidx/media3/common/Tracks;->hashCode()I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaItem:Landroidx/media3/common/MediaItem;
.line 1676
invoke-virtual {v0}, Landroidx/media3/common/MediaItem;->hashCode()I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->mediaMetadata:Landroidx/media3/common/MediaMetadata;
const/4 v2, 0x0
if-nez v0, :cond_0
move v0, v2
goto :goto_0
.line 1677
:cond_0
invoke-virtual {v0}, Landroidx/media3/common/MediaMetadata;->hashCode()I
move-result v0
:goto_0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->manifest:Ljava/lang/Object;
if-nez v0, :cond_1
move v0, v2
goto :goto_1
.line 1678
:cond_1
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
:goto_1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->liveConfiguration:Landroidx/media3/common/MediaItem$LiveConfiguration;
if-nez v0, :cond_2
goto :goto_2
.line 1679
:cond_2
invoke-virtual {v0}, Landroidx/media3/common/MediaItem$LiveConfiguration;->hashCode()I
move-result v2
:goto_2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->presentationStartTimeMs:J
const/16 v0, 0x20
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v2, v2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->windowStartTimeMs:J
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v2, v2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->elapsedRealtimeEpochOffsetMs:J
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v2, v2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-boolean v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isSeekable:Z
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-boolean v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isDynamic:Z
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->defaultPositionUs:J
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v2, v2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->durationUs:J
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v2, v2
add-int/2addr v1, v2
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->positionInFirstPeriodUs:J
ushr-long v4, v2, v0
xor-long/2addr v2, v4
long-to-int v0, v2
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->isPlaceholder:Z
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$MediaItemData;->periods:Lcom/google/common/collect/ImmutableList;
.line 1691
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableList;->hashCode()I
move-result p0
add-int/2addr v1, p0
return v1
.end method