mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-06 10:29:21 +08:00
1096 lines
22 KiB
Smali
1096 lines
22 KiB
Smali
.class public final Lb/a/d;
|
|
.super Ljava/lang/Object;
|
|
.source ""
|
|
|
|
|
|
# static fields
|
|
.field public static final a:[B
|
|
|
|
.field public static final b:[Ljava/lang/String;
|
|
|
|
.field public static final c:Lb/I;
|
|
|
|
.field public static final d:Lb/F;
|
|
|
|
.field private static final e:Lc/h;
|
|
|
|
.field private static final f:Lc/h;
|
|
|
|
.field private static final g:Lc/h;
|
|
|
|
.field private static final h:Lc/h;
|
|
|
|
.field private static final i:Lc/h;
|
|
|
|
.field public static final j:Ljava/nio/charset/Charset;
|
|
|
|
.field private static final k:Ljava/nio/charset/Charset;
|
|
|
|
.field private static final l:Ljava/nio/charset/Charset;
|
|
|
|
.field private static final m:Ljava/nio/charset/Charset;
|
|
|
|
.field private static final n:Ljava/nio/charset/Charset;
|
|
|
|
.field public static final o:Ljava/util/TimeZone;
|
|
|
|
.field private static final p:Ljava/util/regex/Pattern;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [B
|
|
|
|
sput-object v1, Lb/a/d;->a:[B
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
sput-object v0, Lb/a/d;->b:[Ljava/lang/String;
|
|
|
|
sget-object v0, Lb/a/d;->a:[B
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {v1, v0}, Lb/I;->a(Lb/y;[B)Lb/I;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->c:Lb/I;
|
|
|
|
sget-object v0, Lb/a/d;->a:[B
|
|
|
|
invoke-static {v1, v0}, Lb/F;->a(Lb/y;[B)Lb/F;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->d:Lb/F;
|
|
|
|
const-string v0, "efbbbf"
|
|
|
|
invoke-static {v0}, Lc/h;->a(Ljava/lang/String;)Lc/h;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->e:Lc/h;
|
|
|
|
const-string v0, "feff"
|
|
|
|
invoke-static {v0}, Lc/h;->a(Ljava/lang/String;)Lc/h;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->f:Lc/h;
|
|
|
|
const-string v0, "fffe"
|
|
|
|
invoke-static {v0}, Lc/h;->a(Ljava/lang/String;)Lc/h;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->g:Lc/h;
|
|
|
|
const-string v0, "0000ffff"
|
|
|
|
invoke-static {v0}, Lc/h;->a(Ljava/lang/String;)Lc/h;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->h:Lc/h;
|
|
|
|
const-string v0, "ffff0000"
|
|
|
|
invoke-static {v0}, Lc/h;->a(Ljava/lang/String;)Lc/h;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->i:Lc/h;
|
|
|
|
const-string v0, "UTF-8"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->j:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "UTF-16BE"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->k:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "UTF-16LE"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->l:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "UTF-32BE"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->m:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "UTF-32LE"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->n:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "GMT"
|
|
|
|
invoke-static {v0}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->o:Ljava/util/TimeZone;
|
|
|
|
const-string v0, "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb/a/d;->p:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p2
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;IIC)I
|
|
.locals 1
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, p3, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p2
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;IILjava/lang/String;)I
|
|
.locals 2
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p3, v0}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p2
|
|
.end method
|
|
|
|
.method public static a([Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;TT;)I"
|
|
}
|
|
.end annotation
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
aget-object v2, p0, v1
|
|
|
|
invoke-static {v2, p1}, Lb/a/d;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Lb/w;Z)Ljava/lang/String;
|
|
.locals 3
|
|
|
|
invoke-virtual {p0}, Lb/w;->g()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ":"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "["
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lb/w;->g()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "]"
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lb/w;->g()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
if-nez p1, :cond_1
|
|
|
|
invoke-virtual {p0}, Lb/w;->j()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Lb/w;->m()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lb/w;->a(Ljava/lang/String;)I
|
|
|
|
move-result v2
|
|
|
|
if-eq p1, v2, :cond_2
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lb/w;->j()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/net/IDN;->toASCII(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
invoke-static {p0}, Lb/a/d;->c(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
return-object p0
|
|
|
|
:catch_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static varargs a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
invoke-static {v0, p0, p1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/util/List;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static varargs a([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, [Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static a([Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;[TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_2
|
|
|
|
aget-object v4, p0, v3
|
|
|
|
array-length v5, p1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
if-ge v6, v5, :cond_1
|
|
|
|
aget-object v7, p1, v6
|
|
|
|
invoke-virtual {v4, v7}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v8
|
|
|
|
if-eqz v8, :cond_0
|
|
|
|
invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_2
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
|
|
.locals 1
|
|
|
|
new-instance v0, Lb/a/c;
|
|
|
|
invoke-direct {v0, p0, p1}, Lb/a/c;-><init>(Ljava/lang/String;Z)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static a(JJJ)V
|
|
.locals 5
|
|
|
|
or-long v0, p2, p4
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-ltz v4, :cond_0
|
|
|
|
cmp-long v0, p2, p0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
sub-long/2addr p0, p2
|
|
|
|
cmp-long p2, p0, p4
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/io/Closeable;)V
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-interface {p0}, Ljava/io/Closeable;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
throw p0
|
|
|
|
:catch_1
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/net/Socket;)V
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/Socket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
throw p0
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
invoke-static {p0}, Lb/a/d;->a(Ljava/lang/AssertionError;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
throw p0
|
|
|
|
:catch_2
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lc/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
invoke-static {p0, p1, p2}, Lb/a/d;->b(Lc/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/AssertionError;)Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "getsockname failed"
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Class;[Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Class<",
|
|
"TT;>;[TT;[TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {p1, p2}, Lb/a/d;->a([Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p2
|
|
|
|
invoke-static {p0, p2}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [Ljava/lang/Object;
|
|
|
|
invoke-interface {p1, p0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
|
|
.locals 3
|
|
|
|
array-length v0, p0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p0, v2, v0, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
array-length p0, v0
|
|
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
aput-object p1, v0, p0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static b(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
:goto_0
|
|
if-lt p2, p1, :cond_1
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public static b(Lc/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 11
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lc/y;->d()Z
|
|
|
|
move-result v2
|
|
|
|
const-wide v3, 0x7fffffffffffffffL
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lc/y;->c()J
|
|
|
|
move-result-wide v5
|
|
|
|
sub-long/2addr v5, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v5, v3
|
|
|
|
:goto_0
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object v2
|
|
|
|
int-to-long v7, p1
|
|
|
|
invoke-virtual {p2, v7, v8}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-static {v5, v6, p1, p2}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
add-long/2addr p1, v0
|
|
|
|
invoke-virtual {v2, p1, p2}, Lc/y;->a(J)Lc/y;
|
|
|
|
:try_start_0
|
|
new-instance p1, Lc/e;
|
|
|
|
invoke-direct {p1}, Lc/e;-><init>()V
|
|
|
|
:goto_1
|
|
const-wide/16 v7, 0x2000
|
|
|
|
invoke-interface {p0, p1, v7, v8}, Lc/w;->b(Lc/e;J)J
|
|
|
|
move-result-wide v7
|
|
|
|
const-wide/16 v9, -0x1
|
|
|
|
cmp-long p2, v7, v9
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-virtual {p1}, Lc/e;->j()V
|
|
:try_end_0
|
|
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lc/y;->a()Lc/y;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lc/y;->a(J)Lc/y;
|
|
|
|
:goto_2
|
|
return p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lc/y;->a()Lc/y;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lc/y;->a(J)Lc/y;
|
|
|
|
:goto_3
|
|
throw p1
|
|
|
|
:catch_0
|
|
nop
|
|
|
|
const/4 p1, 0x0
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_4
|
|
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lc/y;->a()Lc/y;
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
invoke-interface {p0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lc/y;->a(J)Lc/y;
|
|
|
|
:goto_4
|
|
return p1
|
|
.end method
|
|
|
|
.method public static b(Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
sget-object v0, Lb/a/d;->p:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static c(Ljava/lang/String;II)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1, p2}, Lb/a/d;->a(Ljava/lang/String;II)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p0, p1, p2}, Lb/a/d;->b(Ljava/lang/String;II)I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static c(Ljava/lang/String;)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v1, v2, :cond_3
|
|
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v2
|
|
|
|
const/16 v3, 0x1f
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-le v2, v3, :cond_2
|
|
|
|
const/16 v3, 0x7f
|
|
|
|
if-lt v2, v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v3, " #%/:?@[\\]"
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->indexOf(I)I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
return v4
|
|
|
|
:cond_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return v4
|
|
|
|
:cond_3
|
|
return v0
|
|
.end method
|