apkfuckery/com.discord/smali/androidx/media/AudioAttributesImplBaseParcelizer.smali

106 lines
2.9 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Landroidx/media/AudioAttributesImplBaseParcelizer;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "AudioAttributesImplBaseParcelizer.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static read(Landroidx/versionedparcelable/VersionedParcel;)Landroidx/media/AudioAttributesImplBase;
.locals 3
new-instance v0, Landroidx/media/AudioAttributesImplBase;
invoke-direct {v0}, Landroidx/media/AudioAttributesImplBase;-><init>()V
iget v1, v0, Landroidx/media/AudioAttributesImplBase;->mUsage:I
const/4 v2, 0x1
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readInt(II)I
move-result v1
iput v1, v0, Landroidx/media/AudioAttributesImplBase;->mUsage:I
iget v1, v0, Landroidx/media/AudioAttributesImplBase;->mContentType:I
const/4 v2, 0x2
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readInt(II)I
move-result v1
iput v1, v0, Landroidx/media/AudioAttributesImplBase;->mContentType:I
iget v1, v0, Landroidx/media/AudioAttributesImplBase;->mFlags:I
const/4 v2, 0x3
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readInt(II)I
move-result v1
iput v1, v0, Landroidx/media/AudioAttributesImplBase;->mFlags:I
iget v1, v0, Landroidx/media/AudioAttributesImplBase;->mLegacyStream:I
const/4 v2, 0x4
invoke-virtual {p0, v1, v2}, Landroidx/versionedparcelable/VersionedParcel;->readInt(II)I
move-result p0
iput p0, v0, Landroidx/media/AudioAttributesImplBase;->mLegacyStream:I
return-object v0
.end method
.method public static write(Landroidx/media/AudioAttributesImplBase;Landroidx/versionedparcelable/VersionedParcel;)V
.locals 2
const/4 v0, 0x0
invoke-virtual {p1, v0, v0}, Landroidx/versionedparcelable/VersionedParcel;->setSerializationFlags(ZZ)V
iget v0, p0, Landroidx/media/AudioAttributesImplBase;->mUsage:I
const/4 v1, 0x1
invoke-virtual {p1, v0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(II)V
iget v0, p0, Landroidx/media/AudioAttributesImplBase;->mContentType:I
const/4 v1, 0x2
invoke-virtual {p1, v0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(II)V
iget v0, p0, Landroidx/media/AudioAttributesImplBase;->mFlags:I
const/4 v1, 0x3
invoke-virtual {p1, v0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(II)V
iget p0, p0, Landroidx/media/AudioAttributesImplBase;->mLegacyStream:I
const/4 v0, 0x4
invoke-virtual {p1, p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(II)V
return-void
.end method