.class public final Landroidx/media3/container/MdtaMetadataEntry; .super Ljava/lang/Object; .source "MdtaMetadataEntry.java" # interfaces .implements Landroidx/media3/common/Metadata$Entry; # static fields .field public static final CREATOR:Landroid/os/Parcelable$Creator; .annotation system Ldalvik/annotation/Signature; value = { "Landroid/os/Parcelable$Creator<", "Landroidx/media3/container/MdtaMetadataEntry;", ">;" } .end annotation .end field .field public static final KEY_ANDROID_CAPTURE_FPS:Ljava/lang/String; = "com.android.capture.fps" .field public static final TYPE_INDICATOR_FLOAT32:I = 0x17 .field public static final TYPE_INDICATOR_INT32:I = 0x43 .field public static final TYPE_INDICATOR_STRING:I = 0x1 # instance fields .field public final key:Ljava/lang/String; .field public final localeIndicator:I .field public final typeIndicator:I .field public final value:[B # direct methods .method static constructor ()V .locals 1 .line 127 new-instance v0, Landroidx/media3/container/MdtaMetadataEntry$1; invoke-direct {v0}, Landroidx/media3/container/MdtaMetadataEntry$1;->()V sput-object v0, Landroidx/media3/container/MdtaMetadataEntry;->CREATOR:Landroid/os/Parcelable$Creator; return-void .end method .method private constructor (Landroid/os/Parcel;)V .locals 1 .line 60 invoke-direct {p0}, Ljava/lang/Object;->()V .line 61 invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String; move-result-object v0 invoke-static {v0}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; iput-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; .line 62 invoke-virtual {p1}, Landroid/os/Parcel;->createByteArray()[B move-result-object v0 invoke-static {v0}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, [B iput-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 63 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result v0 iput v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I .line 64 invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I move-result p1 iput p1, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I return-void .end method .method synthetic constructor (Landroid/os/Parcel;Landroidx/media3/container/MdtaMetadataEntry$1;)V .locals 0 .line 31 invoke-direct {p0, p1}, Landroidx/media3/container/MdtaMetadataEntry;->(Landroid/os/Parcel;)V return-void .end method .method public constructor (Ljava/lang/String;[BII)V .locals 0 .line 53 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; iput-object p2, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B iput p3, p0, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I iput p4, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I return-void .end method # virtual methods .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 72 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 75 :cond_1 check-cast p1, Landroidx/media3/container/MdtaMetadataEntry; iget-object v2, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; .line 76 iget-object v3, p1, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v2 if-eqz v2, :cond_2 iget-object v2, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B iget-object v3, p1, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 77 invoke-static {v2, v3}, Ljava/util/Arrays;->equals([B[B)Z move-result v2 if-eqz v2, :cond_2 iget v2, p0, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I iget v3, p1, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I if-ne v2, v3, :cond_2 iget p0, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I iget p1, p1, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I if-ne p0, p1, :cond_2 goto :goto_0 :cond_2 move v0, v1 :goto_0 return v0 :cond_3 :goto_1 return v1 .end method .method public hashCode()I .locals 2 iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; .line 85 invoke-virtual {v0}, Ljava/lang/String;->hashCode()I move-result v0 const/16 v1, 0x20f add-int/2addr v1, v0 mul-int/lit8 v1, v1, 0x1f iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 86 invoke-static {v0}, Ljava/util/Arrays;->hashCode([B)I move-result v0 add-int/2addr v1, v0 mul-int/lit8 v1, v1, 0x1f iget v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I add-int/2addr v1, v0 mul-int/lit8 v1, v1, 0x1f iget p0, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I add-int/2addr v1, p0 return v1 .end method .method public toString()Ljava/lang/String; .locals 3 iget v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I const/4 v1, 0x1 if-eq v0, v1, :cond_2 const/16 v1, 0x17 if-eq v0, v1, :cond_1 const/16 v1, 0x43 if-eq v0, v1, :cond_0 iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 106 invoke-static {v0}, Landroidx/media3/common/util/Util;->toHexString([B)Ljava/lang/String; move-result-object v0 goto :goto_0 :cond_0 iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 103 invoke-static {v0}, Landroidx/media3/common/util/Util;->toInteger([B)I move-result v0 invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; move-result-object v0 goto :goto_0 :cond_1 iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 100 invoke-static {v0}, Landroidx/media3/common/util/Util;->toFloat([B)F move-result v0 invoke-static {v0}, Ljava/lang/String;->valueOf(F)Ljava/lang/String; move-result-object v0 goto :goto_0 :cond_2 iget-object v0, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 97 invoke-static {v0}, Landroidx/media3/common/util/Util;->fromUtf8Bytes([B)Ljava/lang/String; move-result-object v0 .line 109 :goto_0 new-instance v1, Ljava/lang/StringBuilder; const-string v2, "mdta: key=" invoke-direct {v1, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object p0, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v1, ", value=" invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0, v0}, 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 0 iget-object p2, p0, Landroidx/media3/container/MdtaMetadataEntry;->key:Ljava/lang/String; .line 116 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V iget-object p2, p0, Landroidx/media3/container/MdtaMetadataEntry;->value:[B .line 117 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByteArray([B)V iget p2, p0, Landroidx/media3/container/MdtaMetadataEntry;->localeIndicator:I .line 118 invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V iget p0, p0, Landroidx/media3/container/MdtaMetadataEntry;->typeIndicator:I .line 119 invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeInt(I)V return-void .end method