366 lines
13 KiB
Smali
366 lines
13 KiB
Smali
.class public final Landroid/support/v4/media/MediaMetadataCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "MediaMetadataCompat.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Landroid/support/v4/media/MediaMetadataCompat;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final f:Landroidx/collection/ArrayMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Landroid/os/Bundle;
|
|
|
|
.field public e:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 16
|
|
|
|
new-instance v0, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v0}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
sput-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "android.media.metadata.TITLE"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v2, "android.media.metadata.ARTIST"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "android.media.metadata.DURATION"
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.ALBUM"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.AUTHOR"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.WRITER"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.COMPOSER"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.COMPILATION"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.DATE"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.YEAR"
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.GENRE"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.TRACK_NUMBER"
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.NUM_TRACKS"
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.DISC_NUMBER"
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.ALBUM_ARTIST"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "android.media.metadata.ART"
|
|
|
|
invoke-virtual {v0, v4, v3}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v5, "android.media.metadata.ART_URI"
|
|
|
|
invoke-virtual {v0, v5, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v6, "android.media.metadata.ALBUM_ART"
|
|
|
|
invoke-virtual {v0, v6, v3}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v7, "android.media.metadata.ALBUM_ART_URI"
|
|
|
|
invoke-virtual {v0, v7, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const/4 v8, 0x3
|
|
|
|
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
const-string v9, "android.media.metadata.USER_RATING"
|
|
|
|
invoke-virtual {v0, v9, v8}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v9, "android.media.metadata.RATING"
|
|
|
|
invoke-virtual {v0, v9, v8}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v8, "android.media.metadata.DISPLAY_TITLE"
|
|
|
|
invoke-virtual {v0, v8, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v8, "android.media.metadata.DISPLAY_SUBTITLE"
|
|
|
|
invoke-virtual {v0, v8, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v8, "android.media.metadata.DISPLAY_DESCRIPTION"
|
|
|
|
invoke-virtual {v0, v8, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v8, "android.media.metadata.DISPLAY_ICON"
|
|
|
|
invoke-virtual {v0, v8, v3}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v3, "android.media.metadata.DISPLAY_ICON_URI"
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v9, "android.media.metadata.MEDIA_ID"
|
|
|
|
invoke-virtual {v0, v9, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v9, "android.media.metadata.BT_FOLDER_TYPE"
|
|
|
|
invoke-virtual {v0, v9, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v9, "android.media.metadata.MEDIA_URI"
|
|
|
|
invoke-virtual {v0, v9, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v1, "android.media.metadata.ADVERTISEMENT"
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-object v0, Landroid/support/v4/media/MediaMetadataCompat;->f:Landroidx/collection/ArrayMap;
|
|
|
|
const-string v1, "android.media.metadata.DOWNLOAD_STATUS"
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
const-string v9, "android.media.metadata.TITLE"
|
|
|
|
const-string v10, "android.media.metadata.ARTIST"
|
|
|
|
const-string v11, "android.media.metadata.ALBUM"
|
|
|
|
const-string v12, "android.media.metadata.ALBUM_ARTIST"
|
|
|
|
const-string v13, "android.media.metadata.WRITER"
|
|
|
|
const-string v14, "android.media.metadata.AUTHOR"
|
|
|
|
const-string v15, "android.media.metadata.COMPOSER"
|
|
|
|
filled-new-array/range {v9 .. v15}, [Ljava/lang/String;
|
|
|
|
filled-new-array {v8, v4, v6}, [Ljava/lang/String;
|
|
|
|
filled-new-array {v3, v5, v7}, [Ljava/lang/String;
|
|
|
|
new-instance v0, Landroid/support/v4/media/MediaMetadataCompat$a;
|
|
|
|
invoke-direct {v0}, Landroid/support/v4/media/MediaMetadataCompat$a;-><init>()V
|
|
|
|
sput-object v0, Landroid/support/v4/media/MediaMetadataCompat;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const-class v0, Landroid/support/v4/media/session/MediaSessionCompat;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readBundle(Ljava/lang/ClassLoader;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroid/support/v4/media/MediaMetadataCompat;->d:Landroid/os/Bundle;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Object;)Landroid/support/v4/media/MediaMetadataCompat;
|
|
.locals 3
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Landroid/media/MediaMetadata;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v1, v0, v2}, Landroid/media/MediaMetadata;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
sget-object v1, Landroid/support/v4/media/MediaMetadataCompat;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {v1, v0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/support/v4/media/MediaMetadataCompat;
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
iput-object p0, v1, Landroid/support/v4/media/MediaMetadataCompat;->e:Ljava/lang/Object;
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 0
|
|
|
|
iget-object p2, p0, Landroid/support/v4/media/MediaMetadataCompat;->d:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeBundle(Landroid/os/Bundle;)V
|
|
|
|
return-void
|
|
.end method
|