3523 lines
80 KiB
Smali
3523 lines
80 KiB
Smali
.class public abstract Landroidx/versionedparcelable/VersionedParcel;
|
|
.super Ljava/lang/Object;
|
|
.source "VersionedParcel.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/versionedparcelable/VersionedParcel$ParcelException;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final EX_BAD_PARCELABLE:I = -0x2
|
|
|
|
.field public static final EX_ILLEGAL_ARGUMENT:I = -0x3
|
|
|
|
.field public static final EX_ILLEGAL_STATE:I = -0x5
|
|
|
|
.field public static final EX_NETWORK_MAIN_THREAD:I = -0x6
|
|
|
|
.field public static final EX_NULL_POINTER:I = -0x4
|
|
|
|
.field public static final EX_PARCELABLE:I = -0x9
|
|
|
|
.field public static final EX_SECURITY:I = -0x1
|
|
|
|
.field public static final EX_UNSUPPORTED_OPERATION:I = -0x7
|
|
|
|
.field public static final TAG:Ljava/lang/String; = "VersionedParcel"
|
|
|
|
.field public static final TYPE_BINDER:I = 0x5
|
|
|
|
.field public static final TYPE_FLOAT:I = 0x8
|
|
|
|
.field public static final TYPE_INTEGER:I = 0x7
|
|
|
|
.field public static final TYPE_PARCELABLE:I = 0x2
|
|
|
|
.field public static final TYPE_SERIALIZABLE:I = 0x3
|
|
|
|
.field public static final TYPE_STRING:I = 0x4
|
|
|
|
.field public static final TYPE_VERSIONED_PARCELABLE:I = 0x1
|
|
|
|
|
|
# instance fields
|
|
.field public 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 public 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 public 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
|
|
|
|
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 3
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "Unknown exception code: "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " msg "
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
|
|
:pswitch_1
|
|
new-instance p1, Ljava/lang/SecurityException;
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/SecurityException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_2
|
|
new-instance p1, Landroid/os/BadParcelableException;
|
|
|
|
invoke-direct {p1, p2}, Landroid/os/BadParcelableException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_3
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_4
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_5
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_6
|
|
new-instance p1, Landroid/os/NetworkOnMainThreadException;
|
|
|
|
invoke-direct {p1}, Landroid/os/NetworkOnMainThreadException;-><init>()V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_7
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:pswitch_8
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Exception;
|
|
|
|
return-object p1
|
|
|
|
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 4
|
|
.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;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Class;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
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
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v0, v1, v2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v1, v0
|
|
|
|
const-string v0, "%s.%sParcelizer"
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v2, v1}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcel;->mParcelizerCache:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1, v0}, Landroidx/collection/SimpleArrayMap;->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
|
|
|
|
const-class v0, Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/VersionedParcel;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v1, p1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/reflect/Method;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
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"
|
|
|
|
invoke-virtual {v1, v0, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/VersionedParcel;->mReadCache:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static getRootCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Throwable;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
: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 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;)I"
|
|
}
|
|
.end annotation
|
|
|
|
instance-of v0, p1, Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x4
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
instance-of v0, p1, Landroid/os/Parcelable;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 p1, 0x2
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
instance-of v0, p1, Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
instance-of v0, p1, Ljava/io/Serializable;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/4 p1, 0x3
|
|
|
|
return p1
|
|
|
|
:cond_3
|
|
instance-of v0, p1, Landroid/os/IBinder;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 p1, 0x5
|
|
|
|
return p1
|
|
|
|
:cond_4
|
|
instance-of v0, p1, Ljava/lang/Integer;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const/4 p1, 0x7
|
|
|
|
return p1
|
|
|
|
:cond_5
|
|
instance-of v0, p1, Ljava/lang/Float;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/16 p1, 0x8
|
|
|
|
return p1
|
|
|
|
:cond_6
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
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;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " cannot be VersionedParcelled"
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.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;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/reflect/Method;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->findParcelClass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
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"
|
|
|
|
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 v1, p0, Landroidx/versionedparcelable/VersionedParcel;->mWriteCache:Landroidx/collection/ArrayMap;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1, v0}, Landroidx/collection/SimpleArrayMap;->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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->createException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private readExceptionCode()I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/Collection;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
goto/16 :goto_7
|
|
|
|
: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
|
|
|
|
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
|
|
|
|
: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
|
|
|
|
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
|
|
|
|
: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
|
|
|
|
check-cast v0, Landroid/os/IBinder;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
goto :goto_2
|
|
|
|
: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
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
goto :goto_3
|
|
|
|
: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
|
|
|
|
check-cast v0, Ljava/io/Serializable;
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeSerializable(Ljava/io/Serializable;)V
|
|
|
|
goto :goto_4
|
|
|
|
: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
|
|
|
|
check-cast v0, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeParcelable(Landroid/os/Parcelable;)V
|
|
|
|
goto :goto_5
|
|
|
|
: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
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private writeSerializable(Ljava/io/Serializable;)V
|
|
.locals 4
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
: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
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
new-instance v1, Ljava/io/ByteArrayOutputStream;
|
|
|
|
invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V
|
|
|
|
:try_start_0
|
|
new-instance v2, Ljava/io/ObjectOutputStream;
|
|
|
|
invoke-direct {v2, v1}, Ljava/io/ObjectOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
invoke-virtual {v2, p1}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
|
|
|
|
invoke-virtual {v2}, Ljava/io/ObjectOutputStream;->close()V
|
|
|
|
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 p1
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v2, "VersionedParcelable encountered IOException writing serializable object (name = "
|
|
|
|
const-string v3, ")"
|
|
|
|
invoke-static {v2, v0, v3}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method private writeVersionedParcelableCreator(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
.locals 3
|
|
|
|
: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
|
|
|
|
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 v0
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, 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 {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " does not have a Parcelizer"
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v1, p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract closeField()V
|
|
.end method
|
|
|
|
.method public abstract createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
.end method
|
|
|
|
.method public isStream()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public readArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
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
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2, v0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
:cond_7
|
|
:goto_5
|
|
invoke-virtual {v2, p1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->readArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readBoolean()Z
|
|
.end method
|
|
|
|
.method public readBoolean(ZI)Z
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public readBooleanArray()[Z
|
|
.locals 5
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v1, v0, [Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_2
|
|
|
|
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
|
|
const/4 v4, 0x0
|
|
|
|
: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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBooleanArray()[Z
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readBundle()Landroid/os/Bundle;
|
|
.end method
|
|
|
|
.method public readBundle(Landroid/os/Bundle;I)Landroid/os/Bundle;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBundle()Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readByte(BI)B
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public abstract readByteArray()[B
|
|
.end method
|
|
|
|
.method public readByteArray([BI)[B
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readByteArray()[B
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readCharArray([CI)[C
|
|
.locals 2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-array p2, p1, [C
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p1, :cond_2
|
|
|
|
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 public abstract readCharSequence()Ljava/lang/CharSequence;
|
|
.end method
|
|
|
|
.method public readCharSequence(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readCharSequence()Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readDouble()D
|
|
.end method
|
|
|
|
.method public readDouble(DI)D
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
return-wide p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readDouble()D
|
|
|
|
move-result-wide p1
|
|
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public readDoubleArray()[D
|
|
.locals 5
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v1, v0, [D
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readDoubleArray()[D
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readException(Ljava/lang/Exception;I)Ljava/lang/Exception;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-direct {p0}, Landroidx/versionedparcelable/VersionedParcel;->readExceptionCode()I
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p2, p1}, Landroidx/versionedparcelable/VersionedParcel;->readException(ILjava/lang/String;)Ljava/lang/Exception;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readField(I)Z
|
|
.end method
|
|
|
|
.method public abstract readFloat()F
|
|
.end method
|
|
|
|
.method public readFloat(FI)F
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public readFloatArray()[F
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v1, v0, [F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloatArray()[F
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readFromParcel(Ljava/lang/String;Landroidx/versionedparcelable/VersionedParcel;)Landroidx/versionedparcelable/VersionedParcelable;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">(",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/versionedparcelable/VersionedParcel;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->getReadMethod(Ljava/lang/String;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object p2, v1, v2
|
|
|
|
invoke-virtual {p1, v0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, 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 p1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_1
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_2
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p2
|
|
|
|
instance-of p2, p2, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/RuntimeException;
|
|
|
|
throw p1
|
|
|
|
:cond_0
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_3
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public abstract readInt()I
|
|
.end method
|
|
|
|
.method public readInt(II)I
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public readIntArray()[I
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v1, v0, [I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readIntArray()[I
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
: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 p1
|
|
|
|
check-cast p1, Ljava/util/List;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readLong()J
|
|
.end method
|
|
|
|
.method public readLong(JI)J
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p3
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
return-wide p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readLong()J
|
|
|
|
move-result-wide p1
|
|
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public readLongArray()[J
|
|
.locals 5
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v1, v0, [J
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readLongArray()[J
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readMap(Ljava/util/Map;I)Ljava/util/Map;
|
|
.locals 5
|
|
.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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p2, Landroidx/collection/ArrayMap;
|
|
|
|
invoke-direct {p2}, Landroidx/collection/ArrayMap;-><init>()V
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
return-object p2
|
|
|
|
:cond_2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
invoke-direct {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->readCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, p1, :cond_3
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {p2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public 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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readParcelable()Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readSerializable()Ljava/io/Serializable;
|
|
.locals 5
|
|
|
|
const-string v0, ")"
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readByteArray()[B
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Ljava/io/ByteArrayInputStream;
|
|
|
|
invoke-direct {v3, v2}, Ljava/io/ByteArrayInputStream;-><init>([B)V
|
|
|
|
: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
|
|
|
|
invoke-virtual {v2}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, 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 v2
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
new-instance v3, Ljava/lang/RuntimeException;
|
|
|
|
const-string v4, "VersionedParcelable encountered ClassNotFoundException reading a Serializable object (name = "
|
|
|
|
invoke-static {v4, v1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v3, v0, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v3
|
|
|
|
:catch_1
|
|
move-exception v2
|
|
|
|
new-instance v3, Ljava/lang/RuntimeException;
|
|
|
|
const-string v4, "VersionedParcelable encountered IOException reading a Serializable object (name = "
|
|
|
|
invoke-static {v4, v1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v3, v0, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v3
|
|
.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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
: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 p1
|
|
|
|
check-cast p1, Ljava/util/Set;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readSize(Landroid/util/Size;I)Landroid/util/Size;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p2
|
|
|
|
new-instance v0, Landroid/util/Size;
|
|
|
|
invoke-direct {v0, p1, p2}, Landroid/util/Size;-><init>(II)V
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readSizeF(Landroid/util/SizeF;I)Landroid/util/SizeF;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readBoolean()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readFloat()F
|
|
|
|
move-result p2
|
|
|
|
new-instance v0, Landroid/util/SizeF;
|
|
|
|
invoke-direct {v0, p1, p2}, Landroid/util/SizeF;-><init>(FF)V
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readSparseBooleanArray(Landroid/util/SparseBooleanArray;I)Landroid/util/SparseBooleanArray;
|
|
.locals 3
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
: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
|
|
|
|
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 public abstract readString()Ljava/lang/String;
|
|
.end method
|
|
|
|
.method public readString(Ljava/lang/String;I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract readStrongBinder()Landroid/os/IBinder;
|
|
.end method
|
|
|
|
.method public readStrongBinder(Landroid/os/IBinder;I)Landroid/os/IBinder;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
: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 v0
|
|
|
|
return-object v0
|
|
.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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->readField(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->readVersionedParcelable()Landroidx/versionedparcelable/VersionedParcelable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract setOutputField(I)V
|
|
.end method
|
|
|
|
.method public setSerializationFlags(ZZ)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public 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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-lez v0, :cond_6
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
invoke-direct {p0, v2}, Landroidx/versionedparcelable/VersionedParcel;->getType(Ljava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeArray([Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeBoolean(Z)V
|
|
.end method
|
|
|
|
.method public writeBoolean(ZI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeBooleanArray([Z)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeBooleanArray([ZI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBooleanArray([Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeBundle(Landroid/os/Bundle;)V
|
|
.end method
|
|
|
|
.method public writeBundle(Landroid/os/Bundle;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeBundle(Landroid/os/Bundle;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeByte(BI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeByteArray([B)V
|
|
.end method
|
|
|
|
.method public writeByteArray([BI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeByteArray([B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeByteArray([BII)V
|
|
.end method
|
|
|
|
.method public writeByteArray([BIII)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p4}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/versionedparcelable/VersionedParcel;->writeByteArray([BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeCharArray([CI)V
|
|
.locals 2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length p2, p1
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p2, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeCharSequence(Ljava/lang/CharSequence;)V
|
|
.end method
|
|
|
|
.method public writeCharSequence(Ljava/lang/CharSequence;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeCharSequence(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeDouble(D)V
|
|
.end method
|
|
|
|
.method public writeDouble(DI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeDouble(D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeDoubleArray([D)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeDoubleArray([DI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeDoubleArray([D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeException(Ljava/lang/Exception;I)V
|
|
.locals 3
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->writeNoException()V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
instance-of v0, p1, Landroid/os/Parcelable;
|
|
|
|
const/16 v1, -0x9
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v2, Landroid/os/Parcelable;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v2
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
const/16 p2, -0x9
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
instance-of v0, p1, Ljava/lang/SecurityException;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
instance-of v0, p1, Landroid/os/BadParcelableException;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/4 p2, -0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
instance-of v0, p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 p2, -0x3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
instance-of v0, p1, Ljava/lang/NullPointerException;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const/4 p2, -0x4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
instance-of v0, p1, Ljava/lang/IllegalStateException;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 p2, -0x5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_6
|
|
instance-of v0, p1, Landroid/os/NetworkOnMainThreadException;
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
const/4 p2, -0x6
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
instance-of v0, p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
const/4 p2, -0x7
|
|
|
|
:cond_8
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-nez p2, :cond_a
|
|
|
|
instance-of p2, p1, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p2, :cond_9
|
|
|
|
check-cast p1, Ljava/lang/RuntimeException;
|
|
|
|
throw p1
|
|
|
|
:cond_9
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:cond_a
|
|
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
if-eq p2, v1, :cond_b
|
|
|
|
goto :goto_1
|
|
|
|
: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 public abstract writeFloat(F)V
|
|
.end method
|
|
|
|
.method public writeFloat(FI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeFloatArray([F)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeFloatArray([FI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeFloatArray([F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeInt(I)V
|
|
.end method
|
|
|
|
.method public writeInt(II)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeIntArray([I)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeIntArray([II)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
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
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeLong(J)V
|
|
.end method
|
|
|
|
.method public writeLong(JI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p3}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeLong(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeLongArray([J)V
|
|
.locals 4
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeLongArray([JI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/Map;->size()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
if-nez p2, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
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;
|
|
|
|
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
|
|
|
|
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
|
|
|
|
:cond_2
|
|
invoke-direct {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
invoke-direct {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeCollection(Ljava/util/Collection;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeNoException()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeParcelable(Landroid/os/Parcelable;)V
|
|
.end method
|
|
|
|
.method public writeParcelable(Landroid/os/Parcelable;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
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
|
|
|
|
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
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
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
|
|
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/util/Size;->getWidth()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
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
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
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
|
|
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeBoolean(Z)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p1}, Landroid/util/SizeF;->getWidth()F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeFloat(F)V
|
|
|
|
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
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/util/SparseBooleanArray;->size()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-ge v0, p2, :cond_1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/util/SparseBooleanArray;->keyAt(I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/versionedparcelable/VersionedParcel;->writeInt(I)V
|
|
|
|
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 public abstract writeString(Ljava/lang/String;)V
|
|
.end method
|
|
|
|
.method public writeString(Ljava/lang/String;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeStrongBinder(Landroid/os/IBinder;)V
|
|
.end method
|
|
|
|
.method public writeStrongBinder(Landroid/os/IBinder;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract writeStrongInterface(Landroid/os/IInterface;)V
|
|
.end method
|
|
|
|
.method public writeStrongInterface(Landroid/os/IInterface;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeStrongInterface(Landroid/os/IInterface;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroidx/versionedparcelable/VersionedParcelable;Landroidx/versionedparcelable/VersionedParcel;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/VersionedParcelable;",
|
|
">(TT;",
|
|
"Landroidx/versionedparcelable/VersionedParcel;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
: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 v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
const/4 p1, 0x1
|
|
|
|
aput-object p2, v2, p1
|
|
|
|
invoke-virtual {v0, v1, v2}, 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 p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_1
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_2
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p2
|
|
|
|
instance-of p2, p2, Ljava/lang/RuntimeException;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/RuntimeException;
|
|
|
|
throw p1
|
|
|
|
:cond_0
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
|
|
:catch_3
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelableCreator(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/VersionedParcel;->createSubParcel()Landroidx/versionedparcelable/VersionedParcel;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/versionedparcelable/VersionedParcel;->writeToParcel(Landroidx/versionedparcelable/VersionedParcelable;Landroidx/versionedparcelable/VersionedParcel;)V
|
|
|
|
invoke-virtual {v0}, Landroidx/versionedparcelable/VersionedParcel;->closeField()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/VersionedParcel;->setOutputField(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/VersionedParcel;->writeVersionedParcelable(Landroidx/versionedparcelable/VersionedParcelable;)V
|
|
|
|
return-void
|
|
.end method
|