.class public final Landroidx/media3/common/Metadata; .super Ljava/lang/Object; .source "Metadata.java" # interfaces .implements Landroid/os/Parcelable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/media3/common/Metadata$Entry; } .end annotation # static fields .field public static final CREATOR:Landroid/os/Parcelable$Creator; .annotation system Ldalvik/annotation/Signature; value = { "Landroid/os/Parcelable$Creator<", "Landroidx/media3/common/Metadata;", ">;" } .end annotation .end field # instance fields .field private final entries:[Landroidx/media3/common/Metadata$Entry; .field public final presentationTimeUs:J # direct methods .method static constructor ()V .locals 1 .line 209 new-instance v0, Landroidx/media3/common/Metadata$1; invoke-direct {v0}, Landroidx/media3/common/Metadata$1;->()V sput-object v0, Landroidx/media3/common/Metadata;->CREATOR:Landroid/os/Parcelable$Creator; return-void .end method .method public constructor (JLjava/util/List;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(J", "Ljava/util/List<", "+", "Landroidx/media3/common/Metadata$Entry;", ">;)V" } .end annotation const/4 v0, 0x0 new-array v0, v0, [Landroidx/media3/common/Metadata$Entry; .line 99 invoke-interface {p3, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p3 check-cast p3, [Landroidx/media3/common/Metadata$Entry; invoke-direct {p0, p1, p2, p3}, Landroidx/media3/common/Metadata;->(J[Landroidx/media3/common/Metadata$Entry;)V return-void .end method .method public varargs constructor (J[Landroidx/media3/common/Metadata$Entry;)V .locals 0 .line 82 invoke-direct {p0}, Ljava/lang/Object;->()V iput-wide p1, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J iput-object p3, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; return-void .end method .method constructor (Landroid/os/Parcel;)V .locals 3 .line 102 invoke-direct {p0}, Ljava/lang/Object;->()V .line 103 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 new-array v0, v0, [Landroidx/media3/common/Metadata$Entry; iput-object v0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; const/4 v0, 0x0 :goto_0 iget-object v1, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 104 array-length v2, v1 if-ge v0, v2, :cond_0 .line 105 const-class v2, Landroidx/media3/common/Metadata$Entry; invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v2 invoke-virtual {p1, v2}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable; move-result-object v2 check-cast v2, Landroidx/media3/common/Metadata$Entry; aput-object v2, v1, v0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 107 :cond_0 invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J move-result-wide v0 iput-wide v0, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J return-void .end method .method public constructor (Ljava/util/List;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Landroidx/media3/common/Metadata$Entry;", ">;)V" } .end annotation const/4 v0, 0x0 new-array v0, v0, [Landroidx/media3/common/Metadata$Entry; .line 91 invoke-interface {p1, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p1 check-cast p1, [Landroidx/media3/common/Metadata$Entry; invoke-direct {p0, p1}, Landroidx/media3/common/Metadata;->([Landroidx/media3/common/Metadata$Entry;)V return-void .end method .method public varargs constructor ([Landroidx/media3/common/Metadata$Entry;)V .locals 2 const-wide v0, -0x7fffffffffffffffL # -4.9E-324 .line 75 invoke-direct {p0, v0, v1, p1}, Landroidx/media3/common/Metadata;->(J[Landroidx/media3/common/Metadata$Entry;)V return-void .end method # virtual methods .method public varargs copyWithAppendedEntries([Landroidx/media3/common/Metadata$Entry;)Landroidx/media3/common/Metadata; .locals 3 .line 147 array-length v0, p1 if-nez v0, :cond_0 return-object p0 .line 150 :cond_0 new-instance v0, Landroidx/media3/common/Metadata; iget-wide v1, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J iget-object p0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 151 invoke-static {p0, p1}, Landroidx/media3/common/util/Util;->nullSafeArrayConcatenation([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object; move-result-object p0 check-cast p0, [Landroidx/media3/common/Metadata$Entry; invoke-direct {v0, v1, v2, p0}, Landroidx/media3/common/Metadata;->(J[Landroidx/media3/common/Metadata$Entry;)V return-object v0 .end method .method public copyWithAppendedEntriesFrom(Landroidx/media3/common/Metadata;)Landroidx/media3/common/Metadata; .locals 0 if-nez p1, :cond_0 return-object p0 .line 137 :cond_0 iget-object p1, p1, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; invoke-virtual {p0, p1}, Landroidx/media3/common/Metadata;->copyWithAppendedEntries([Landroidx/media3/common/Metadata$Entry;)Landroidx/media3/common/Metadata; move-result-object p0 return-object p0 .end method .method public copyWithPresentationTimeUs(J)Landroidx/media3/common/Metadata; .locals 2 iget-wide v0, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J cmp-long v0, v0, p1 if-nez v0, :cond_0 return-object p0 .line 164 :cond_0 new-instance v0, Landroidx/media3/common/Metadata; iget-object p0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; invoke-direct {v0, p1, p2, p0}, Landroidx/media3/common/Metadata;->(J[Landroidx/media3/common/Metadata$Entry;)V return-object v0 .end method .method public describeContents()I .locals 0 const/4 p0, 0x0 return p0 .end method .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x1 if-ne p0, p1, :cond_0 return v0 :cond_0 const/4 v1, 0x0 if-eqz p1, :cond_3 .line 172 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v3 if-eq v2, v3, :cond_1 goto :goto_1 .line 175 :cond_1 check-cast p1, Landroidx/media3/common/Metadata; iget-object v2, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 176 iget-object v3, p1, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; invoke-static {v2, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_2 iget-wide v2, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J iget-wide p0, p1, Landroidx/media3/common/Metadata;->presentationTimeUs:J cmp-long p0, v2, p0 if-nez p0, :cond_2 goto :goto_0 :cond_2 move v0, v1 :goto_0 return v0 :cond_3 :goto_1 return v1 .end method .method public get(I)Landroidx/media3/common/Metadata$Entry; .locals 0 iget-object p0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 122 aget-object p0, p0, p1 return-object p0 .end method .method public hashCode()I .locals 3 iget-object v0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 181 invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I move-result v0 mul-int/lit8 v0, v0, 0x1f iget-wide v1, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J .line 182 invoke-static {v1, v2}, Lcom/google/common/primitives/Longs;->hashCode(J)I move-result p0 add-int/2addr v0, p0 return v0 .end method .method public length()I .locals 0 iget-object p0, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 112 array-length p0, p0 return p0 .end method .method public toString()Ljava/lang/String; .locals 5 .line 188 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "entries=" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object v1, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 189 invoke-static {v1}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)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 iget-wide v1, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J const-wide v3, -0x7fffffffffffffffL # -4.9E-324 cmp-long v1, v1, v3 if-nez v1, :cond_0 const-string p0, "" goto :goto_0 .line 190 :cond_0 new-instance v1, Ljava/lang/StringBuilder; const-string v2, ", presentationTimeUs=" invoke-direct {v1, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-wide v2, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 :goto_0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public writeToParcel(Landroid/os/Parcel;I)V .locals 4 iget-object p2, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 202 array-length p2, p2 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget-object p2, p0, Landroidx/media3/common/Metadata;->entries:[Landroidx/media3/common/Metadata$Entry; .line 203 array-length v0, p2 const/4 v1, 0x0 move v2, v1 :goto_0 if-ge v2, v0, :cond_0 aget-object v3, p2, v2 .line 204 invoke-virtual {p1, v3, v1}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V add-int/lit8 v2, v2, 0x1 goto :goto_0 :cond_0 iget-wide v0, p0, Landroidx/media3/common/Metadata;->presentationTimeUs:J .line 206 invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V return-void .end method