mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-17 07:49:19 +08:00
624 lines
15 KiB
Smali
624 lines
15 KiB
Smali
.class public abstract Landroidx/versionedparcelable/b;
|
|
.super Ljava/lang/Object;
|
|
.source ""
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected static a(Ljava/lang/String;Landroidx/versionedparcelable/b;)Landroidx/versionedparcelable/d;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/d;",
|
|
">(",
|
|
"Ljava/lang/String;",
|
|
"Landroidx/versionedparcelable/b;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
const-class v0, Landroidx/versionedparcelable/b;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {p0, v1, v0}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "read"
|
|
|
|
new-array v2, v1, [Ljava/lang/Class;
|
|
|
|
const-class v3, Landroidx/versionedparcelable/b;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
invoke-virtual {p0, v0, v2}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
aput-object p1, v1, v4
|
|
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/versionedparcelable/d;
|
|
: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
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
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
|
|
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/RuntimeException;
|
|
|
|
throw p0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private static a(Ljava/lang/Class;)Ljava/lang/Class;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Landroidx/versionedparcelable/d;",
|
|
">;)",
|
|
"Ljava/lang/Class;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, 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
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v0, v1, v3
|
|
|
|
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 {p0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {v0, v2, p0}, Ljava/lang/Class;->forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method protected static a(Landroidx/versionedparcelable/d;Landroidx/versionedparcelable/b;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/d;",
|
|
">(TT;",
|
|
"Landroidx/versionedparcelable/b;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Landroidx/versionedparcelable/b;->b(Landroidx/versionedparcelable/d;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "write"
|
|
|
|
const/4 v2, 0x2
|
|
|
|
new-array v3, v2, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
const-class v4, Landroidx/versionedparcelable/b;
|
|
|
|
const/4 v6, 0x1
|
|
|
|
aput-object v4, v3, v6
|
|
|
|
invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
aput-object p0, v2, v5
|
|
|
|
aput-object p1, v2, v6
|
|
|
|
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 p0
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered ClassNotFoundException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered NoSuchMethodException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
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
|
|
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/RuntimeException;
|
|
|
|
throw p0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered InvocationTargetException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "VersionedParcel encountered IllegalAccessException"
|
|
|
|
invoke-direct {p1, v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private static b(Landroidx/versionedparcelable/d;)Ljava/lang/Class;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/d;",
|
|
">(TT;)",
|
|
"Ljava/lang/Class;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Landroidx/versionedparcelable/b;->a(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private c(Landroidx/versionedparcelable/d;)V
|
|
.locals 3
|
|
|
|
:try_start_0
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroidx/versionedparcelable/b;->a(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/b;->a(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 a(II)I
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->a(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->e()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(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/b;->a(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->f()Landroid/os/Parcelable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->a(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->g()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method protected abstract a()V
|
|
.end method
|
|
|
|
.method protected abstract a(Landroid/os/Parcelable;)V
|
|
.end method
|
|
|
|
.method protected a(Landroidx/versionedparcelable/d;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/b;->a(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/b;->c(Landroidx/versionedparcelable/d;)V
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->b()Landroidx/versionedparcelable/b;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Landroidx/versionedparcelable/b;->a(Landroidx/versionedparcelable/d;Landroidx/versionedparcelable/b;)V
|
|
|
|
invoke-virtual {v0}, Landroidx/versionedparcelable/b;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract a(Ljava/lang/String;)V
|
|
.end method
|
|
|
|
.method public a(ZZ)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract a([B)V
|
|
.end method
|
|
|
|
.method protected abstract a(I)Z
|
|
.end method
|
|
|
|
.method public a([BI)[B
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->a(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->d()[B
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method protected abstract b()Landroidx/versionedparcelable/b;
|
|
.end method
|
|
|
|
.method protected abstract b(I)V
|
|
.end method
|
|
|
|
.method public b(II)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->b(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/b;->c(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/os/Parcelable;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->b(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/b;->a(Landroid/os/Parcelable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;I)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->b(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/b;->a(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b([BI)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/versionedparcelable/b;->b(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/b;->a([B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected abstract c(I)V
|
|
.end method
|
|
|
|
.method public c()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected abstract d()[B
|
|
.end method
|
|
|
|
.method protected abstract e()I
|
|
.end method
|
|
|
|
.method protected abstract f()Landroid/os/Parcelable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/os/Parcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method protected abstract g()Ljava/lang/String;
|
|
.end method
|
|
|
|
.method protected h()Landroidx/versionedparcelable/d;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroidx/versionedparcelable/d;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/b;->g()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/b;->b()Landroidx/versionedparcelable/b;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Landroidx/versionedparcelable/b;->a(Ljava/lang/String;Landroidx/versionedparcelable/b;)Landroidx/versionedparcelable/d;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|