mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
3859 lines
85 KiB
Smali
3859 lines
85 KiB
Smali
.class public abstract Landroidx/versionedparcelable/VersionedParcel;
|
|
.super Ljava/lang/Object;
|
|
.source "VersionedParcel.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final EX_BAD_PARCELABLE:I = -0x2
|
|
|
|
.field private static final EX_ILLEGAL_ARGUMENT:I = -0x3
|
|
|
|
.field private static final EX_ILLEGAL_STATE:I = -0x5
|
|
|
|
.field private static final EX_NETWORK_MAIN_THREAD:I = -0x6
|
|
|
|
.field private static final EX_NULL_POINTER:I = -0x4
|
|
|
|
.field private static final EX_PARCELABLE:I = -0x9
|
|
|
|
.field private static final EX_SECURITY:I = -0x1
|
|
|
|
.field private static final EX_UNSUPPORTED_OPERATION:I = -0x7
|
|
|
|
.field private static final TAG:Ljava/lang/String; = "VersionedParcel"
|
|
|
|
.field private static final TYPE_BINDER:I = 0x5
|
|
|
|
.field private static final TYPE_FLOAT:I = 0x8
|
|
|
|
.field private static final TYPE_INTEGER:I = 0x7
|
|
|
|
.field private static final TYPE_PARCELABLE:I = 0x2
|
|
|
|
.field private static final TYPE_SERIALIZABLE:I = 0x3
|
|
|
|
.field private static final TYPE_STRING:I = 0x4
|
|
|
|
.field private static final TYPE_VERSIONED_PARCELABLE:I = 0x1
|
|
|
|
|
|
# instance fields
|
|
.field protected final mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Class;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field protected final mReadCache:Landroidx/collection/ArrayMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field protected final mWriteCache:Landroidx/collection/ArrayMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/collection/ArrayMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;Landroidx/collection/ArrayMap;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"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 86
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/versionedparcelable/VersionedParcel;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
iput-object p2, p0, Landroidx/versionedparcelable/VersionedParcel;->mWriteCache:Landroidx/collection/ArrayMap;
|
|
|
|
iput-object p3, p0, Landroidx/versionedparcelable/VersionedParcel;->mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private createException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
.locals 2
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
.line 1237
|
|
:pswitch_0
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Unknown exception code: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, " msg "
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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
|
|
|
|
return-object p0
|
|
|
|
.line 1223
|
|
:pswitch_1
|
|
new-instance p0, Ljava/lang/SecurityException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/SecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1225
|
|
:pswitch_2
|
|
new-instance p0, Landroid/os/BadParcelableException;
|
|
|
|
invoke-direct {p0, p2}, Landroid/os/BadParcelableException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1227
|
|
:pswitch_3
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1229
|
|
:pswitch_4
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1231
|
|
:pswitch_5
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1233
|
|
:pswitch_6
|
|
new-instance p0, Landroid/os/NetworkOnMainThreadException;
|
|
|
|
invoke-direct {p0}, Landroid/os/NetworkOnMainThreadException;-><init>()V
|
|
|
|
return-object p0
|
|
|
|
.line 1235
|
|
:pswitch_7
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
.line 1221
|
|
:pswitch_8
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Exception;
|
|
|
|
return-object p0
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch -0x9
|
|
:pswitch_8
|
|
:pswitch_0
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private findParcelClass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">;)",
|
|
"Ljava/lang/Class;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcel;->mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1628
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Class;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1630
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getPackage()Ljava/lang/Package;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Package;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1631
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%s.%sParcelizer"
|
|
|
|
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 1632
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v0, v1, v2}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcel;->mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1633
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private getReadMethod(Ljava/lang/String;)Ljava/lang/reflect/Method;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/NoSuchMethodException;,
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcel;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1604
|
|
invoke-virtual {v0, p1}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/reflect/Method;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1606
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
const-class v0, Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
.line 1607
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {p1, v2, v1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v2, v2, [Ljava/lang/Class;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v0, v2, v3
|
|
|
|
const-string v0, "read"
|
|
|
|
.line 1608
|
|
invoke-virtual {v1, v0, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcel;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1609
|
|
invoke-virtual {p0, p1, v0}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected static getRootCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
.locals 1
|
|
|
|
.line 1208
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private getType(Ljava/lang/Object;)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 995
|
|
instance-of p0, p1, Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x4
|
|
|
|
return p0
|
|
|
|
.line 997
|
|
:cond_0
|
|
instance-of p0, p1, Landroid/os/Parcelable;
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
const/4 p0, 0x2
|
|
|
|
return p0
|
|
|
|
.line 999
|
|
:cond_1
|
|
instance-of p0, p1, Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
.line 1001
|
|
:cond_2
|
|
instance-of p0, p1, Ljava/io/Serializable;
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
const/4 p0, 0x3
|
|
|
|
return p0
|
|
|
|
.line 1003
|
|
:cond_3
|
|
instance-of p0, p1, Landroid/os/IBinder;
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
const/4 p0, 0x5
|
|
|
|
return p0
|
|
|
|
.line 1005
|
|
:cond_4
|
|
instance-of p0, p1, Ljava/lang/Integer;
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
const/4 p0, 0x7
|
|
|
|
return p0
|
|
|
|
.line 1007
|
|
:cond_5
|
|
instance-of p0, p1, Ljava/lang/Float;
|
|
|
|
if-eqz p0, :cond_6
|
|
|
|
const/16 p0, 0x8
|
|
|
|
return p0
|
|
|
|
.line 1010
|
|
:cond_6
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, " cannot be VersionedParcelled"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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
|
|
|
|
.method private getWriteMethod(Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/NoSuchMethodException;,
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcel;->mWriteCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1616
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/collection/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/reflect/Method;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1618
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->findParcelClass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1619
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Ljava/lang/Class;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object p1, v1, v2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-class v3, Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
const-string v2, "write"
|
|
|
|
.line 1620
|
|
invoke-virtual {v0, v2, v1}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object p0, p0, Landroidx/versionedparcelable/VersionedParcel;->mWriteCache:Landroidx/collection/ArrayMap;
|
|
|
|
.line 1621
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"S::",
|
|
"Ljava/util/Collection<",
|
|
"TT;>;>(TS;)TS;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1344
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 1349
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v2
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
return-object v1
|
|
|
|
:cond_1
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v2, v1, :cond_6
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v2, v1, :cond_5
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v2, v1, :cond_4
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v2, v1, :cond_3
|
|
|
|
const/4 v1, 0x5
|
|
|
|
if-eq v2, v1, :cond_2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_2
|
|
:goto_0
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1380
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1356
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
:goto_2
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1374
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readSerializable()Ljava/io/Serializable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_3
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1362
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_4
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1368
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
:goto_5
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private readException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
.locals 0
|
|
|
|
.line 1198
|
|
invoke-direct {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->createException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private readExceptionCode()I
|
|
.locals 0
|
|
|
|
.line 1193
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private writeCollection(Ljava/util/Collection;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 881
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
.line 885
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/Collection;->size()I
|
|
|
|
move-result v0
|
|
|
|
.line 886
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
.line 888
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->getType(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
.line 889
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
goto/16 :goto_7
|
|
|
|
.line 922
|
|
:pswitch_1
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 923
|
|
check-cast v0, Ljava/lang/Float;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 917
|
|
:pswitch_2
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_1
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 918
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 912
|
|
:pswitch_3
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_2
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 913
|
|
check-cast v0, Landroid/os/IBinder;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 892
|
|
:pswitch_4
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_3
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 893
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
goto :goto_3
|
|
|
|
.line 907
|
|
:pswitch_5
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_4
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 908
|
|
check-cast v0, Ljava/io/Serializable;
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
goto :goto_4
|
|
|
|
.line 897
|
|
:pswitch_6
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_5
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 898
|
|
check-cast v0, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;)V
|
|
|
|
goto :goto_5
|
|
|
|
.line 902
|
|
:pswitch_7
|
|
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_6
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
.line 903
|
|
check-cast v0, Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_1
|
|
:goto_7
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private writeCollection(Ljava/util/Collection;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 875
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 876
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private writeSerializable(Ljava/io/Serializable;)V
|
|
.locals 3
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 1063
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
.line 1066
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1067
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
.line 1069
|
|
new-instance v1, Ljava/io/ByteArrayOutputStream;
|
|
|
|
invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V
|
|
|
|
.line 1071
|
|
:try_start_0
|
|
new-instance v2, Ljava/io/ObjectOutputStream;
|
|
|
|
invoke-direct {v2, v1}, Ljava/io/ObjectOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
.line 1072
|
|
invoke-virtual {v2, p1}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
|
|
|
|
.line 1073
|
|
invoke-virtual {v2}, Ljava/io/ObjectOutputStream;->close()V
|
|
|
|
.line 1075
|
|
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeByteArray([B)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1077
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "VersionedParcelable encountered IOException writing serializable object (name = "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private writeVersionedParcelableCreator(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
.locals 2
|
|
|
|
.line 1042
|
|
:try_start_0
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->findParcelClass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 1047
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1044
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, " does not have a Parcelizer"
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected abstract closeField()V
|
|
.end method
|
|
|
|
.method protected abstract createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
.end method
|
|
|
|
.method public isStream()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method protected readArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1444
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 1448
|
|
:cond_0
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2, v0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 1450
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v3
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
return-object v1
|
|
|
|
:cond_1
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v3, v1, :cond_6
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v3, v1, :cond_5
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v3, v1, :cond_4
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v3, v1, :cond_3
|
|
|
|
const/4 v1, 0x5
|
|
|
|
if-eq v3, v1, :cond_2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_2
|
|
:goto_0
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1481
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1457
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
:goto_2
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1475
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readSerializable()Ljava/io/Serializable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_3
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1463
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
:goto_4
|
|
if-lez v0, :cond_7
|
|
|
|
.line 1469
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_4
|
|
|
|
.line 1487
|
|
:cond_7
|
|
:goto_5
|
|
invoke-virtual {v2, p1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readArray([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;I)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1435
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1438
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->readArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract readBoolean()Z
|
|
.end method
|
|
|
|
.method public readBoolean(ZI)Z
|
|
.locals 0
|
|
|
|
.line 399
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
.line 402
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method protected readBooleanArray()[Z
|
|
.locals 5
|
|
|
|
.line 587
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 591
|
|
:cond_0
|
|
new-array v1, v0, [Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_2
|
|
|
|
.line 593
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v4, v2
|
|
|
|
:goto_1
|
|
aput-boolean v4, v1, v3
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readBooleanArray([ZI)[Z
|
|
.locals 0
|
|
|
|
.line 578
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 581
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBooleanArray()[Z
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract readBundle()Landroid/os/Bundle;
|
|
.end method
|
|
|
|
.method public readBundle(Landroid/os/Bundle;I)Landroid/os/Bundle;
|
|
.locals 0
|
|
|
|
.line 493
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 496
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBundle()Landroid/os/Bundle;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readByte(BI)B
|
|
.locals 0
|
|
|
|
.line 1245
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
.line 1248
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p0
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
int-to-byte p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method protected abstract readByteArray()[B
|
|
.end method
|
|
|
|
.method public readByteArray([BI)[B
|
|
.locals 0
|
|
|
|
.line 472
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 475
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readByteArray()[B
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readCharArray([CI)[C
|
|
.locals 2
|
|
|
|
.line 625
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 628
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 632
|
|
:cond_1
|
|
new-array p2, p1, [C
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p1, :cond_2
|
|
|
|
.line 634
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
int-to-char v1, v1
|
|
|
|
aput-char v1, p2, v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-object p2
|
|
.end method
|
|
|
|
.method protected abstract readCharSequence()Ljava/lang/CharSequence;
|
|
.end method
|
|
|
|
.method public readCharSequence(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
|
|
.locals 0
|
|
|
|
.line 616
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 619
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readCharSequence()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract readDouble()D
|
|
.end method
|
|
|
|
.method public readDouble(DI)D
|
|
.locals 0
|
|
|
|
.line 441
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
return-wide p1
|
|
|
|
.line 444
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readDouble()D
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method protected readDoubleArray()[D
|
|
.locals 5
|
|
|
|
.line 804
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 808
|
|
:cond_0
|
|
new-array v1, v0, [D
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 810
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readDouble()D
|
|
|
|
move-result-wide v3
|
|
|
|
aput-wide v3, v1, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readDoubleArray([DI)[D
|
|
.locals 0
|
|
|
|
.line 795
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 798
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readDoubleArray()[D
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readException(Ljava/lang/Exception;I)Ljava/lang/Exception;
|
|
.locals 0
|
|
|
|
.line 1170
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1173
|
|
:cond_0
|
|
invoke-direct {p0}, Landroidx/versionedparcelable/VersionedParcel;->readExceptionCode()I
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 1175
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 1176
|
|
invoke-direct {p0, p2, p1}, Landroidx/versionedparcelable/VersionedParcel;->readException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
return-object p1
|
|
.end method
|
|
|
|
.method protected abstract readField(I)Z
|
|
.end method
|
|
|
|
.method protected abstract readFloat()F
|
|
.end method
|
|
|
|
.method public readFloat(FI)F
|
|
.locals 0
|
|
|
|
.line 430
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
.line 433
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method protected readFloatArray()[F
|
|
.locals 4
|
|
|
|
.line 760
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 764
|
|
:cond_0
|
|
new-array v1, v0, [F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 766
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result v3
|
|
|
|
aput v3, v1, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readFloatArray([FI)[F
|
|
.locals 0
|
|
|
|
.line 751
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 754
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloatArray()[F
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected readFromParcel(Ljava/lang/String;Landroidx/versionedparcelable/VersionedParcel;)Landroidx/versionedparcelable/VersionedParcelable;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">(",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/versionedparcelable/VersionedParcel;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1565
|
|
:try_start_0
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->getReadMethod(Ljava/lang/String;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1566
|
|
filled-new-array {p2}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-virtual {p0, p2, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/versionedparcelable/VersionedParcelable;
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_3
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1577
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 1575
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
.line 1570
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
instance-of p1, p1, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1571
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/RuntimeException;
|
|
|
|
throw p0
|
|
|
|
.line 1573
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
.line 1568
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method protected abstract readInt()I
|
|
.end method
|
|
|
|
.method public readInt(II)I
|
|
.locals 0
|
|
|
|
.line 409
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
.line 412
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method protected readIntArray()[I
|
|
.locals 4
|
|
|
|
.line 672
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 676
|
|
:cond_0
|
|
new-array v1, v0, [I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 678
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v3
|
|
|
|
aput v3, v1, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readIntArray([II)[I
|
|
.locals 0
|
|
|
|
.line 663
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 666
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readIntArray()[I
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readList(Ljava/util/List;I)Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"TT;>;I)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1337
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1340
|
|
:cond_0
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/util/List;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract readLong()J
|
|
.end method
|
|
|
|
.method public readLong(JI)J
|
|
.locals 0
|
|
|
|
.line 419
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
return-wide p1
|
|
|
|
.line 422
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readLong()J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method protected readLongArray()[J
|
|
.locals 5
|
|
|
|
.line 716
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 720
|
|
:cond_0
|
|
new-array v1, v0, [J
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 722
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readLong()J
|
|
|
|
move-result-wide v3
|
|
|
|
aput-wide v3, v1, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public readLongArray([JI)[J
|
|
.locals 0
|
|
|
|
.line 707
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 710
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readLongArray()[J
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readMap(Ljava/util/Map;I)Ljava/util/Map;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;I)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1401
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1404
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 1408
|
|
:cond_1
|
|
new-instance p2, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {p2}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
return-object p2
|
|
|
|
.line 1412
|
|
:cond_2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 1413
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 1414
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
.line 1415
|
|
invoke-direct {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
if-ge p0, p1, :cond_3
|
|
|
|
.line 1417
|
|
invoke-interface {v0, p0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, p0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {p2, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object p2
|
|
.end method
|
|
|
|
.method protected abstract readParcelable()Landroid/os/Parcelable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/os/Parcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public readParcelable(Landroid/os/Parcelable;I)Landroid/os/Parcelable;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/os/Parcelable;",
|
|
">(TT;I)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 481
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 484
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected readSerializable()Ljava/io/Serializable;
|
|
.locals 5
|
|
|
|
const-string v0, ")"
|
|
|
|
.line 1523
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 1532
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readByteArray()[B
|
|
|
|
move-result-object v2
|
|
|
|
.line 1533
|
|
new-instance v3, Ljava/io/ByteArrayInputStream;
|
|
|
|
invoke-direct {v3, v2}, Ljava/io/ByteArrayInputStream;-><init>([B)V
|
|
|
|
.line 1535
|
|
:try_start_0
|
|
new-instance v2, Landroidx/versionedparcelable/VersionedParcel$1;
|
|
|
|
invoke-direct {v2, p0, v3}, Landroidx/versionedparcelable/VersionedParcel$1;-><init>(Landroidx/versionedparcelable/VersionedParcel;Ljava/io/InputStream;)V
|
|
|
|
.line 1547
|
|
invoke-virtual {v2}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/io/Serializable;
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1553
|
|
new-instance v2, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "VersionedParcelable encountered ClassNotFoundException reading a Serializable object (name = "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v2, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 1549
|
|
new-instance v2, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "VersionedParcelable encountered IOException reading a Serializable object (name = "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v2, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v2
|
|
.end method
|
|
|
|
.method public readSet(Ljava/util/Set;I)Ljava/util/Set;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Set<",
|
|
"TT;>;I)",
|
|
"Ljava/util/Set<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1318
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1321
|
|
:cond_0
|
|
new-instance p1, Landroidx/collection/ArraySet;
|
|
|
|
invoke-direct {p1}, Landroidx/collection/ArraySet;-><init>()V
|
|
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/util/Set;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readSize(Landroid/util/Size;I)Landroid/util/Size;
|
|
.locals 0
|
|
|
|
.line 1256
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1259
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1260
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
.line 1261
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p0
|
|
|
|
.line 1262
|
|
new-instance p2, Landroid/util/Size;
|
|
|
|
invoke-direct {p2, p1, p0}, Landroid/util/Size;-><init>(II)V
|
|
|
|
return-object p2
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readSizeF(Landroid/util/SizeF;I)Landroid/util/SizeF;
|
|
.locals 0
|
|
|
|
.line 1272
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1275
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 1276
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p1
|
|
|
|
.line 1277
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p0
|
|
|
|
.line 1278
|
|
new-instance p2, Landroid/util/SizeF;
|
|
|
|
invoke-direct {p2, p1, p0}, Landroid/util/SizeF;-><init>(FF)V
|
|
|
|
return-object p2
|
|
|
|
:cond_1
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readSparseBooleanArray(Landroid/util/SparseBooleanArray;I)Landroid/util/SparseBooleanArray;
|
|
.locals 3
|
|
|
|
.line 1289
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1292
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 1296
|
|
:cond_1
|
|
new-instance p2, Landroid/util/SparseBooleanArray;
|
|
|
|
invoke-direct {p2, p1}, Landroid/util/SparseBooleanArray;-><init>(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p1, :cond_2
|
|
|
|
.line 1299
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p2, v1, v2}, Landroid/util/SparseBooleanArray;->put(IZ)V
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-object p2
|
|
.end method
|
|
|
|
.method protected abstract readString()Ljava/lang/String;
|
|
.end method
|
|
|
|
.method public readString(Ljava/lang/String;I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 451
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 454
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract readStrongBinder()Landroid/os/IBinder;
|
|
.end method
|
|
|
|
.method public readStrongBinder(Landroid/os/IBinder;I)Landroid/os/IBinder;
|
|
.locals 0
|
|
|
|
.line 461
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 464
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1509
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 1513
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroidx/versionedparcelable/VersionedParcel;->readFromParcel(Ljava/lang/String;Landroidx/versionedparcelable/VersionedParcel;)Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public readVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;I)Landroidx/versionedparcelable/VersionedParcelable;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">(TT;I)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1493
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 1496
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected abstract setOutputField(I)V
|
|
.end method
|
|
|
|
.method public setSerializationFlags(ZZ)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeArray([Ljava/lang/Object;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 949
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
.line 953
|
|
:cond_0
|
|
array-length v0, p1
|
|
|
|
.line 955
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-lez v0, :cond_6
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 957
|
|
aget-object v2, p1, v1
|
|
|
|
invoke-direct {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->getType(Ljava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
.line 958
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eq v2, v3, :cond_5
|
|
|
|
const/4 v3, 0x2
|
|
|
|
if-eq v2, v3, :cond_4
|
|
|
|
const/4 v3, 0x3
|
|
|
|
if-eq v2, v3, :cond_3
|
|
|
|
const/4 v3, 0x4
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
const/4 v3, 0x5
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_1
|
|
:goto_0
|
|
if-ge v1, v0, :cond_6
|
|
|
|
.line 986
|
|
aget-object v2, p1, v1
|
|
|
|
check-cast v2, Landroid/os/IBinder;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
if-ge v1, v0, :cond_6
|
|
|
|
.line 962
|
|
aget-object v2, p1, v1
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
:goto_2
|
|
if-ge v1, v0, :cond_6
|
|
|
|
.line 980
|
|
aget-object v2, p1, v1
|
|
|
|
check-cast v2, Ljava/io/Serializable;
|
|
|
|
invoke-direct {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
:goto_3
|
|
if-ge v1, v0, :cond_6
|
|
|
|
.line 968
|
|
aget-object v2, p1, v1
|
|
|
|
check-cast v2, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
:goto_4
|
|
if-ge v1, v0, :cond_6
|
|
|
|
.line 974
|
|
aget-object v2, p1, v1
|
|
|
|
check-cast v2, Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
:goto_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeArray([Ljava/lang/Object;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 941
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 942
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeArray([Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeBoolean(Z)V
|
|
.end method
|
|
|
|
.method public writeBoolean(ZI)V
|
|
.locals 0
|
|
|
|
.line 294
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 295
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeBooleanArray([Z)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 565
|
|
array-length v0, p1
|
|
|
|
.line 566
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 568
|
|
aget-boolean v2, p1, v1
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 571
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeBooleanArray([ZI)V
|
|
.locals 0
|
|
|
|
.line 557
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 558
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBooleanArray([Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeBundle(Landroid/os/Bundle;)V
|
|
.end method
|
|
|
|
.method public writeBundle(Landroid/os/Bundle;I)V
|
|
.locals 0
|
|
|
|
.line 285
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 286
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBundle(Landroid/os/Bundle;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeByte(BI)V
|
|
.locals 0
|
|
|
|
.line 504
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 505
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeByteArray([B)V
|
|
.end method
|
|
|
|
.method public writeByteArray([BI)V
|
|
.locals 0
|
|
|
|
.line 304
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 305
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeByteArray([B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeByteArray([BII)V
|
|
.end method
|
|
|
|
.method public writeByteArray([BIII)V
|
|
.locals 0
|
|
|
|
.line 316
|
|
invoke-virtual {p0, p4}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 317
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/versionedparcelable/VersionedParcel;->writeByteArray([BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeCharArray([CI)V
|
|
.locals 2
|
|
|
|
.line 601
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 603
|
|
array-length p2, p1
|
|
|
|
.line 604
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p2, :cond_1
|
|
|
|
.line 606
|
|
aget-char v1, p1, v0
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 609
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeCharSequence(Ljava/lang/CharSequence;)V
|
|
.end method
|
|
|
|
.method public writeCharSequence(Ljava/lang/CharSequence;I)V
|
|
.locals 0
|
|
|
|
.line 325
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 326
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeCharSequence(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeDouble(D)V
|
|
.end method
|
|
|
|
.method public writeDouble(DI)V
|
|
.locals 0
|
|
|
|
.line 361
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 362
|
|
invoke-virtual {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeDouble(D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeDoubleArray([D)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 782
|
|
array-length v0, p1
|
|
|
|
.line 783
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 785
|
|
aget-wide v2, p1, v1
|
|
|
|
invoke-virtual {p0, v2, v3}, Landroidx/versionedparcelable/VersionedParcel;->writeDouble(D)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 788
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeDoubleArray([DI)V
|
|
.locals 0
|
|
|
|
.line 774
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 775
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeDoubleArray([D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeException(Ljava/lang/Exception;I)V
|
|
.locals 2
|
|
|
|
.line 1107
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 1109
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->writeNoException()V
|
|
|
|
return-void
|
|
|
|
.line 1113
|
|
:cond_0
|
|
instance-of p2, p1, Landroid/os/Parcelable;
|
|
|
|
const/16 v0, -0x9
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 1114
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object p2
|
|
|
|
const-class v1, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
if-ne p2, v1, :cond_1
|
|
|
|
move p2, v0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1118
|
|
:cond_1
|
|
instance-of p2, p1, Ljava/lang/SecurityException;
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/4 p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1120
|
|
:cond_2
|
|
instance-of p2, p1, Landroid/os/BadParcelableException;
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
const/4 p2, -0x2
|
|
|
|
goto :goto_0
|
|
|
|
.line 1122
|
|
:cond_3
|
|
instance-of p2, p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
const/4 p2, -0x3
|
|
|
|
goto :goto_0
|
|
|
|
.line 1124
|
|
:cond_4
|
|
instance-of p2, p1, Ljava/lang/NullPointerException;
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
const/4 p2, -0x4
|
|
|
|
goto :goto_0
|
|
|
|
.line 1126
|
|
:cond_5
|
|
instance-of p2, p1, Ljava/lang/IllegalStateException;
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
const/4 p2, -0x5
|
|
|
|
goto :goto_0
|
|
|
|
.line 1128
|
|
:cond_6
|
|
instance-of p2, p1, Landroid/os/NetworkOnMainThreadException;
|
|
|
|
if-eqz p2, :cond_7
|
|
|
|
const/4 p2, -0x6
|
|
|
|
goto :goto_0
|
|
|
|
.line 1130
|
|
:cond_7
|
|
instance-of p2, p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
const/4 p2, -0x7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_8
|
|
const/4 p2, 0x0
|
|
|
|
.line 1133
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-nez p2, :cond_a
|
|
|
|
.line 1135
|
|
instance-of p0, p1, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p0, :cond_9
|
|
|
|
.line 1136
|
|
check-cast p1, Ljava/lang/RuntimeException;
|
|
|
|
throw p1
|
|
|
|
.line 1138
|
|
:cond_9
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p0
|
|
|
|
.line 1140
|
|
:cond_a
|
|
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
if-eq p2, v0, :cond_b
|
|
|
|
goto :goto_1
|
|
|
|
.line 1144
|
|
:cond_b
|
|
check-cast p1, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeFloat(F)V
|
|
.end method
|
|
|
|
.method public writeFloat(FI)V
|
|
.locals 0
|
|
|
|
.line 352
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 353
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeFloatArray([F)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 738
|
|
array-length v0, p1
|
|
|
|
.line 739
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 741
|
|
aget v2, p1, v1
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 744
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeFloatArray([FI)V
|
|
.locals 0
|
|
|
|
.line 730
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 731
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeFloatArray([F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeInt(I)V
|
|
.end method
|
|
|
|
.method public writeInt(II)V
|
|
.locals 0
|
|
|
|
.line 334
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 335
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeIntArray([I)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 650
|
|
array-length v0, p1
|
|
|
|
.line 651
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 653
|
|
aget v2, p1, v1
|
|
|
|
invoke-virtual {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 656
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeIntArray([II)V
|
|
.locals 0
|
|
|
|
.line 642
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 643
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeIntArray([I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeList(Ljava/util/List;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 840
|
|
invoke-direct {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeLong(J)V
|
|
.end method
|
|
|
|
.method public writeLong(JI)V
|
|
.locals 0
|
|
|
|
.line 343
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 344
|
|
invoke-virtual {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeLong(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeLongArray([J)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 694
|
|
array-length v0, p1
|
|
|
|
.line 695
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 697
|
|
aget-wide v2, p1, v1
|
|
|
|
invoke-virtual {p0, v2, v3}, Landroidx/versionedparcelable/VersionedParcel;->writeLong(J)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
.line 700
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeLongArray([JI)V
|
|
.locals 0
|
|
|
|
.line 686
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 687
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeLongArray([J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeMap(Ljava/util/Map;I)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 854
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 856
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
.line 859
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/Map;->size()I
|
|
|
|
move-result p2
|
|
|
|
.line 860
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 864
|
|
:cond_1
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 865
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 866
|
|
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/util/Map$Entry;
|
|
|
|
.line 867
|
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {p2, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 868
|
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 870
|
|
:cond_2
|
|
invoke-direct {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
.line 871
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeNoException()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1157
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeParcelable(Landroid/os/Parcelable;)V
|
|
.end method
|
|
|
|
.method public writeParcelable(Landroid/os/Parcelable;I)V
|
|
.locals 0
|
|
|
|
.line 391
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 392
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeSerializable(Ljava/io/Serializable;I)V
|
|
.locals 0
|
|
|
|
.line 1057
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 1058
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeSet(Ljava/util/Set;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Set<",
|
|
"TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 826
|
|
invoke-direct {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeSize(Landroid/util/Size;I)V
|
|
.locals 0
|
|
|
|
.line 514
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
.line 515
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 517
|
|
invoke-virtual {p1}, Landroid/util/Size;->getWidth()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
.line 518
|
|
invoke-virtual {p1}, Landroid/util/Size;->getHeight()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeSizeF(Landroid/util/SizeF;I)V
|
|
.locals 0
|
|
|
|
.line 528
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
.line 529
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 531
|
|
invoke-virtual {p1}, Landroid/util/SizeF;->getWidth()F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
.line 532
|
|
invoke-virtual {p1}, Landroid/util/SizeF;->getHeight()F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeSparseBooleanArray(Landroid/util/SparseBooleanArray;I)V
|
|
.locals 2
|
|
|
|
.line 539
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 541
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
.line 544
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/util/SparseBooleanArray;->size()I
|
|
|
|
move-result p2
|
|
|
|
.line 545
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p2, :cond_1
|
|
|
|
.line 548
|
|
invoke-virtual {p1, v0}, Landroid/util/SparseBooleanArray;->keyAt(I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
.line 549
|
|
invoke-virtual {p1, v0}, Landroid/util/SparseBooleanArray;->valueAt(I)Z
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeString(Ljava/lang/String;)V
|
|
.end method
|
|
|
|
.method public writeString(Ljava/lang/String;I)V
|
|
.locals 0
|
|
|
|
.line 370
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 371
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeStrongBinder(Landroid/os/IBinder;)V
|
|
.end method
|
|
|
|
.method public writeStrongBinder(Landroid/os/IBinder;I)V
|
|
.locals 0
|
|
|
|
.line 379
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 380
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract writeStrongInterface(Landroid/os/IInterface;)V
|
|
.end method
|
|
|
|
.method public writeStrongInterface(Landroid/os/IInterface;I)V
|
|
.locals 0
|
|
|
|
.line 276
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 277
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongInterface(Landroid/os/IInterface;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected writeToParcel(Landroidx/versionedparcelable/VersionedParcelable;Landroidx/versionedparcelable/VersionedParcel;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">(TT;",
|
|
"Landroidx/versionedparcelable/VersionedParcel;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1586
|
|
:try_start_0
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->getWriteMethod(Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1587
|
|
filled-new-array {p1, p2}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-virtual {p0, p2, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_3
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 1598
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 1596
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
.line 1591
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
instance-of p1, p1, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1592
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/RuntimeException;
|
|
|
|
throw p0
|
|
|
|
.line 1594
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
.line 1589
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p1, p2, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method protected writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 1029
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
.line 1032
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelableCreator(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
.line 1034
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1035
|
|
invoke-virtual {p0, p1, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeToParcel(Landroidx/versionedparcelable/VersionedParcelable;Landroidx/versionedparcelable/VersionedParcel;)V
|
|
|
|
.line 1036
|
|
invoke-virtual {v0}, Landroidx/versionedparcelable/VersionedParcel;->closeField()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;I)V
|
|
.locals 0
|
|
|
|
.line 1021
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
.line 1022
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
return-void
|
|
.end method
|