mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
441 lines
11 KiB
Smali
441 lines
11 KiB
Smali
.class public final Landroidx/media3/common/DrmInitData$SchemeData;
|
|
.super Ljava/lang/Object;
|
|
.source "DrmInitData.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/media3/common/DrmInitData;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "SchemeData"
|
|
.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/DrmInitData$SchemeData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final data:[B
|
|
|
|
.field private hashCode:I
|
|
|
|
.field public final licenseServerUrl:Ljava/lang/String;
|
|
|
|
.field public final mimeType:Ljava/lang/String;
|
|
|
|
.field public final uuid:Ljava/util/UUID;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 386
|
|
new-instance v0, Landroidx/media3/common/DrmInitData$SchemeData$1;
|
|
|
|
invoke-direct {v0}, Landroidx/media3/common/DrmInitData$SchemeData$1;-><init>()V
|
|
|
|
sput-object v0, Landroidx/media3/common/DrmInitData$SchemeData;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 5
|
|
|
|
.line 300
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 301
|
|
new-instance v0, Ljava/util/UUID;
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Ljava/util/UUID;-><init>(JJ)V
|
|
|
|
iput-object v0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
.line 302
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
.line 303
|
|
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/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
.line 304
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->createByteArray()[B
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;[B)V
|
|
.locals 0
|
|
|
|
.line 293
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 294
|
|
invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/util/UUID;
|
|
|
|
iput-object p1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
iput-object p2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
.line 296
|
|
invoke-static {p3}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
iput-object p1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/UUID;Ljava/lang/String;[B)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 282
|
|
invoke-direct {p0, p1, v0, p2, p3}, Landroidx/media3/common/DrmInitData$SchemeData;-><init>(Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;[B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public canReplace(Landroidx/media3/common/DrmInitData$SchemeData;)Z
|
|
.locals 1
|
|
|
|
.line 324
|
|
invoke-virtual {p0}, Landroidx/media3/common/DrmInitData$SchemeData;->hasData()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p1}, Landroidx/media3/common/DrmInitData$SchemeData;->hasData()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object p1, p1, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/media3/common/DrmInitData$SchemeData;->matches(Ljava/util/UUID;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public copyWithData([B)Landroidx/media3/common/DrmInitData$SchemeData;
|
|
.locals 3
|
|
|
|
.line 340
|
|
new-instance v0, Landroidx/media3/common/DrmInitData$SchemeData;
|
|
|
|
iget-object v1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
iget-object v2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
iget-object p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v1, v2, p0, p1}, Landroidx/media3/common/DrmInitData$SchemeData;-><init>(Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;[B)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
|
|
|
|
.line 345
|
|
instance-of v0, p1, Landroidx/media3/common/DrmInitData$SchemeData;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p1, p0, :cond_1
|
|
|
|
return v0
|
|
|
|
.line 351
|
|
:cond_1
|
|
check-cast p1, Landroidx/media3/common/DrmInitData$SchemeData;
|
|
|
|
iget-object v2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
.line 352
|
|
iget-object v3, p1, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
invoke-static {v2, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
iget-object v2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
iget-object v3, p1, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
.line 353
|
|
invoke-static {v2, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
iget-object v2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
iget-object v3, p1, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
.line 354
|
|
invoke-static {v2, v3}, Landroidx/media3/common/util/Util;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
iget-object p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
iget-object p1, p1, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
.line 355
|
|
invoke-static {p0, p1}, Ljava/util/Arrays;->equals([B[B)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
move v1, v0
|
|
|
|
:cond_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public hasData()Z
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->hashCode:I
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
.line 361
|
|
invoke-virtual {v0}, Ljava/util/UUID;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 362
|
|
:cond_0
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
.line 363
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
.line 364
|
|
invoke-static {v1}, Ljava/util/Arrays;->hashCode([B)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iput v0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->hashCode:I
|
|
|
|
:cond_1
|
|
iget p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->hashCode:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public matches(Ljava/util/UUID;)Z
|
|
.locals 2
|
|
|
|
.line 314
|
|
sget-object v0, Landroidx/media3/common/C;->UUID_NIL:Ljava/util/UUID;
|
|
|
|
iget-object v1, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
invoke-virtual {p1, p0}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 2
|
|
|
|
iget-object p2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
.line 379
|
|
invoke-virtual {p2}, Ljava/util/UUID;->getMostSignificantBits()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
iget-object p2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->uuid:Ljava/util/UUID;
|
|
|
|
.line 380
|
|
invoke-virtual {p2}, Ljava/util/UUID;->getLeastSignificantBits()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
iget-object p2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->licenseServerUrl:Ljava/lang/String;
|
|
|
|
.line 381
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
iget-object p2, p0, Landroidx/media3/common/DrmInitData$SchemeData;->mimeType:Ljava/lang/String;
|
|
|
|
.line 382
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
iget-object p0, p0, Landroidx/media3/common/DrmInitData$SchemeData;->data:[B
|
|
|
|
.line 383
|
|
invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeByteArray([B)V
|
|
|
|
return-void
|
|
.end method
|