mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-14 14:29:19 +08:00
387 lines
8.8 KiB
Smali
387 lines
8.8 KiB
Smali
.class Landroidx/versionedparcelable/c;
|
|
.super Landroidx/versionedparcelable/b;
|
|
.source ""
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Landroid/util/SparseIntArray;
|
|
|
|
.field private final b:Landroid/os/Parcel;
|
|
|
|
.field private final c:I
|
|
|
|
.field private final d:I
|
|
|
|
.field private final e:Ljava/lang/String;
|
|
|
|
.field private f:I
|
|
|
|
.field private g:I
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 3
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->dataSize()I
|
|
|
|
move-result v1
|
|
|
|
const-string v2, ""
|
|
|
|
invoke-direct {p0, p1, v0, v1, v2}, Landroidx/versionedparcelable/c;-><init>(Landroid/os/Parcel;IILjava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(Landroid/os/Parcel;IILjava/lang/String;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Landroidx/versionedparcelable/b;-><init>()V
|
|
|
|
new-instance v0, Landroid/util/SparseIntArray;
|
|
|
|
invoke-direct {v0}, Landroid/util/SparseIntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/versionedparcelable/c;->a:Landroid/util/SparseIntArray;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Landroidx/versionedparcelable/c;->f:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
iput-object p1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
iput p2, p0, Landroidx/versionedparcelable/c;->c:I
|
|
|
|
iput p3, p0, Landroidx/versionedparcelable/c;->d:I
|
|
|
|
iget p1, p0, Landroidx/versionedparcelable/c;->c:I
|
|
|
|
iput p1, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
iput-object p4, p0, Landroidx/versionedparcelable/c;->e:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private d(I)I
|
|
.locals 3
|
|
|
|
:cond_0
|
|
iget v0, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
iget v1, p0, Landroidx/versionedparcelable/c;->d:I
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
iput v2, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
if-ne v1, p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 4
|
|
|
|
iget v0, p0, Landroidx/versionedparcelable/c;->f:I
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->a:Landroid/util/SparseIntArray;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/util/SparseIntArray;->get(I)I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->dataPosition()I
|
|
|
|
move-result v1
|
|
|
|
sub-int v2, v1, v0
|
|
|
|
iget-object v3, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v3, v0}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/os/Parcelable;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a([B)V
|
|
.locals 2
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
array-length v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeByteArray([B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
const/4 v0, -0x1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(I)Z
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1}, Landroidx/versionedparcelable/c;->d(I)I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method protected b()Landroidx/versionedparcelable/b;
|
|
.locals 6
|
|
|
|
new-instance v0, Landroidx/versionedparcelable/c;
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->dataPosition()I
|
|
|
|
move-result v2
|
|
|
|
iget v3, p0, Landroidx/versionedparcelable/c;->g:I
|
|
|
|
iget v4, p0, Landroidx/versionedparcelable/c;->c:I
|
|
|
|
if-ne v3, v4, :cond_0
|
|
|
|
iget v3, p0, Landroidx/versionedparcelable/c;->d:I
|
|
|
|
:cond_0
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v5, p0, Landroidx/versionedparcelable/c;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Landroidx/versionedparcelable/c;-><init>(Landroid/os/Parcel;IILjava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b(I)V
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Landroidx/versionedparcelable/c;->a()V
|
|
|
|
iput p1, p0, Landroidx/versionedparcelable/c;->f:I
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->a:Landroid/util/SparseIntArray;
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->dataPosition()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroid/util/SparseIntArray;->put(II)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/versionedparcelable/c;->c(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/versionedparcelable/c;->c(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()[B
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-array v0, v0, [B
|
|
|
|
iget-object v1, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v1, v0}, Landroid/os/Parcel;->readByteArray([B)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public f()Landroid/os/Parcelable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Landroid/os/Parcelable;",
|
|
">()TT;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
const-class v1, Landroidx/versionedparcelable/c;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/versionedparcelable/c;->b:Landroid/os/Parcel;
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|