mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
1611 lines
40 KiB
Smali
1611 lines
40 KiB
Smali
.class Landroidx/versionedparcelable/VersionedParcelStream;
|
|
.super Landroidx/versionedparcelable/VersionedParcel;
|
|
.source "VersionedParcelStream.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final TYPE_BOOLEAN:I = 0x5
|
|
|
|
.field private static final TYPE_BOOLEAN_ARRAY:I = 0x6
|
|
|
|
.field private static final TYPE_DOUBLE:I = 0x7
|
|
|
|
.field private static final TYPE_DOUBLE_ARRAY:I = 0x8
|
|
|
|
.field private static final TYPE_FLOAT:I = 0xd
|
|
|
|
.field private static final TYPE_FLOAT_ARRAY:I = 0xe
|
|
|
|
.field private static final TYPE_INT:I = 0x9
|
|
|
|
.field private static final TYPE_INT_ARRAY:I = 0xa
|
|
|
|
.field private static final TYPE_LONG:I = 0xb
|
|
|
|
.field private static final TYPE_LONG_ARRAY:I = 0xc
|
|
|
|
.field private static final TYPE_NULL:I = 0x0
|
|
|
|
.field private static final TYPE_STRING:I = 0x3
|
|
|
|
.field private static final TYPE_STRING_ARRAY:I = 0x4
|
|
|
|
.field private static final TYPE_SUB_BUNDLE:I = 0x1
|
|
|
|
.field private static final TYPE_SUB_PERSISTABLE_BUNDLE:I = 0x2
|
|
|
|
.field private static final UTF_16:Ljava/nio/charset/Charset;
|
|
|
|
|
|
# instance fields
|
|
.field mCount:I
|
|
|
|
.field private mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.field private mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.field private mFieldBuffer:Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
.field private mFieldId:I
|
|
|
|
.field mFieldSize:I
|
|
|
|
.field private mIgnoreParcelables:Z
|
|
|
|
.field private final mMasterInput:Ljava/io/DataInputStream;
|
|
|
|
.field private final mMasterOutput:Ljava/io/DataOutputStream;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "UTF-16"
|
|
|
|
.line 44
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Landroidx/versionedparcelable/VersionedParcelStream;->UTF_16:Ljava/nio/charset/Charset;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/io/InputStream;Ljava/io/OutputStream;)V
|
|
.locals 6
|
|
|
|
.line 76
|
|
new-instance v3, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v3}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
new-instance v4, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v4}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
new-instance v5, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {v5}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/versionedparcelable/VersionedParcelStream;-><init>(Ljava/io/InputStream;Ljava/io/OutputStream;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/io/InputStream;Ljava/io/OutputStream;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/io/InputStream;",
|
|
"Ljava/io/OutputStream;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;",
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Class;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 84
|
|
invoke-direct {p0, p3, p4, p5}, Landroidx/versionedparcelable/VersionedParcel;-><init>(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
const/4 p3, 0x0
|
|
|
|
iput p3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCount:I
|
|
|
|
const/4 p3, -0x1
|
|
|
|
iput p3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldId:I
|
|
|
|
iput p3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldSize:I
|
|
|
|
const/4 p3, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 85
|
|
new-instance p4, Ljava/io/DataInputStream;
|
|
|
|
new-instance p5, Landroidx/versionedparcelable/VersionedParcelStream$1;
|
|
|
|
invoke-direct {p5, p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream$1;-><init>(Landroidx/versionedparcelable/VersionedParcelStream;Ljava/io/InputStream;)V
|
|
|
|
invoke-direct {p4, p5}, Ljava/io/DataInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p4, p3
|
|
|
|
:goto_0
|
|
iput-object p4, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterInput:Ljava/io/DataInputStream;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 120
|
|
new-instance p3, Ljava/io/DataOutputStream;
|
|
|
|
invoke-direct {p3, p2}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
:cond_1
|
|
iput-object p3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterOutput:Ljava/io/DataOutputStream;
|
|
|
|
iput-object p4, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
iput-object p3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private readObject(ILjava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
.line 536
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "Unknown type "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 533
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readFloatArray()[F
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putFloatArray(Ljava/lang/String;[F)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 530
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readFloat()F
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 527
|
|
:pswitch_2
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readLongArray()[J
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putLongArray(Ljava/lang/String;[J)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 524
|
|
:pswitch_3
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readLong()J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-virtual {p3, p2, p0, p1}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 521
|
|
:pswitch_4
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readIntArray()[I
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putIntArray(Ljava/lang/String;[I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 518
|
|
:pswitch_5
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readInt()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 515
|
|
:pswitch_6
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readDoubleArray()[D
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putDoubleArray(Ljava/lang/String;[D)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 512
|
|
:pswitch_7
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readDouble()D
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-virtual {p3, p2, p0, p1}, Landroid/os/Bundle;->putDouble(Ljava/lang/String;D)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 509
|
|
:pswitch_8
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readBooleanArray()[Z
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putBooleanArray(Ljava/lang/String;[Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 506
|
|
:pswitch_9
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readBoolean()Z
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_a
|
|
const/4 p1, 0x0
|
|
|
|
new-array p1, p1, [Ljava/lang/String;
|
|
|
|
.line 503
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->readArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 500
|
|
:pswitch_b
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 497
|
|
:pswitch_c
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readBundle()Landroid/os/Bundle;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 494
|
|
:pswitch_d
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readBundle()Landroid/os/Bundle;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_e
|
|
const/4 p0, 0x0
|
|
|
|
.line 491
|
|
invoke-virtual {p3, p2, p0}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
: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_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private writeObject(Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 443
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 444
|
|
:cond_0
|
|
instance-of v0, p1, Landroid/os/Bundle;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 445
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 446
|
|
check-cast p1, Landroid/os/Bundle;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeBundle(Landroid/os/Bundle;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 447
|
|
:cond_1
|
|
instance-of v0, p1, Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v0, 0x3
|
|
|
|
.line 448
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 449
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeString(Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 450
|
|
:cond_2
|
|
instance-of v0, p1, [Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/4 v0, 0x4
|
|
|
|
.line 451
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 452
|
|
check-cast p1, [Ljava/lang/String;
|
|
|
|
check-cast p1, [Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeArray([Ljava/lang/Object;)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 453
|
|
:cond_3
|
|
instance-of v0, p1, Ljava/lang/Boolean;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x5
|
|
|
|
.line 454
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 455
|
|
check-cast p1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeBoolean(Z)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 456
|
|
:cond_4
|
|
instance-of v0, p1, [Z
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const/4 v0, 0x6
|
|
|
|
.line 457
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 458
|
|
check-cast p1, [Z
|
|
|
|
check-cast p1, [Z
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeBooleanArray([Z)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 459
|
|
:cond_5
|
|
instance-of v0, p1, Ljava/lang/Double;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x7
|
|
|
|
.line 460
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 461
|
|
check-cast p1, Ljava/lang/Double;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeDouble(D)V
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 462
|
|
:cond_6
|
|
instance-of v0, p1, [D
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
const/16 v0, 0x8
|
|
|
|
.line 463
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 464
|
|
check-cast p1, [D
|
|
|
|
check-cast p1, [D
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeDoubleArray([D)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 465
|
|
:cond_7
|
|
instance-of v0, p1, Ljava/lang/Integer;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
const/16 v0, 0x9
|
|
|
|
.line 466
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 467
|
|
check-cast p1, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 468
|
|
:cond_8
|
|
instance-of v0, p1, [I
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const/16 v0, 0xa
|
|
|
|
.line 469
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 470
|
|
check-cast p1, [I
|
|
|
|
check-cast p1, [I
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeIntArray([I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 471
|
|
:cond_9
|
|
instance-of v0, p1, Ljava/lang/Long;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
const/16 v0, 0xb
|
|
|
|
.line 472
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 473
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeLong(J)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 474
|
|
:cond_a
|
|
instance-of v0, p1, [J
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
const/16 v0, 0xc
|
|
|
|
.line 475
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 476
|
|
check-cast p1, [J
|
|
|
|
check-cast p1, [J
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeLongArray([J)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 477
|
|
:cond_b
|
|
instance-of v0, p1, Ljava/lang/Float;
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
const/16 v0, 0xd
|
|
|
|
.line 478
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 479
|
|
check-cast p1, Ljava/lang/Float;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeFloat(F)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 480
|
|
:cond_c
|
|
instance-of v0, p1, [F
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/16 v0, 0xe
|
|
|
|
.line 481
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcelStream;->writeInt(I)V
|
|
|
|
.line 482
|
|
check-cast p1, [F
|
|
|
|
check-cast p1, [F
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeFloatArray([F)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 484
|
|
:cond_d
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Unsupported type "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public closeField()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldBuffer:Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 144
|
|
:try_start_0
|
|
iget-object v0, v0, Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;->mOutput:Ljava/io/ByteArrayOutputStream;
|
|
|
|
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->size()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldBuffer:Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
.line 145
|
|
invoke-virtual {v0}, Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;->flushField()V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldBuffer:Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 148
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
.locals 7
|
|
|
|
.line 156
|
|
new-instance v6, Landroidx/versionedparcelable/VersionedParcelStream;
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
iget-object v2, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
iget-object v3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
iget-object v4, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mWriteCache:Landroidx/collection/ArrayMap;
|
|
|
|
iget-object v5, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
|
|
move-object v0, v6
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/versionedparcelable/VersionedParcelStream;-><init>(Ljava/io/InputStream;Ljava/io/OutputStream;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method public isStream()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public readBoolean()Z
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 402
|
|
invoke-virtual {p0}, Ljava/io/DataInputStream;->readBoolean()Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 404
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readBundle()Landroid/os/Bundle;
|
|
.locals 5
|
|
|
|
.line 429
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 433
|
|
:cond_0
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 435
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
.line 436
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->readInt()I
|
|
|
|
move-result v4
|
|
|
|
invoke-direct {p0, v4, v3, v1}, Landroidx/versionedparcelable/VersionedParcelStream;->readObject(ILjava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readByteArray()[B
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 381
|
|
invoke-virtual {v0}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 383
|
|
new-array v0, v0, [B
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 384
|
|
invoke-virtual {p0, v0}, Ljava/io/DataInputStream;->readFully([B)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 390
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method protected readCharSequence()Ljava/lang/CharSequence;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readDouble()D
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 356
|
|
invoke-virtual {p0}, Ljava/io/DataInputStream;->readDouble()D
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-wide v0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 358
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readField(I)Z
|
|
.locals 4
|
|
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
iget v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldId:I
|
|
|
|
if-ne v1, p1, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
.line 167
|
|
:cond_0
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
iget v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCount:I
|
|
|
|
iget v2, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldSize:I
|
|
|
|
if-ge v1, v2, :cond_2
|
|
|
|
iget-object v3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterInput:Ljava/io/DataInputStream;
|
|
|
|
sub-int/2addr v2, v1
|
|
|
|
int-to-long v1, v2
|
|
|
|
.line 171
|
|
invoke-virtual {v3, v1, v2}, Ljava/io/DataInputStream;->skip(J)J
|
|
|
|
:cond_2
|
|
const/4 v1, -0x1
|
|
|
|
iput v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldSize:I
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterInput:Ljava/io/DataInputStream;
|
|
|
|
.line 174
|
|
invoke-virtual {v1}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
iput v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCount:I
|
|
|
|
const v2, 0xffff
|
|
|
|
and-int v3, v1, v2
|
|
|
|
if-ne v3, v2, :cond_3
|
|
|
|
iget-object v3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterInput:Ljava/io/DataInputStream;
|
|
|
|
.line 178
|
|
invoke-virtual {v3}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result v3
|
|
|
|
:cond_3
|
|
shr-int/lit8 v1, v1, 0x10
|
|
|
|
and-int/2addr v1, v2
|
|
|
|
iput v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldId:I
|
|
|
|
iput v3, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldSize:I
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public readFloat()F
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 347
|
|
invoke-virtual {p0}, Ljava/io/DataInputStream;->readFloat()F
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 349
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readInt()I
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 329
|
|
invoke-virtual {p0}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 331
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readLong()J
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 338
|
|
invoke-virtual {p0}, Ljava/io/DataInputStream;->readLong()J
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-wide v0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 340
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readParcelable()Landroid/os/Parcelable;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/os/Parcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 365
|
|
invoke-virtual {v0}, Ljava/io/DataInputStream;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 367
|
|
new-array v0, v0, [B
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentInput:Ljava/io/DataInputStream;
|
|
|
|
.line 368
|
|
invoke-virtual {p0, v0}, Ljava/io/DataInputStream;->readFully([B)V
|
|
|
|
.line 369
|
|
new-instance p0, Ljava/lang/String;
|
|
|
|
sget-object v1, Landroidx/versionedparcelable/VersionedParcelStream;->UTF_16:Ljava/nio/charset/Charset;
|
|
|
|
invoke-direct {p0, v0, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 374
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public readStrongBinder()Landroid/os/IBinder;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOutputField(I)V
|
|
.locals 2
|
|
|
|
.line 191
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcelStream;->closeField()V
|
|
|
|
.line 192
|
|
new-instance v0, Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mMasterOutput:Ljava/io/DataOutputStream;
|
|
|
|
invoke-direct {v0, p1, v1}, Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;-><init>(ILjava/io/DataOutputStream;)V
|
|
|
|
iput-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mFieldBuffer:Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;
|
|
|
|
.line 193
|
|
iget-object p1, v0, Landroidx/versionedparcelable/VersionedParcelStream$FieldBuffer;->mDataStream:Ljava/io/DataOutputStream;
|
|
|
|
iput-object p1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSerializationFlags(ZZ)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iput-boolean p2, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mIgnoreParcelables:Z
|
|
|
|
return-void
|
|
|
|
.line 135
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
const-string p1, "Serialization of this object is not allowed"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public writeBoolean(Z)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 288
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeBoolean(Z)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 290
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeBundle(Landroid/os/Bundle;)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 412
|
|
:try_start_0
|
|
invoke-virtual {p1}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 413
|
|
invoke-interface {v0}, Ljava/util/Set;->size()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
|
|
.line 414
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
.line 415
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeString(Ljava/lang/String;)V
|
|
|
|
.line 416
|
|
invoke-virtual {p1, v1}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 417
|
|
invoke-direct {p0, v1}, Landroidx/versionedparcelable/VersionedParcelStream;->writeObject(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 420
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 423
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeByteArray([B)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 200
|
|
array-length v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 201
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->write([B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 203
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 206
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeByteArray([BII)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 214
|
|
invoke-virtual {v0, p3}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 215
|
|
invoke-virtual {p0, p1, p2, p3}, Ljava/io/DataOutputStream;->write([BII)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 217
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 220
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method protected writeCharSequence(Ljava/lang/CharSequence;)V
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mIgnoreParcelables:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 227
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
const-string p1, "CharSequence cannot be written to an OutputStream"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public writeDouble(D)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 263
|
|
invoke-virtual {p0, p1, p2}, Ljava/io/DataOutputStream;->writeDouble(D)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 265
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeFloat(F)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 253
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeFloat(F)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 255
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeInt(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 234
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 236
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeLong(J)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 243
|
|
invoke-virtual {p0, p1, p2}, Ljava/io/DataOutputStream;->writeLong(J)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 245
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeParcelable(Landroid/os/Parcelable;)V
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mIgnoreParcelables:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 304
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
const-string p1, "Parcelables cannot be written to an OutputStream"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public writeString(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
:try_start_0
|
|
sget-object v0, Landroidx/versionedparcelable/VersionedParcelStream;->UTF_16:Ljava/nio/charset/Charset;
|
|
|
|
.line 274
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 275
|
|
array-length v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
.line 276
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->write([B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mCurrentOutput:Ljava/io/DataOutputStream;
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 278
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 281
|
|
new-instance p1, Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
|
|
invoke-direct {p1, p0}, Landroidx/versionedparcelable/VersionedParcel$ParcelException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeStrongBinder(Landroid/os/IBinder;)V
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mIgnoreParcelables:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 297
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
const-string p1, "Binders cannot be written to an OutputStream"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public writeStrongInterface(Landroid/os/IInterface;)V
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Landroidx/versionedparcelable/VersionedParcelStream;->mIgnoreParcelables:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 311
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
const-string p1, "Binders cannot be written to an OutputStream"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|