795 lines
17 KiB
Smali
795 lines
17 KiB
Smali
.class public Landroidx/media/AudioAttributesCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "AudioAttributesCompat.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/media/AudioAttributesCompat$AttributeContentType;,
|
|
Landroidx/media/AudioAttributesCompat$AttributeUsage;,
|
|
Landroidx/media/AudioAttributesCompat$AudioManagerHidden;,
|
|
Landroidx/media/AudioAttributesCompat$Builder;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final AUDIO_ATTRIBUTES_CONTENT_TYPE:Ljava/lang/String; = "androidx.media.audio_attrs.CONTENT_TYPE"
|
|
|
|
.field public static final AUDIO_ATTRIBUTES_FLAGS:Ljava/lang/String; = "androidx.media.audio_attrs.FLAGS"
|
|
|
|
.field public static final AUDIO_ATTRIBUTES_FRAMEWORKS:Ljava/lang/String; = "androidx.media.audio_attrs.FRAMEWORKS"
|
|
|
|
.field public static final AUDIO_ATTRIBUTES_LEGACY_STREAM_TYPE:Ljava/lang/String; = "androidx.media.audio_attrs.LEGACY_STREAM_TYPE"
|
|
|
|
.field public static final AUDIO_ATTRIBUTES_USAGE:Ljava/lang/String; = "androidx.media.audio_attrs.USAGE"
|
|
|
|
.field public static final CONTENT_TYPE_MOVIE:I = 0x3
|
|
|
|
.field public static final CONTENT_TYPE_MUSIC:I = 0x2
|
|
|
|
.field public static final CONTENT_TYPE_SONIFICATION:I = 0x4
|
|
|
|
.field public static final CONTENT_TYPE_SPEECH:I = 0x1
|
|
|
|
.field public static final CONTENT_TYPE_UNKNOWN:I = 0x0
|
|
|
|
.field public static final FLAG_ALL:I = 0x3ff
|
|
|
|
.field public static final FLAG_ALL_PUBLIC:I = 0x111
|
|
|
|
.field public static final FLAG_AUDIBILITY_ENFORCED:I = 0x1
|
|
|
|
.field public static final FLAG_BEACON:I = 0x8
|
|
|
|
.field public static final FLAG_BYPASS_INTERRUPTION_POLICY:I = 0x40
|
|
|
|
.field public static final FLAG_BYPASS_MUTE:I = 0x80
|
|
|
|
.field public static final FLAG_DEEP_BUFFER:I = 0x200
|
|
|
|
.field public static final FLAG_HW_AV_SYNC:I = 0x10
|
|
|
|
.field public static final FLAG_HW_HOTWORD:I = 0x20
|
|
|
|
.field public static final FLAG_LOW_LATENCY:I = 0x100
|
|
|
|
.field public static final FLAG_SCO:I = 0x4
|
|
|
|
.field public static final FLAG_SECURE:I = 0x2
|
|
|
|
.field public static final INVALID_STREAM_TYPE:I = -0x1
|
|
|
|
.field public static final SDK_USAGES:[I
|
|
|
|
.field public static final SUPPRESSIBLE_CALL:I = 0x2
|
|
|
|
.field public static final SUPPRESSIBLE_NOTIFICATION:I = 0x1
|
|
|
|
.field public static final SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
.field public static final TAG:Ljava/lang/String; = "AudioAttributesCompat"
|
|
|
|
.field public static final USAGE_ALARM:I = 0x4
|
|
|
|
.field public static final USAGE_ASSISTANCE_ACCESSIBILITY:I = 0xb
|
|
|
|
.field public static final USAGE_ASSISTANCE_NAVIGATION_GUIDANCE:I = 0xc
|
|
|
|
.field public static final USAGE_ASSISTANCE_SONIFICATION:I = 0xd
|
|
|
|
.field public static final USAGE_ASSISTANT:I = 0x10
|
|
|
|
.field public static final USAGE_GAME:I = 0xe
|
|
|
|
.field public static final USAGE_MEDIA:I = 0x1
|
|
|
|
.field public static final USAGE_NOTIFICATION:I = 0x5
|
|
|
|
.field public static final USAGE_NOTIFICATION_COMMUNICATION_DELAYED:I = 0x9
|
|
|
|
.field public static final USAGE_NOTIFICATION_COMMUNICATION_INSTANT:I = 0x8
|
|
|
|
.field public static final USAGE_NOTIFICATION_COMMUNICATION_REQUEST:I = 0x7
|
|
|
|
.field public static final USAGE_NOTIFICATION_EVENT:I = 0xa
|
|
|
|
.field public static final USAGE_NOTIFICATION_RINGTONE:I = 0x6
|
|
|
|
.field public static final USAGE_UNKNOWN:I = 0x0
|
|
|
|
.field public static final USAGE_VIRTUAL_SOURCE:I = 0xf
|
|
|
|
.field public static final USAGE_VOICE_COMMUNICATION:I = 0x2
|
|
|
|
.field public static final USAGE_VOICE_COMMUNICATION_SIGNALLING:I = 0x3
|
|
|
|
.field public static sForceLegacyBehavior:Z
|
|
|
|
|
|
# instance fields
|
|
.field public mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
sput-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x5
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x6
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/4 v3, 0x7
|
|
|
|
invoke-virtual {v0, v3, v2}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/16 v2, 0x9
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
sget-object v0, Landroidx/media/AudioAttributesCompat;->SUPPRESSIBLE_USAGES:Landroid/util/SparseIntArray;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
const/16 v0, 0x10
|
|
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Landroidx/media/AudioAttributesCompat;->SDK_USAGES:[I
|
|
|
|
return-void
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
0x1
|
|
0x2
|
|
0x3
|
|
0x4
|
|
0x5
|
|
0x6
|
|
0x7
|
|
0x8
|
|
0x9
|
|
0xa
|
|
0xb
|
|
0xc
|
|
0xd
|
|
0xe
|
|
0x10
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/media/AudioAttributesImpl;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static fromBundle(Landroid/os/Bundle;)Landroidx/media/AudioAttributesCompat;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
invoke-static {p0}, Landroidx/media/AudioAttributesImplApi21;->fromBundle(Landroid/os/Bundle;)Landroidx/media/AudioAttributesImpl;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Landroidx/media/AudioAttributesCompat;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/media/AudioAttributesCompat;-><init>(Landroidx/media/AudioAttributesImpl;)V
|
|
|
|
move-object p0, v0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static setForceLegacyBehavior(Z)V
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
sput-boolean p0, Landroidx/media/AudioAttributesCompat;->sForceLegacyBehavior:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static toVolumeStreamType(ZII)I
|
|
.locals 3
|
|
|
|
and-int/lit8 v0, p1, 0x1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x7
|
|
|
|
:goto_0
|
|
return v1
|
|
|
|
:cond_1
|
|
const/4 v0, 0x4
|
|
|
|
and-int/2addr p1, v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ne p1, v0, :cond_3
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v2, 0x6
|
|
|
|
:goto_1
|
|
return v2
|
|
|
|
:cond_3
|
|
const/4 p1, 0x3
|
|
|
|
packed-switch p2, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
if-nez p0, :cond_6
|
|
|
|
return p1
|
|
|
|
:pswitch_1
|
|
return v1
|
|
|
|
:pswitch_2
|
|
const/16 p0, 0xa
|
|
|
|
return p0
|
|
|
|
:pswitch_3
|
|
const/4 p0, 0x2
|
|
|
|
return p0
|
|
|
|
:pswitch_4
|
|
const/4 p0, 0x5
|
|
|
|
return p0
|
|
|
|
:pswitch_5
|
|
return v0
|
|
|
|
:pswitch_6
|
|
if-eqz p0, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/16 v2, 0x8
|
|
|
|
:goto_2
|
|
:pswitch_7
|
|
return v2
|
|
|
|
:pswitch_8
|
|
return p1
|
|
|
|
:pswitch_9
|
|
if-eqz p0, :cond_5
|
|
|
|
const/high16 p1, -0x80000000
|
|
|
|
:cond_5
|
|
return p1
|
|
|
|
:cond_6
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Unknown usage value "
|
|
|
|
const-string v0, " in audio attributes"
|
|
|
|
invoke-static {p1, p2, v0}, Le/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_2
|
|
:pswitch_8
|
|
:pswitch_1
|
|
:pswitch_8
|
|
:pswitch_0
|
|
:pswitch_8
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static toVolumeStreamType(ZLandroidx/media/AudioAttributesCompat;)I
|
|
.locals 1
|
|
|
|
invoke-virtual {p1}, Landroidx/media/AudioAttributesCompat;->getFlags()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Landroidx/media/AudioAttributesCompat;->getUsage()I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p0, v0, p1}, Landroidx/media/AudioAttributesCompat;->toVolumeStreamType(ZII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static usageForStreamType(I)I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:pswitch_1
|
|
const/16 p0, 0xb
|
|
|
|
return p0
|
|
|
|
:pswitch_2
|
|
const/4 p0, 0x3
|
|
|
|
return p0
|
|
|
|
:pswitch_3
|
|
return v0
|
|
|
|
:pswitch_4
|
|
const/4 p0, 0x5
|
|
|
|
return p0
|
|
|
|
:pswitch_5
|
|
const/4 p0, 0x4
|
|
|
|
return p0
|
|
|
|
:pswitch_6
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:pswitch_7
|
|
const/4 p0, 0x6
|
|
|
|
return p0
|
|
|
|
:pswitch_8
|
|
const/16 p0, 0xd
|
|
|
|
return p0
|
|
|
|
:pswitch_9
|
|
return v0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_8
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static usageToString(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
const-string v0, "unknown usage "
|
|
|
|
invoke-static {v0, p0}, Le/e/b/a/a;->a(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:pswitch_1
|
|
const-string p0, "USAGE_ASSISTANT"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_2
|
|
const-string p0, "USAGE_GAME"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_3
|
|
const-string p0, "USAGE_ASSISTANCE_SONIFICATION"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_4
|
|
const-string p0, "USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_5
|
|
const-string p0, "USAGE_ASSISTANCE_ACCESSIBILITY"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_6
|
|
const-string p0, "USAGE_NOTIFICATION_EVENT"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_7
|
|
const-string p0, "USAGE_NOTIFICATION_COMMUNICATION_DELAYED"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_8
|
|
const-string p0, "USAGE_NOTIFICATION_COMMUNICATION_INSTANT"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_9
|
|
const-string p0, "USAGE_NOTIFICATION_COMMUNICATION_REQUEST"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_a
|
|
const-string p0, "USAGE_NOTIFICATION_RINGTONE"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_b
|
|
const-string p0, "USAGE_NOTIFICATION"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_c
|
|
const-string p0, "USAGE_ALARM"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_d
|
|
const-string p0, "USAGE_VOICE_COMMUNICATION_SIGNALLING"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_e
|
|
const-string p0, "USAGE_VOICE_COMMUNICATION"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_f
|
|
const-string p0, "USAGE_MEDIA"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_10
|
|
const-string p0, "USAGE_UNKNOWN"
|
|
|
|
return-object p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_10
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static wrap(Ljava/lang/Object;)Landroidx/media/AudioAttributesCompat;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
sget-boolean v0, Landroidx/media/AudioAttributesCompat;->sForceLegacyBehavior:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Landroidx/media/AudioAttributesImplApi21;
|
|
|
|
check-cast p0, Landroid/media/AudioAttributes;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/media/AudioAttributesImplApi21;-><init>(Landroid/media/AudioAttributes;)V
|
|
|
|
new-instance p0, Landroidx/media/AudioAttributesCompat;
|
|
|
|
invoke-direct {p0}, Landroidx/media/AudioAttributesCompat;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
instance-of v0, p1, Landroidx/media/AudioAttributesCompat;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
check-cast p1, Landroidx/media/AudioAttributesCompat;
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object p1, p1, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
:cond_2
|
|
iget-object p1, p1, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getContentType()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getContentType()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getFlags()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getFlags()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLegacyStreamType()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getLegacyStreamType()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRawLegacyStreamType()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getRawLegacyStreamType()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getUsage()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getUsage()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getVolumeControlStream()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getVolumeControlStream()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toBundle()Landroid/os/Bundle;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->toBundle()Landroid/os/Bundle;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public unwrap()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/media/AudioAttributesCompat;->mImpl:Landroidx/media/AudioAttributesImpl;
|
|
|
|
invoke-interface {v0}, Landroidx/media/AudioAttributesImpl;->getAudioAttributes()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|