apkfuckery/com.discord/smali/e/c/a/u.smali
2019-12-06 04:29:40 +01:00

9075 lines
182 KiB
Smali

.class public Le/c/a/u;
.super Ljava/lang/Object;
.source "Adjust.java"
# static fields
.field public static a:Le/c/a/c0;
.field public static b:Ljava/lang/String;
.field public static c:I
.field public static d:Z
.field public static e:Z
.field public static f:Ljava/util/concurrent/ScheduledExecutorService;
.field public static g:Le/k/a/b/e/n/a$a;
.field public static h:Ljava/lang/Boolean;
.field public static i:Ljava/lang/Boolean;
.field public static j:Ljava/lang/Boolean;
# direct methods
.method public static a(F)F
.locals 4
const v0, 0x3d25aee6 # 0.04045f
cmpg-float v0, p0, v0
if-gtz v0, :cond_0
const v0, 0x414eb852 # 12.92f
div-float/2addr p0, v0
goto :goto_0
:cond_0
const v0, 0x3d6147ae # 0.055f
add-float/2addr p0, v0
const v0, 0x3f870a3d # 1.055f
div-float/2addr p0, v0
float-to-double v0, p0
const-wide v2, 0x4003333340000000L # 2.4000000953674316
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->pow(DD)D
move-result-wide v0
double-to-float p0, v0
:goto_0
return p0
.end method
.method public static a(FII)I
.locals 7
shr-int/lit8 v0, p1, 0x18
and-int/lit16 v0, v0, 0xff
int-to-float v0, v0
const/high16 v1, 0x437f0000 # 255.0f
div-float/2addr v0, v1
shr-int/lit8 v2, p1, 0x10
and-int/lit16 v2, v2, 0xff
int-to-float v2, v2
div-float/2addr v2, v1
shr-int/lit8 v3, p1, 0x8
and-int/lit16 v3, v3, 0xff
int-to-float v3, v3
div-float/2addr v3, v1
and-int/lit16 p1, p1, 0xff
int-to-float p1, p1
div-float/2addr p1, v1
shr-int/lit8 v4, p2, 0x18
and-int/lit16 v4, v4, 0xff
int-to-float v4, v4
div-float/2addr v4, v1
shr-int/lit8 v5, p2, 0x10
and-int/lit16 v5, v5, 0xff
int-to-float v5, v5
div-float/2addr v5, v1
shr-int/lit8 v6, p2, 0x8
and-int/lit16 v6, v6, 0xff
int-to-float v6, v6
div-float/2addr v6, v1
and-int/lit16 p2, p2, 0xff
int-to-float p2, p2
div-float/2addr p2, v1
invoke-static {v2}, Le/c/a/u;->a(F)F
move-result v2
invoke-static {v3}, Le/c/a/u;->a(F)F
move-result v3
invoke-static {p1}, Le/c/a/u;->a(F)F
move-result p1
invoke-static {v5}, Le/c/a/u;->a(F)F
move-result v5
invoke-static {v6}, Le/c/a/u;->a(F)F
move-result v6
invoke-static {p2}, Le/c/a/u;->a(F)F
move-result p2
invoke-static {v4, v0, p0, v0}, Le/e/b/a/a;->a(FFFF)F
move-result v0
invoke-static {v5, v2, p0, v2}, Le/e/b/a/a;->a(FFFF)F
move-result v2
invoke-static {v6, v3, p0, v3}, Le/e/b/a/a;->a(FFFF)F
move-result v3
invoke-static {p2, p1, p0, p1}, Le/e/b/a/a;->a(FFFF)F
move-result p0
mul-float v0, v0, v1
invoke-static {v2}, Le/c/a/u;->b(F)F
move-result p1
mul-float p1, p1, v1
invoke-static {v3}, Le/c/a/u;->b(F)F
move-result p2
mul-float p2, p2, v1
invoke-static {p0}, Le/c/a/u;->b(F)F
move-result p0
mul-float p0, p0, v1
invoke-static {v0}, Ljava/lang/Math;->round(F)I
move-result v0
shl-int/lit8 v0, v0, 0x18
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
shl-int/lit8 p1, p1, 0x10
or-int/2addr p1, v0
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
shl-int/lit8 p2, p2, 0x8
or-int/2addr p1, p2
invoke-static {p0}, Ljava/lang/Math;->round(F)I
move-result p0
or-int/2addr p0, p1
return p0
.end method
.method public static a(I)I
.locals 1
if-eqz p0, :cond_0
return p0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Given Integer is zero"
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static a(II)I
.locals 0
add-int/lit8 p0, p0, 0x1f
mul-int/lit8 p0, p0, 0x1f
add-int/2addr p0, p1
return p0
.end method
.method public static a(III)I
.locals 0
sub-int/2addr p2, p0
const/4 p0, 0x0
invoke-static {p0, p2}, Ljava/lang/Math;->max(II)I
move-result p0
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
move-result p0
return p0
.end method
.method public static a(Landroid/os/Parcel;)I
.locals 1
const/16 v0, 0x4f45
invoke-static {p0, v0}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p0
return p0
.end method
.method public static a(Le/j/j/d/f;Le/j/j/d/e;Le/j/j/j/e;I)I
.locals 14
move-object v0, p1
move-object/from16 v1, p2
invoke-static/range {p2 .. p2}, Le/j/j/j/e;->d(Le/j/j/j/e;)Z
move-result v2
const/4 v3, 0x1
if-nez v2, :cond_0
return v3
:cond_0
invoke-static/range {p2 .. p2}, Le/j/j/j/e;->d(Le/j/j/j/e;)Z
move-result v2
invoke-static {v2}, Le/c/a/u;->a(Z)V
const/4 v2, 0x2
if-eqz v0, :cond_9
iget v4, v0, Le/j/j/d/e;->b:I
if-lez v4, :cond_9
iget v4, v0, Le/j/j/d/e;->a:I
if-lez v4, :cond_9
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->i:I
if-eqz v4, :cond_9
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->j:I
if-nez v4, :cond_1
goto/16 :goto_7
:cond_1
invoke-virtual {p0}, Le/j/j/d/f;->c()Z
move-result v4
const/16 v5, 0x10e
const/16 v6, 0x5a
const/4 v7, 0x0
if-nez v4, :cond_2
const/4 v4, 0x0
goto :goto_2
:cond_2
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->g:I
if-eqz v4, :cond_4
if-eq v4, v6, :cond_4
const/16 v8, 0xb4
if-eq v4, v8, :cond_4
if-ne v4, v5, :cond_3
goto :goto_0
:cond_3
const/4 v8, 0x0
goto :goto_1
:cond_4
:goto_0
const/4 v8, 0x1
:goto_1
invoke-static {v8}, Le/c/a/u;->a(Z)V
:goto_2
if-eq v4, v6, :cond_6
if-ne v4, v5, :cond_5
goto :goto_3
:cond_5
const/4 v4, 0x0
goto :goto_4
:cond_6
:goto_3
const/4 v4, 0x1
:goto_4
if-eqz v4, :cond_7
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v5, v1, Le/j/j/j/e;->j:I
goto :goto_5
:cond_7
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v5, v1, Le/j/j/j/e;->i:I
:goto_5
if-eqz v4, :cond_8
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->i:I
goto :goto_6
:cond_8
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->j:I
:goto_6
iget v6, v0, Le/j/j/d/e;->a:I
int-to-float v6, v6
int-to-float v8, v5
div-float/2addr v6, v8
iget v8, v0, Le/j/j/d/e;->b:I
int-to-float v8, v8
int-to-float v9, v4
div-float/2addr v8, v9
invoke-static {v6, v8}, Ljava/lang/Math;->max(FF)F
move-result v9
const/4 v10, 0x7
new-array v10, v10, [Ljava/lang/Object;
iget v11, v0, Le/j/j/d/e;->a:I
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
aput-object v11, v10, v7
iget v7, v0, Le/j/j/d/e;->b:I
invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v7
aput-object v7, v10, v3
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v10, v2
const/4 v5, 0x3
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v10, v5
const/4 v4, 0x4
invoke-static {v6}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v5
aput-object v5, v10, v4
const/4 v4, 0x5
invoke-static {v8}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v5
aput-object v5, v10, v4
const/4 v4, 0x6
invoke-static {v9}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v5
aput-object v5, v10, v4
sget-object v4, Le/j/d/f/a;->a:Le/j/d/f/c;
check-cast v4, Le/j/d/f/b;
invoke-virtual {v4, v2}, Le/j/d/f/b;->a(I)Z
move-result v4
if-eqz v4, :cond_a
sget-object v4, Le/j/d/f/a;->a:Le/j/d/f/c;
const-string v5, "Downsample - Specified size: %dx%d, image size: %dx%d ratio: %.1f x %.1f, ratio: %.3f"
invoke-static {v5, v10}, Le/j/d/f/a;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v5
check-cast v4, Le/j/d/f/b;
const-string v6, "DownsampleUtil"
invoke-virtual {v4, v2, v6, v5}, Le/j/d/f/b;->a(ILjava/lang/String;Ljava/lang/String;)V
goto :goto_8
:cond_9
:goto_7
const/high16 v9, 0x3f800000 # 1.0f
:cond_a
:goto_8
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget-object v4, v1, Le/j/j/j/e;->f:Le/j/i/c;
sget-object v5, Le/j/i/b;->a:Le/j/i/c;
const-wide v6, 0x3fd5555560000000L # 0.3333333432674408
const-wide/high16 v10, 0x3ff0000000000000L # 1.0
const v8, 0x3f2aaaab
if-ne v4, v5, :cond_d
cmpl-float v4, v9, v8
if-lez v4, :cond_b
goto :goto_b
:cond_b
const/4 v3, 0x2
:goto_9
mul-int/lit8 v2, v3, 0x2
int-to-double v4, v2
div-double v4, v10, v4
mul-double v12, v4, v6
add-double/2addr v12, v4
float-to-double v4, v9
cmpg-double v8, v12, v4
if-gtz v8, :cond_c
goto :goto_b
:cond_c
move v3, v2
goto :goto_9
:cond_d
cmpl-float v4, v9, v8
if-lez v4, :cond_e
goto :goto_b
:cond_e
:goto_a
int-to-double v4, v2
const-wide/high16 v12, 0x4000000000000000L # 2.0
invoke-static {v4, v5, v12, v13}, Ljava/lang/Math;->pow(DD)D
move-result-wide v12
sub-double/2addr v12, v4
div-double v12, v10, v12
div-double v4, v10, v4
mul-double v12, v12, v6
add-double/2addr v12, v4
float-to-double v4, v9
cmpg-double v8, v12, v4
if-gtz v8, :cond_12
add-int/lit8 v3, v2, -0x1
:goto_b
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v2, v1, Le/j/j/j/e;->j:I
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget v4, v1, Le/j/j/j/e;->i:I
invoke-static {v2, v4}, Ljava/lang/Math;->max(II)I
move-result v2
if-eqz v0, :cond_f
iget v0, v0, Le/j/j/d/e;->c:F
goto :goto_c
:cond_f
move/from16 v4, p3
int-to-float v0, v4
:goto_c
div-int v4, v2, v3
int-to-float v4, v4
cmpl-float v4, v4, v0
if-lez v4, :cond_11
invoke-virtual/range {p2 .. p2}, Le/j/j/j/e;->f()V
iget-object v4, v1, Le/j/j/j/e;->f:Le/j/i/c;
sget-object v5, Le/j/i/b;->a:Le/j/i/c;
if-ne v4, v5, :cond_10
mul-int/lit8 v3, v3, 0x2
goto :goto_c
:cond_10
add-int/lit8 v3, v3, 0x1
goto :goto_c
:cond_11
return v3
:cond_12
move/from16 v4, p3
add-int/lit8 v2, v2, 0x1
goto :goto_a
.end method
.method public static a(Ljava/io/InputStream;)I
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
int-to-byte v0, v0
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result p0
int-to-byte p0, p0
shl-int/lit8 p0, p0, 0x8
const v1, 0xff00
and-int/2addr p0, v1
and-int/lit16 v0, v0, 0xff
or-int/2addr p0, v0
return p0
.end method
.method public static a(Ljava/io/InputStream;IZ)I
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x0
:goto_0
if-ge v0, p1, :cond_2
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v2
const/4 v3, -0x1
if-eq v2, v3, :cond_1
if-eqz p2, :cond_0
and-int/lit16 v2, v2, 0xff
mul-int/lit8 v3, v0, 0x8
shl-int/2addr v2, v3
goto :goto_1
:cond_0
shl-int/lit8 v1, v1, 0x8
and-int/lit16 v2, v2, 0xff
:goto_1
or-int/2addr v1, v2
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
new-instance p0, Ljava/io/IOException;
const-string p1, "no more bytes"
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p0
:cond_2
return v1
.end method
.method public static a(Ljava/io/InputStream;[BII)I
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p0, :cond_4
if-eqz p1, :cond_3
if-ltz p3, :cond_2
const/4 v0, 0x0
:goto_0
if-ge v0, p3, :cond_1
add-int v1, p2, v0
sub-int v2, p3, v0
invoke-virtual {p0, p1, v1, v2}, Ljava/io/InputStream;->read([BII)I
move-result v1
const/4 v2, -0x1
if-ne v1, v2, :cond_0
goto :goto_1
:cond_0
add-int/2addr v0, v1
goto :goto_0
:cond_1
:goto_1
return v0
:cond_2
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
const-string p1, "len is negative"
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw p0
:cond_3
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
:cond_4
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/io/InputStream;J)J
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-eqz p0, :cond_4
const-wide/16 v0, 0x0
cmp-long v2, p1, v0
if-ltz v2, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
invoke-static {v2}, Le/c/a/u;->a(Z)V
move-wide v2, p1
:goto_1
cmp-long v4, v2, v0
if-lez v4, :cond_3
invoke-virtual {p0, v2, v3}, Ljava/io/InputStream;->skip(J)J
move-result-wide v4
cmp-long v6, v4, v0
if-lez v6, :cond_1
:goto_2
sub-long/2addr v2, v4
goto :goto_1
:cond_1
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v4
const/4 v5, -0x1
if-eq v4, v5, :cond_2
const-wide/16 v4, 0x1
goto :goto_2
:cond_2
sub-long/2addr p1, v2
:cond_3
return-wide p1
:cond_4
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/16 v0, 0x8
invoke-static {p0, p1, v0, p2, p3}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;IJ)V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getLong()J
move-result-wide p0
return-wide p0
.end method
.method public static a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
.locals 1
const/4 v0, 0x0
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p1
if-nez p1, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object p0
invoke-virtual {p0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static a(Ljava/lang/String;Ljava/util/Map;)Landroid/net/Uri;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)",
"Landroid/net/Uri;"
}
.end annotation
new-instance v0, Landroid/net/Uri$Builder;
invoke-direct {v0}, Landroid/net/Uri$Builder;-><init>()V
const-string v1, "https"
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->scheme(Ljava/lang/String;)Landroid/net/Uri$Builder;
const-string v1, "app.adjust.com"
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->authority(Ljava/lang/String;)Landroid/net/Uri$Builder;
invoke-virtual {v0, p0}, Landroid/net/Uri$Builder;->appendPath(Ljava/lang/String;)Landroid/net/Uri$Builder;
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result p1
if-eqz p1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/Map$Entry;
invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
invoke-virtual {v0, v1, p1}, Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;
goto :goto_0
:cond_0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide p0
sget-object v1, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p0
invoke-virtual {v1, p0}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
const-string p1, "sent_at"
invoke-virtual {v0, p1, p0}, Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder;
invoke-virtual {v0}, Landroid/net/Uri$Builder;->build()Landroid/net/Uri;
move-result-object p0
return-object p0
.end method
.method public static a(Landroid/os/Parcel;I)Landroid/os/Bundle;
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readBundle()Landroid/os/Bundle;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static a(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"I",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-interface {p2, p0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Parcelable;
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object p2
.end method
.method public static a(Ljava/lang/Throwable;)Lcom/facebook/datasource/DataSource;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Throwable;",
")",
"Lcom/facebook/datasource/DataSource<",
"TT;>;"
}
.end annotation
new-instance v0, Le/j/e/i;
invoke-direct {v0}, Le/j/e/i;-><init>()V
invoke-virtual {v0, p0}, Le/j/e/i;->a(Ljava/lang/Throwable;)Z
return-object v0
.end method
.method public static a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
.locals 1
const/4 v0, -0x2
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getInt(II)I
move-result p0
packed-switch p0, :pswitch_data_0
new-instance p0, Ljava/lang/RuntimeException;
const-string p1, "XML attribute not specified!"
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p0
:pswitch_0
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->i:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_1
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->h:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_2
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->g:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_3
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->f:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_4
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->e:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_5
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->d:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_6
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->c:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_7
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->b:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_8
sget-object p0, Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;->a:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
return-object p0
:pswitch_9
const/4 p0, 0x0
return-object p0
nop
:pswitch_data_0
.packed-switch -0x1
:pswitch_9
:pswitch_8
:pswitch_7
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public static a(Le/c/a/s;)Le/c/a/o1;
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
:try_start_0
new-instance v0, Ljava/util/HashMap;
invoke-virtual {p0}, Le/c/a/s;->i()Ljava/util/Map;
move-result-object v1
invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
const-string v1, "app_secret"
invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
const-string v2, "secret_id"
invoke-interface {v0, v2}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-virtual {p0}, Le/c/a/s;->k()Ljava/lang/String;
move-result-object v3
invoke-static {v3, v0}, Le/c/a/u;->a(Ljava/lang/String;Ljava/util/Map;)Landroid/net/Uri;
move-result-object v3
new-instance v4, Ljava/net/URL;
invoke-virtual {v3}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v3
invoke-direct {v4, v3}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
sget-object v3, Le/c/a/z;->f:Ljavax/net/ssl/HttpsURLConnection;
if-nez v3, :cond_0
invoke-virtual {v4}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;
move-result-object v3
check-cast v3, Ljavax/net/ssl/HttpsURLConnection;
:cond_0
invoke-virtual {p0}, Le/c/a/s;->a()Le/c/a/r;
move-result-object v4
invoke-virtual {v4}, Le/c/a/r;->toString()Ljava/lang/String;
move-result-object v4
invoke-static {v0, v1, v2, v4}, Le/c/a/u;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1
const-string v1, "Authorization"
invoke-virtual {v3, v1, v0}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
invoke-virtual {p0}, Le/c/a/s;->e()Ljava/lang/String;
move-result-object v0
const-string v1, "Client-SDK"
invoke-virtual {v3, v1, v0}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
const v0, 0xea60
invoke-virtual {v3, v0}, Ljavax/net/ssl/HttpsURLConnection;->setConnectTimeout(I)V
invoke-virtual {v3, v0}, Ljavax/net/ssl/HttpsURLConnection;->setReadTimeout(I)V
sget-object v0, Le/c/a/u;->b:Ljava/lang/String;
if-eqz v0, :cond_2
const-string v1, "User-Agent"
invoke-virtual {v3, v1, v0}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
:cond_2
const-string v0, "GET"
invoke-virtual {v3, v0}, Ljavax/net/ssl/HttpsURLConnection;->setRequestMethod(Ljava/lang/String;)V
invoke-static {v3, p0}, Le/c/a/u;->a(Ljavax/net/ssl/HttpsURLConnection;Le/c/a/s;)Le/c/a/o1;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
throw p0
.end method
.method public static a(Ljava/lang/String;Le/c/a/s;I)Le/c/a/o1;
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
:try_start_0
new-instance v1, Ljava/net/URL;
invoke-direct {v1, p0}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
sget-object p0, Le/c/a/z;->f:Ljavax/net/ssl/HttpsURLConnection;
if-nez p0, :cond_0
invoke-virtual {v1}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;
move-result-object p0
check-cast p0, Ljavax/net/ssl/HttpsURLConnection;
goto :goto_0
:catch_0
move-exception p0
goto/16 :goto_1
:cond_0
:goto_0
new-instance v1, Ljava/util/HashMap;
invoke-virtual {p1}, Le/c/a/s;->i()Ljava/util/Map;
move-result-object v2
invoke-direct {v1, v2}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
const-string v2, "app_secret"
invoke-interface {v1, v2}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
const-string v3, "secret_id"
invoke-interface {v1, v3}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
invoke-virtual {p1}, Le/c/a/s;->e()Ljava/lang/String;
move-result-object v4
const-string v5, "Client-SDK"
invoke-virtual {p0, v5, v4}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
const v4, 0xea60
invoke-virtual {p0, v4}, Ljavax/net/ssl/HttpsURLConnection;->setConnectTimeout(I)V
invoke-virtual {p0, v4}, Ljavax/net/ssl/HttpsURLConnection;->setReadTimeout(I)V
sget-object v4, Le/c/a/u;->b:Ljava/lang/String;
if-eqz v4, :cond_1
const-string v5, "User-Agent"
invoke-virtual {p0, v5, v4}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
invoke-virtual {p1}, Le/c/a/s;->a()Le/c/a/r;
move-result-object v4
invoke-virtual {v4}, Le/c/a/r;->toString()Ljava/lang/String;
move-result-object v4
invoke-static {v1, v2, v3, v4}, Le/c/a/u;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_2
const-string v3, "Authorization"
invoke-virtual {p0, v3, v2}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
:cond_2
const-string v2, "POST"
invoke-virtual {p0, v2}, Ljavax/net/ssl/HttpsURLConnection;->setRequestMethod(Ljava/lang/String;)V
const/4 v2, 0x0
invoke-virtual {p0, v2}, Ljavax/net/ssl/HttpsURLConnection;->setUseCaches(Z)V
const/4 v2, 0x1
invoke-virtual {p0, v2}, Ljavax/net/ssl/HttpsURLConnection;->setDoInput(Z)V
invoke-virtual {p0, v2}, Ljavax/net/ssl/HttpsURLConnection;->setDoOutput(Z)V
new-instance v2, Ljava/io/DataOutputStream;
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->getOutputStream()Ljava/io/OutputStream;
move-result-object v3
invoke-direct {v2, v3}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
invoke-static {v1, p2}, Le/c/a/u;->a(Ljava/util/Map;I)Ljava/lang/String;
move-result-object p2
invoke-virtual {v2, p2}, Ljava/io/DataOutputStream;->writeBytes(Ljava/lang/String;)V
invoke-static {p0, p1}, Le/c/a/u;->a(Ljavax/net/ssl/HttpsURLConnection;Le/c/a/s;)Le/c/a/o1;
move-result-object p0
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
invoke-virtual {v2}, Ljava/io/DataOutputStream;->flush()V
invoke-virtual {v2}, Ljava/io/DataOutputStream;->close()V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
:catch_1
return-object p0
:catchall_0
move-exception p0
goto :goto_2
:catch_2
move-exception p0
move-object v0, v2
goto :goto_1
:catchall_1
move-exception p0
move-object v2, v0
goto :goto_2
:goto_1
:try_start_3
throw p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:goto_2
if-eqz v2, :cond_3
:try_start_4
invoke-virtual {v2}, Ljava/io/DataOutputStream;->flush()V
invoke-virtual {v2}, Ljava/io/DataOutputStream;->close()V
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3
:catch_3
:cond_3
throw p0
.end method
.method public static a(Ljavax/net/ssl/HttpsURLConnection;Le/c/a/s;)Le/c/a/o1;
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
new-instance v0, Ljava/lang/StringBuffer;
invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v1
invoke-static {p1}, Le/c/a/o1;->a(Le/c/a/s;)Le/c/a/o1;
move-result-object p1
const/4 v2, 0x0
const/4 v3, 0x1
:try_start_0
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->connect()V
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->getResponseCode()I
move-result v4
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
move-result v5
const/16 v6, 0x190
if-lt v5, v6, :cond_0
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->getErrorStream()Ljava/io/InputStream;
move-result-object v5
goto :goto_0
:cond_0
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->getInputStream()Ljava/io/InputStream;
move-result-object v5
:goto_0
new-instance v6, Ljava/io/InputStreamReader;
invoke-direct {v6, v5}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
new-instance v5, Ljava/io/BufferedReader;
invoke-direct {v5, v6}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
:goto_1
invoke-virtual {v5}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
move-result-object v6
if-eqz v6, :cond_1
invoke-virtual {v0, v6}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:cond_1
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->disconnect()V
invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
move-result-object p0
new-array v0, v3, [Ljava/lang/Object;
aput-object p0, v0, v2
check-cast v1, Le/c/a/b1;
const-string v5, "Response: %s"
invoke-virtual {v1, v5, v0}, Le/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
if-eqz p0, :cond_6
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
if-nez v0, :cond_2
goto :goto_3
:cond_2
const/4 v0, 0x0
:try_start_1
new-instance v5, Lorg/json/JSONObject;
invoke-direct {v5, p0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
:try_end_1
.catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0
goto :goto_2
:catch_0
move-exception p0
new-array v5, v3, [Ljava/lang/Object;
invoke-virtual {p0}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;
move-result-object p0
aput-object p0, v5, v2
const-string p0, "Failed to parse json response. (%s)"
invoke-static {p0, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
new-array v5, v2, [Ljava/lang/Object;
invoke-virtual {v1, p0, v5}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iput-object p0, p1, Le/c/a/o1;->a:Ljava/lang/String;
move-object v5, v0
:goto_2
if-nez v5, :cond_3
return-object p1
:cond_3
iput-object v5, p1, Le/c/a/o1;->f:Lorg/json/JSONObject;
const-string p0, "message"
invoke-virtual {v5, p0, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
iput-object p0, p1, Le/c/a/o1;->a:Ljava/lang/String;
const-string v6, "timestamp"
invoke-virtual {v5, v6, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
iput-object v6, p1, Le/c/a/o1;->b:Ljava/lang/String;
const-string v6, "adid"
invoke-virtual {v5, v6, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
iput-object v0, p1, Le/c/a/o1;->c:Ljava/lang/String;
if-nez p0, :cond_4
const-string p0, "No message found"
:cond_4
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
move-result v0
const/16 v4, 0xc8
const-string v5, "%s"
if-ne v0, v4, :cond_5
new-array v0, v3, [Ljava/lang/Object;
aput-object p0, v0, v2
invoke-virtual {v1, v5, v0}, Le/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iput-boolean v3, p1, Le/c/a/o1;->d:Z
goto :goto_3
:cond_5
new-array v0, v3, [Ljava/lang/Object;
aput-object p0, v0, v2
invoke-virtual {v1, v5, v0}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:cond_6
:goto_3
return-object p1
:catchall_0
move-exception p1
goto :goto_4
:catch_1
move-exception p1
:try_start_2
const-string v0, "Failed to read response. (%s)"
new-array v3, v3, [Ljava/lang/Object;
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v4
aput-object v4, v3, v2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
check-cast v1, Le/c/a/b1;
:try_start_3
invoke-virtual {v1, v0, v3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
throw p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:goto_4
if-eqz p0, :cond_7
invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->disconnect()V
:cond_7
throw p1
.end method
.method public static a(Ljava/lang/String;JLe/c/a/t;Le/c/a/v;Le/c/a/q0;Le/c/a/u1;)Le/c/a/s;
.locals 15
move-object v0, p0
move-object/from16 v4, p3
const/4 v8, 0x0
if-eqz v0, :cond_e
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v1
if-nez v1, :cond_0
goto/16 :goto_5
:cond_0
:try_start_0
const-string v1, "UTF-8"
invoke-static {p0, v1}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
:try_end_0
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string v1, "malformed"
:goto_0
move-object v9, v1
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v1
const/4 v2, 0x1
new-array v3, v2, [Ljava/lang/Object;
const/4 v5, 0x0
aput-object v9, v3, v5
check-cast v1, Le/c/a/b1;
const-string v6, "Referrer to parse (%s)"
invoke-virtual {v1, v6, v3}, Le/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v1, Landroid/net/UrlQuerySanitizer;
invoke-direct {v1}, Landroid/net/UrlQuerySanitizer;-><init>()V
invoke-static {}, Landroid/net/UrlQuerySanitizer;->getAllButNulLegal()Landroid/net/UrlQuerySanitizer$ValueSanitizer;
move-result-object v3
invoke-virtual {v1, v3}, Landroid/net/UrlQuerySanitizer;->setUnregisteredParameterValueSanitizer(Landroid/net/UrlQuerySanitizer$ValueSanitizer;)V
invoke-virtual {v1, v2}, Landroid/net/UrlQuerySanitizer;->setAllowUnregisteredParamaters(Z)V
invoke-virtual {v1, v9}, Landroid/net/UrlQuerySanitizer;->parseQuery(Ljava/lang/String;)V
invoke-virtual {v1}, Landroid/net/UrlQuerySanitizer;->getParameterList()Ljava/util/List;
move-result-object v1
const-string v10, "reftag"
if-nez v1, :cond_1
move-object v14, v8
goto/16 :goto_4
:cond_1
new-instance v11, Ljava/util/LinkedHashMap;
invoke-direct {v11}, Ljava/util/LinkedHashMap;-><init>()V
new-instance v12, Lcom/adjust/sdk/AdjustAttribution;
invoke-direct {v12}, Lcom/adjust/sdk/AdjustAttribution;-><init>()V
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_2
:goto_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_b
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/net/UrlQuerySanitizer$ParameterValuePair;
iget-object v6, v3, Landroid/net/UrlQuerySanitizer$ParameterValuePair;->mParameter:Ljava/lang/String;
iget-object v3, v3, Landroid/net/UrlQuerySanitizer$ParameterValuePair;->mValue:Ljava/lang/String;
if-eqz v6, :cond_2
if-nez v3, :cond_3
goto :goto_1
:cond_3
const-string v7, "adjust_"
invoke-virtual {v6, v7}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v7
if-nez v7, :cond_4
goto :goto_1
:cond_4
const/4 v7, 0x7
invoke-virtual {v6, v7}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v6
invoke-virtual {v6}, Ljava/lang/String;->length()I
move-result v7
if-nez v7, :cond_5
goto :goto_1
:cond_5
invoke-virtual {v3}, Ljava/lang/String;->length()I
move-result v7
if-nez v7, :cond_6
goto :goto_1
:cond_6
const-string v7, "tracker"
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_7
iput-object v3, v12, Lcom/adjust/sdk/AdjustAttribution;->trackerName:Ljava/lang/String;
goto :goto_2
:cond_7
const-string v7, "campaign"
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_8
iput-object v3, v12, Lcom/adjust/sdk/AdjustAttribution;->campaign:Ljava/lang/String;
goto :goto_2
:cond_8
const-string v7, "adgroup"
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_9
iput-object v3, v12, Lcom/adjust/sdk/AdjustAttribution;->adgroup:Ljava/lang/String;
goto :goto_2
:cond_9
const-string v7, "creative"
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_a
iput-object v3, v12, Lcom/adjust/sdk/AdjustAttribution;->creative:Ljava/lang/String;
:goto_2
const/4 v7, 0x1
goto :goto_3
:cond_a
const/4 v7, 0x0
:goto_3
if-nez v7, :cond_2
invoke-interface {v11, v6, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_1
:cond_b
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v6
invoke-interface {v11, v10}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
move-object v13, v1
check-cast v13, Ljava/lang/String;
if-eqz v4, :cond_c
iget-wide v1, v4, Le/c/a/t;->lastActivity:J
sub-long v1, v6, v1
iput-wide v1, v4, Le/c/a/t;->lastInterval:J
:cond_c
new-instance v14, Le/c/a/j1;
move-object v1, v14
move-object/from16 v2, p4
move-object/from16 v3, p5
move-object/from16 v4, p3
move-object/from16 v5, p6
invoke-direct/range {v1 .. v7}, Le/c/a/j1;-><init>(Le/c/a/v;Le/c/a/q0;Le/c/a/t;Le/c/a/u1;J)V
iput-object v11, v14, Le/c/a/j1;->f:Ljava/util/Map;
iput-object v12, v14, Le/c/a/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
iput-object v13, v14, Le/c/a/j1;->h:Ljava/lang/String;
:goto_4
if-nez v14, :cond_d
return-object v8
:cond_d
iput-object v9, v14, Le/c/a/j1;->i:Ljava/lang/String;
move-wide/from16 v1, p1
iput-wide v1, v14, Le/c/a/j1;->l:J
iput-object v0, v14, Le/c/a/j1;->j:Ljava/lang/String;
invoke-virtual {v14, v10}, Le/c/a/j1;->a(Ljava/lang/String;)Le/c/a/s;
move-result-object v0
return-object v0
:cond_e
:goto_5
return-object v8
.end method
.method public static a(Le/d/a/w/h0/c;Le/d/a/d;)Le/d/a/u/j/a;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v0, Le/d/a/u/j/a;
sget-object v1, Le/d/a/w/e;->a:Le/d/a/w/e;
invoke-static {p0, p1, v1}, Le/c/a/u;->a(Le/d/a/w/h0/c;Le/d/a/d;Le/d/a/w/g0;)Ljava/util/List;
move-result-object p0
invoke-direct {v0, p0}, Le/d/a/u/j/a;-><init>(Ljava/util/List;)V
return-object v0
.end method
.method public static a(Le/d/a/w/h0/c;Le/d/a/d;Z)Le/d/a/u/j/b;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v0, Le/d/a/u/j/b;
if-eqz p2, :cond_0
invoke-static {}, Le/d/a/x/g;->a()F
move-result p2
goto :goto_0
:cond_0
const/high16 p2, 0x3f800000 # 1.0f
:goto_0
sget-object v1, Le/d/a/w/h;->a:Le/d/a/w/h;
invoke-static {p0, p1, p2, v1}, Le/d/a/w/q;->a(Le/d/a/w/h0/c;Le/d/a/d;FLe/d/a/w/g0;)Ljava/util/List;
move-result-object p0
invoke-direct {v0, p0}, Le/d/a/u/j/b;-><init>(Ljava/util/List;)V
return-object v0
.end method
.method public static a(Landroid/graphics/drawable/Drawable;)Le/j/g/e/q;
.locals 4
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
instance-of v1, p0, Le/j/g/e/q;
if-eqz v1, :cond_1
check-cast p0, Le/j/g/e/q;
return-object p0
:cond_1
instance-of v1, p0, Le/j/g/e/e;
if-eqz v1, :cond_2
check-cast p0, Le/j/g/e/e;
invoke-interface {p0}, Le/j/g/e/e;->a()Landroid/graphics/drawable/Drawable;
move-result-object p0
invoke-static {p0}, Le/c/a/u;->a(Landroid/graphics/drawable/Drawable;)Le/j/g/e/q;
move-result-object p0
return-object p0
:cond_2
instance-of v1, p0, Le/j/g/e/b;
if-eqz v1, :cond_4
check-cast p0, Le/j/g/e/b;
iget-object v1, p0, Le/j/g/e/b;->f:[Landroid/graphics/drawable/Drawable;
array-length v1, v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_4
invoke-virtual {p0, v2}, Le/j/g/e/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object v3
invoke-static {v3}, Le/c/a/u;->a(Landroid/graphics/drawable/Drawable;)Le/j/g/e/q;
move-result-object v3
if-eqz v3, :cond_3
return-object v3
:cond_3
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
return-object v0
.end method
.method public static a(Le/j/g/f/a;Landroid/content/Context;Landroid/util/AttributeSet;)Le/j/g/f/a;
.locals 18
move-object/from16 v0, p0
move-object/from16 v1, p1
move-object/from16 v2, p2
if-eqz v2, :cond_2b
sget-object v6, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy:[I
invoke-virtual {v1, v2, v6}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
move-result-object v2
:try_start_0
invoke-virtual {v2}, Landroid/content/res/TypedArray;->getIndexCount()I
move-result v6
const/4 v5, 0x0
const/4 v7, 0x0
const/4 v8, 0x1
const/4 v9, 0x1
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x1
const/4 v13, 0x1
const/4 v14, 0x1
const/4 v15, 0x1
const/16 v16, 0x0
:goto_0
if-ge v7, v6, :cond_22
invoke-virtual {v2, v7}, Landroid/content/res/TypedArray;->getIndex(I)I
move-result v3
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_actualImageScaleType:I
if-ne v3, v4, :cond_0
invoke-static {v2, v3}, Le/c/a/u;->a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->l:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
goto/16 :goto_1
:cond_0
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_placeholderImage:I
if-ne v3, v4, :cond_1
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->d:Landroid/graphics/drawable/Drawable;
goto/16 :goto_1
:catchall_0
move-exception v0
goto/16 :goto_a
:cond_1
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_pressedStateOverlayImage:I
if-ne v3, v4, :cond_2
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
invoke-virtual {v0, v3}, Le/j/g/f/a;->b(Landroid/graphics/drawable/Drawable;)Le/j/g/f/a;
goto/16 :goto_1
:cond_2
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_progressBarImage:I
if-ne v3, v4, :cond_3
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->j:Landroid/graphics/drawable/Drawable;
goto/16 :goto_1
:cond_3
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_fadeDuration:I
if-ne v3, v4, :cond_4
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getInt(II)I
move-result v3
iput v3, v0, Le/j/g/f/a;->b:I
goto/16 :goto_1
:cond_4
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_viewAspectRatio:I
if-ne v3, v4, :cond_5
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getFloat(IF)F
move-result v3
iput v3, v0, Le/j/g/f/a;->c:F
goto/16 :goto_1
:cond_5
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_placeholderImageScaleType:I
if-ne v3, v4, :cond_6
invoke-static {v2, v3}, Le/c/a/u;->a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->e:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
goto/16 :goto_1
:cond_6
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_retryImage:I
if-ne v3, v4, :cond_7
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->f:Landroid/graphics/drawable/Drawable;
goto/16 :goto_1
:cond_7
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_retryImageScaleType:I
if-ne v3, v4, :cond_8
invoke-static {v2, v3}, Le/c/a/u;->a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->g:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
goto/16 :goto_1
:cond_8
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_failureImage:I
if-ne v3, v4, :cond_9
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->h:Landroid/graphics/drawable/Drawable;
goto/16 :goto_1
:cond_9
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_failureImageScaleType:I
if-ne v3, v4, :cond_a
invoke-static {v2, v3}, Le/c/a/u;->a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->i:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
goto/16 :goto_1
:cond_a
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_progressBarImageScaleType:I
if-ne v3, v4, :cond_b
invoke-static {v2, v3}, Le/c/a/u;->a(Landroid/content/res/TypedArray;I)Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->k:Lcom/facebook/drawee/drawable/ScalingUtils$ScaleType;
goto/16 :goto_1
:cond_b
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_progressBarAutoRotateInterval:I
if-ne v3, v4, :cond_c
move/from16 v4, v16
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getInteger(II)I
move-result v16
goto/16 :goto_1
:cond_c
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_backgroundImage:I
if-ne v3, v4, :cond_d
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
iput-object v3, v0, Le/j/g/f/a;->o:Landroid/graphics/drawable/Drawable;
goto/16 :goto_1
:cond_d
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_overlayImage:I
if-ne v3, v4, :cond_e
invoke-static {v1, v2, v3}, Le/c/a/u;->a(Landroid/content/Context;Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
move-result-object v3
invoke-virtual {v0, v3}, Le/j/g/f/a;->a(Landroid/graphics/drawable/Drawable;)Le/j/g/f/a;
goto/16 :goto_1
:cond_e
sget v4, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundAsCircle:I
if-ne v3, v4, :cond_10
iget-object v4, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v4, :cond_f
new-instance v4, Le/j/g/f/c;
invoke-direct {v4}, Le/j/g/f/c;-><init>()V
iput-object v4, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_f
iget-object v4, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
const/4 v1, 0x0
invoke-virtual {v2, v3, v1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v3
iput-boolean v3, v4, Le/j/g/f/c;->b:Z
goto/16 :goto_1
:cond_10
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundedCornerRadius:I
if-ne v3, v1, :cond_11
invoke-virtual {v2, v3, v5}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v5
goto/16 :goto_1
:cond_11
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundTopLeft:I
if-ne v3, v1, :cond_12
invoke-virtual {v2, v3, v8}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v8
goto/16 :goto_1
:cond_12
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundTopRight:I
if-ne v3, v1, :cond_13
invoke-virtual {v2, v3, v11}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v11
goto/16 :goto_1
:cond_13
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundBottomLeft:I
if-ne v3, v1, :cond_14
invoke-virtual {v2, v3, v15}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v15
goto/16 :goto_1
:cond_14
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundBottomRight:I
if-ne v3, v1, :cond_15
invoke-virtual {v2, v3, v12}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v12
goto/16 :goto_1
:cond_15
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundTopStart:I
if-ne v3, v1, :cond_16
invoke-virtual {v2, v3, v9}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v9
goto/16 :goto_1
:cond_16
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundTopEnd:I
if-ne v3, v1, :cond_17
invoke-virtual {v2, v3, v10}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v10
goto/16 :goto_1
:cond_17
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundBottomStart:I
if-ne v3, v1, :cond_18
invoke-virtual {v2, v3, v14}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v14
goto/16 :goto_1
:cond_18
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundBottomEnd:I
if-ne v3, v1, :cond_19
invoke-virtual {v2, v3, v13}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result v13
goto :goto_1
:cond_19
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundWithOverlayColor:I
if-ne v3, v1, :cond_1b
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v1, :cond_1a
new-instance v1, Le/j/g/f/c;
invoke-direct {v1}, Le/j/g/f/c;-><init>()V
iput-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_1a
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v3
invoke-virtual {v1, v3}, Le/j/g/f/c;->a(I)Le/j/g/f/c;
goto :goto_1
:cond_1b
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundingBorderWidth:I
if-ne v3, v1, :cond_1d
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v1, :cond_1c
new-instance v1, Le/j/g/f/c;
invoke-direct {v1}, Le/j/g/f/c;-><init>()V
iput-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_1c
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v3
int-to-float v3, v3
invoke-virtual {v1, v3}, Le/j/g/f/c;->a(F)Le/j/g/f/c;
goto :goto_1
:cond_1d
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundingBorderColor:I
if-ne v3, v1, :cond_1f
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v1, :cond_1e
new-instance v1, Le/j/g/f/c;
invoke-direct {v1}, Le/j/g/f/c;-><init>()V
iput-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_1e
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getColor(II)I
move-result v3
iput v3, v1, Le/j/g/f/c;->f:I
goto :goto_1
:cond_1f
sget v1, Lcom/facebook/drawee/R$a;->GenericDraweeHierarchy_roundingBorderPadding:I
if-ne v3, v1, :cond_21
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v1, :cond_20
new-instance v1, Le/j/g/f/c;
invoke-direct {v1}, Le/j/g/f/c;-><init>()V
iput-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_20
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
const/4 v4, 0x0
invoke-virtual {v2, v3, v4}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
move-result v3
int-to-float v3, v3
invoke-virtual {v1, v3}, Le/j/g/f/c;->b(F)Le/j/g/f/c;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_21
:goto_1
add-int/lit8 v7, v7, 0x1
move-object/from16 v1, p1
goto/16 :goto_0
:cond_22
invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v1
invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object v1
invoke-virtual {v1}, Landroid/content/res/Configuration;->getLayoutDirection()I
move-result v1
const/4 v2, 0x1
if-ne v1, v2, :cond_26
if-eqz v8, :cond_23
if-eqz v10, :cond_23
const/4 v1, 0x1
goto :goto_2
:cond_23
const/4 v1, 0x0
:goto_2
if-eqz v11, :cond_24
if-eqz v9, :cond_24
const/4 v2, 0x1
goto :goto_3
:cond_24
const/4 v2, 0x0
:goto_3
if-eqz v12, :cond_25
if-eqz v14, :cond_25
const/4 v3, 0x1
goto :goto_4
:cond_25
const/4 v3, 0x0
:goto_4
if-eqz v15, :cond_2a
if-eqz v13, :cond_2a
goto :goto_8
:cond_26
if-eqz v8, :cond_27
if-eqz v9, :cond_27
const/4 v1, 0x1
goto :goto_5
:cond_27
const/4 v1, 0x0
:goto_5
if-eqz v11, :cond_28
if-eqz v10, :cond_28
const/4 v2, 0x1
goto :goto_6
:cond_28
const/4 v2, 0x0
:goto_6
if-eqz v12, :cond_29
if-eqz v13, :cond_29
const/4 v3, 0x1
goto :goto_7
:cond_29
const/4 v3, 0x0
:goto_7
if-eqz v15, :cond_2a
if-eqz v14, :cond_2a
:goto_8
move v4, v1
const/4 v1, 0x1
goto :goto_9
:cond_2a
move v4, v1
const/4 v1, 0x0
:goto_9
move v6, v1
move/from16 v1, v16
goto :goto_b
:goto_a
invoke-virtual {v2}, Landroid/content/res/TypedArray;->recycle()V
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v1
invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object v1
invoke-virtual {v1}, Landroid/content/res/Configuration;->getLayoutDirection()I
throw v0
:cond_2b
const/4 v1, 0x0
const/4 v2, 0x1
const/4 v3, 0x1
const/4 v4, 0x1
const/4 v5, 0x0
const/4 v6, 0x1
:goto_b
iget-object v7, v0, Le/j/g/f/a;->j:Landroid/graphics/drawable/Drawable;
if-eqz v7, :cond_2c
if-lez v1, :cond_2c
new-instance v8, Le/j/g/e/c;
invoke-direct {v8, v7, v1}, Le/j/g/e/c;-><init>(Landroid/graphics/drawable/Drawable;I)V
iput-object v8, v0, Le/j/g/f/a;->j:Landroid/graphics/drawable/Drawable;
:cond_2c
if-lez v5, :cond_33
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-nez v1, :cond_2d
new-instance v1, Le/j/g/f/c;
invoke-direct {v1}, Le/j/g/f/c;-><init>()V
iput-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
:cond_2d
iget-object v1, v0, Le/j/g/f/a;->r:Le/j/g/f/c;
if-eqz v4, :cond_2e
int-to-float v4, v5
goto :goto_c
:cond_2e
const/4 v4, 0x0
:goto_c
if-eqz v2, :cond_2f
int-to-float v2, v5
goto :goto_d
:cond_2f
const/4 v2, 0x0
:goto_d
if-eqz v3, :cond_30
int-to-float v3, v5
goto :goto_e
:cond_30
const/4 v3, 0x0
:goto_e
if-eqz v6, :cond_31
int-to-float v5, v5
move/from16 v17, v5
goto :goto_f
:cond_31
const/16 v17, 0x0
:goto_f
iget-object v5, v1, Le/j/g/f/c;->c:[F
if-nez v5, :cond_32
const/16 v5, 0x8
new-array v5, v5, [F
iput-object v5, v1, Le/j/g/f/c;->c:[F
:cond_32
iget-object v1, v1, Le/j/g/f/c;->c:[F
const/4 v5, 0x1
aput v4, v1, v5
const/4 v5, 0x0
aput v4, v1, v5
const/4 v4, 0x3
aput v2, v1, v4
const/4 v4, 0x2
aput v2, v1, v4
const/4 v2, 0x5
aput v3, v1, v2
const/4 v2, 0x4
aput v3, v1, v2
const/4 v2, 0x7
aput v17, v1, v2
const/4 v2, 0x6
aput v17, v1, v2
:cond_33
return-object v0
.end method
.method public static a(Lcom/google/android/gms/common/api/Status;)Le/k/a/b/e/j/b;
.locals 1
.param p0 # Lcom/google/android/gms/common/api/Status;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->g:Landroid/app/PendingIntent;
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
new-instance v0, Le/k/a/b/e/j/h;
invoke-direct {v0, p0}, Le/k/a/b/e/j/h;-><init>(Lcom/google/android/gms/common/api/Status;)V
return-object v0
:cond_1
new-instance v0, Le/k/a/b/e/j/b;
invoke-direct {v0, p0}, Le/k/a/b/e/j/b;-><init>(Lcom/google/android/gms/common/api/Status;)V
return-object v0
.end method
.method public static a(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
.locals 4
invoke-virtual {p0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object p0
array-length v0, p0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
aget-object v2, p0, v1
invoke-virtual {v2}, Ljava/io/File;->getName()Ljava/lang/String;
move-result-object v3
invoke-virtual {v3, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_0
return-object v2
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
return-object p0
.end method
.method public static a(Landroid/content/Context;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x1
new-array v1, v0, [Ljava/lang/Class;
const-class v2, Landroid/content/Context;
const/4 v3, 0x0
aput-object v2, v1, v3
new-array v0, v0, [Ljava/lang/Object;
aput-object p0, v0, v3
const-string p0, "com.google.android.gms.ads.identifier.AdvertisingIdClient"
const-string v2, "getAdvertisingIdInfo"
invoke-static {p0, v2, v1, v0}, Le/c/a/u;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static varargs a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-virtual {p0, p1, p3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p0
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0, p2, p4}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static a(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)TT;"
}
.end annotation
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ljava/lang/Object;",
")TT;"
}
.end annotation
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static varargs a(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0, p1, p2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p1
if-nez p1, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-virtual {p1, p0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
:goto_0
return-object p0
.end method
.method public static a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
invoke-static {p0, p1, v0}, Le/c/a/u;->a(Ljava/lang/String;Ljava/lang/String;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/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
:try_start_0
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-object p0, v0
:goto_0
if-nez p0, :cond_0
return-object v0
:cond_0
invoke-virtual {p0, p1}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
move-result-object p0
if-nez p0, :cond_1
return-object v0
:cond_1
invoke-virtual {p0, p2}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static varargs a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0, p1, p2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p0
const/4 p1, 0x0
if-nez p0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0, p1, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public static final a(Landroid/hardware/camera2/CameraManager;Le/g/j/a;)Ljava/lang/String;
.locals 9
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_7
if-eqz p1, :cond_6
sget-object v1, Le/g/h/h/c/b;->a:[I
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, v1, p1
const/4 v1, 0x0
const/4 v2, 0x1
if-eq p1, v2, :cond_1
const/4 v3, 0x2
if-ne p1, v3, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
new-instance p0, Ls/g;
invoke-direct {p0}, Ls/g;-><init>()V
throw p0
:cond_1
const/4 p1, 0x1
:goto_0
invoke-virtual {p0}, Landroid/hardware/camera2/CameraManager;->getCameraIdList()[Ljava/lang/String;
move-result-object v3
const-string v4, "cameraIdList"
invoke-static {v3, v4}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
array-length v4, v3
const/4 v5, 0x0
:goto_1
if-ge v5, v4, :cond_5
aget-object v6, v3, v5
invoke-virtual {p0, v6}, Landroid/hardware/camera2/CameraManager;->getCameraCharacteristics(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics;
move-result-object v7
sget-object v8, Landroid/hardware/camera2/CameraCharacteristics;->LENS_FACING:Landroid/hardware/camera2/CameraCharacteristics$Key;
invoke-virtual {v7, v8}, Landroid/hardware/camera2/CameraCharacteristics;->get(Landroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object;
move-result-object v7
check-cast v7, Ljava/lang/Integer;
if-nez v7, :cond_2
goto :goto_2
:cond_2
invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
move-result v7
if-ne v7, p1, :cond_3
const/4 v7, 0x1
goto :goto_3
:cond_3
:goto_2
const/4 v7, 0x0
:goto_3
if-eqz v7, :cond_4
move-object v0, v6
goto :goto_4
:cond_4
add-int/lit8 v5, v5, 0x1
goto :goto_1
:cond_5
:goto_4
return-object v0
:cond_6
const-string p0, "facing"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_7
const-string p0, "receiver$0"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static a(Landroid/os/PowerManager$WakeLock;Ljava/lang/String;)Ljava/lang/String;
.locals 4
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v0
int-to-long v0, v0
const/16 v2, 0x20
shl-long/2addr v0, v2
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result p0
int-to-long v2, p0
or-long/2addr v0, v2
invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_0
const-string p1, ""
:cond_0
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_1
new-instance p1, Ljava/lang/String;
invoke-direct {p1, p0}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
return-object p1
.end method
.method public static a(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
if-gtz p1, :cond_0
const-string p1, "index out of range for prefix"
invoke-static {p1, p0}, Le/k/a/b/h/i/z0;->a(Ljava/lang/String;Ljava/lang/Object;)V
const-string p0, ""
return-object p0
:cond_0
const/16 v0, 0xb
invoke-static {p0, v0}, Le/e/b/a/a;->b(Ljava/lang/String;I)I
move-result v0
invoke-static {v0, p0, p1}, Le/e/b/a/a;->a(ILjava/lang/String;I)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
.locals 1
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static varargs a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
.locals 6
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
new-instance v0, Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v1
array-length v2, p1
mul-int/lit8 v2, v2, 0x10
add-int/2addr v2, v1
invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
array-length v3, p1
if-ge v1, v3, :cond_1
const-string v3, "%s"
invoke-virtual {p0, v3, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I
move-result v3
const/4 v4, -0x1
if-ne v3, v4, :cond_0
goto :goto_1
:cond_0
invoke-virtual {p0, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v2, v1, 0x1
aget-object v1, p1, v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
add-int/lit8 v1, v3, 0x2
move v5, v2
move v2, v1
move v1, v5
goto :goto_0
:cond_1
:goto_1
invoke-virtual {p0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
array-length p0, p1
if-ge v1, p0, :cond_3
const-string p0, " ["
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 p0, v1, 0x1
aget-object v1, p1, v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
:goto_2
array-length v1, p1
if-ge p0, v1, :cond_2
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v1, p0, 0x1
aget-object p0, p1, p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move p0, v1
goto :goto_2
:cond_2
const/16 p0, 0x5d
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_3
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static a(Ljava/util/Map;I)Ljava/lang/String;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;I)",
"Ljava/lang/String;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/UnsupportedEncodingException;
}
.end annotation
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
const-string v2, ""
const-string v3, "="
const-string v4, "&"
const-string v5, "UTF-8"
if-eqz v1, :cond_2
invoke-interface {p0}, 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 v6
check-cast v6, Ljava/lang/String;
invoke-static {v6, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
if-eqz v1, :cond_0
invoke-static {v1, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
:cond_0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v1
if-lez v1, :cond_1
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_2
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v6
sget-object p0, Le/c/a/a2;->b:Ljava/text/SimpleDateFormat;
invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
invoke-virtual {p0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "sent_at"
invoke-static {v1, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {p0, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
if-lez p1, :cond_3
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, "queue_size"
invoke-static {p0, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {p0, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_3
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")",
"Ljava/lang/String;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_9
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v1
if-nez v1, :cond_0
goto/16 :goto_2
:cond_0
const-string v1, "created_at"
invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
const-string v3, "gps_adid"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_1
goto :goto_0
:cond_1
const-string v3, "fire_adid"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_2
goto :goto_0
:cond_2
const-string v3, "android_id"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_3
goto :goto_0
:cond_3
const-string v3, "mac_sha1"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_4
goto :goto_0
:cond_4
const-string v3, "mac_md5"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_5
goto :goto_0
:cond_5
const-string v3, "android_uuid"
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
if-eqz v4, :cond_6
goto :goto_0
:cond_6
move-object v3, v0
:goto_0
invoke-interface {p0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/String;
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
const-string v4, "app_secret"
invoke-interface {v0, v4, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string p1, "activity_kind"
invoke-interface {v0, p1, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-interface {v0, v3, p0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p0
const-string p1, ""
move-object p3, p1
:cond_7
:goto_1
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_8
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_7
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p1
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
const-string v2, " "
invoke-static {p1, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-static {p3}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p3
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p3
goto :goto_1
:cond_8
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p0
add-int/lit8 p0, p0, -0x1
const/4 v0, 0x0
invoke-virtual {p1, v0, p0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/util/HashMap;
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
const-string v1, "clear_signature"
invoke-virtual {p1, v1, p3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string p3, "fields"
invoke-virtual {p1, p3, p0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/String;
const-string v1, "SHA-256"
invoke-static {p0, v1}, Le/c/a/a2;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
invoke-interface {p1, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
const/4 p3, 0x1
new-array v1, p3, [Ljava/lang/Object;
aput-object p2, v1, v0
const-string p2, "secret_id=\"%s\""
invoke-static {p2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
new-array v1, p3, [Ljava/lang/Object;
aput-object p0, v1, v0
const-string p0, "signature=\"%s\""
invoke-static {p0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
new-array v1, p3, [Ljava/lang/Object;
const-string v2, "sha256"
aput-object v2, v1, v0
const-string v2, "algorithm=\"%s\""
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
new-array v2, p3, [Ljava/lang/Object;
aput-object p1, v2, v0
const-string p1, "headers=\"%s\""
invoke-static {p1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const/4 v2, 0x4
new-array v2, v2, [Ljava/lang/Object;
aput-object p2, v2, v0
aput-object p0, v2, p3
const/4 p0, 0x2
aput-object v1, v2, p0
const/4 p0, 0x3
aput-object p1, v2, p0
const-string p0, "Signature %s,%s,%s,%s"
invoke-static {p0, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object p1
new-array p2, p3, [Ljava/lang/Object;
aput-object p0, p2, v0
check-cast p1, Le/c/a/b1;
const-string p3, "authorizationHeader: %s"
invoke-virtual {p1, p3, p2}, Le/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
return-object p0
:cond_9
:goto_2
return-object v0
.end method
.method public static a(Lcom/facebook/cache/common/CacheKey;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/cache/common/CacheKey;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
:try_start_0
instance-of v0, p0, Le/j/b/a/d;
if-eqz v0, :cond_0
check-cast p0, Le/j/b/a/d;
iget-object p0, p0, Le/j/b/a/d;->a:Ljava/util/List;
new-instance v0, Ljava/util/ArrayList;
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
const/4 v1, 0x0
:goto_0
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v2
if-ge v1, v2, :cond_1
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/facebook/cache/common/CacheKey;
invoke-static {v2}, Le/c/a/u;->b(Lcom/facebook/cache/common/CacheKey;)Ljava/lang/String;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
new-instance v0, Ljava/util/ArrayList;
const/4 v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
invoke-static {p0}, Le/c/a/u;->b(Lcom/facebook/cache/common/CacheKey;)Ljava/lang/String;
move-result-object p0
invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:try_end_0
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
:cond_1
return-object v0
:catch_0
move-exception p0
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
.end method
.method public static a(Le/d/a/w/h0/c;Le/d/a/d;Le/d/a/w/g0;)Ljava/util/List;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Le/d/a/w/h0/c;",
"Le/d/a/d;",
"Le/d/a/w/g0<",
"TT;>;)",
"Ljava/util/List<",
"Le/d/a/y/a<",
"TT;>;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/high16 v0, 0x3f800000 # 1.0f
invoke-static {p0, p1, v0, p2}, Le/d/a/w/q;->a(Le/d/a/w/h0/c;Le/d/a/d;FLe/d/a/w/g0;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static declared-synchronized a()V
.locals 2
const-class v0, Le/j/j/m/b;
monitor-enter v0
:try_start_0
sget-boolean v1, Le/c/a/u;->d:Z
if-nez v1, :cond_0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const-string v1, "native-imagetranscoder"
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->a(Ljava/lang/String;)Z
const/4 v1, 0x1
sput-boolean v1, Le/c/a/u;->d:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static a(IIIII)V
.locals 3
const/4 v0, 0x1
const/4 v1, 0x0
if-ltz p3, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
invoke-static {v2}, Le/c/a/u;->a(Z)V
if-ltz p0, :cond_1
const/4 v2, 0x1
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
invoke-static {v2}, Le/c/a/u;->a(Z)V
if-ltz p2, :cond_2
const/4 v2, 0x1
goto :goto_2
:cond_2
const/4 v2, 0x0
:goto_2
invoke-static {v2}, Le/c/a/u;->a(Z)V
add-int/2addr p0, p3
if-gt p0, p4, :cond_3
const/4 p0, 0x1
goto :goto_3
:cond_3
const/4 p0, 0x0
:goto_3
invoke-static {p0}, Le/c/a/u;->a(Z)V
add-int/2addr p2, p3
if-gt p2, p1, :cond_4
goto :goto_4
:cond_4
const/4 v0, 0x0
:goto_4
invoke-static {v0}, Le/c/a/u;->a(Z)V
return-void
.end method
.method public static a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable$Callback;Le/j/g/e/d0;)V
.locals 0
if-eqz p0, :cond_0
invoke-virtual {p0, p1}, Landroid/graphics/drawable/Drawable;->setCallback(Landroid/graphics/drawable/Drawable$Callback;)V
instance-of p1, p0, Le/j/g/e/c0;
if-eqz p1, :cond_0
check-cast p0, Le/j/g/e/c0;
invoke-interface {p0, p2}, Le/j/g/e/c0;->a(Le/j/g/e/d0;)V
:cond_0
return-void
.end method
.method public static a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
.locals 2
if-eqz p1, :cond_1
if-eqz p0, :cond_1
if-ne p0, p1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;
move-result-object v0
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setBounds(Landroid/graphics/Rect;)V
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getChangingConfigurations()I
move-result v0
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setChangingConfigurations(I)V
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getLevel()I
move-result v0
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setLevel(I)Z
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->isVisible()Z
move-result v0
const/4 v1, 0x0
invoke-virtual {p0, v0, v1}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getState()[I
move-result-object p1
invoke-virtual {p0, p1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
:cond_1
:goto_0
return-void
.end method
.method public static a(Landroid/graphics/drawable/Drawable;Le/j/g/e/f;)V
.locals 4
if-eqz p0, :cond_6
if-nez p1, :cond_0
goto :goto_1
:cond_0
iget v0, p1, Le/j/g/e/f;->a:I
const/4 v1, -0x1
if-eq v0, v1, :cond_1
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
:cond_1
iget-boolean v0, p1, Le/j/g/e/f;->b:Z
if-eqz v0, :cond_2
iget-object v0, p1, Le/j/g/e/f;->c:Landroid/graphics/ColorFilter;
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setColorFilter(Landroid/graphics/ColorFilter;)V
:cond_2
iget v0, p1, Le/j/g/e/f;->d:I
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v1, :cond_4
if-eqz v0, :cond_3
const/4 v0, 0x1
goto :goto_0
:cond_3
const/4 v0, 0x0
:goto_0
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->setDither(Z)V
:cond_4
iget p1, p1, Le/j/g/e/f;->e:I
if-eq p1, v1, :cond_6
if-eqz p1, :cond_5
const/4 v2, 0x1
:cond_5
invoke-virtual {p0, v2}, Landroid/graphics/drawable/Drawable;->setFilterBitmap(Z)V
:cond_6
:goto_1
return-void
.end method
.method public static final a(Landroid/hardware/camera2/CameraDevice;Landroid/view/Surface;Landroid/media/ImageReader;Landroid/os/Handler;Lkotlin/jvm/functions/Function1;)V
.locals 2
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/hardware/camera2/CameraDevice;",
"Landroid/view/Surface;",
"Landroid/media/ImageReader;",
"Landroid/os/Handler;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/hardware/camera2/CameraCaptureSession;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_4
if-eqz p1, :cond_3
if-eqz p2, :cond_2
if-eqz p3, :cond_1
if-eqz p4, :cond_0
const/4 v0, 0x2
new-array v0, v0, [Landroid/view/Surface;
const/4 v1, 0x0
aput-object p1, v0, v1
const/4 p1, 0x1
invoke-virtual {p2}, Landroid/media/ImageReader;->getSurface()Landroid/view/Surface;
move-result-object p2
aput-object p2, v0, p1
invoke-static {v0}, Le/k/a/b/e/p/g;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
new-instance p2, Le/g/h/h/c/a;
invoke-direct {p2, p4}, Le/g/h/h/c/a;-><init>(Lkotlin/jvm/functions/Function1;)V
invoke-virtual {p0, p1, p2, p3}, Landroid/hardware/camera2/CameraDevice;->createCaptureSession(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V
return-void
:cond_0
const-string p0, "callback"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "handler"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "imageReader"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_3
const-string p0, "surface"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_4
const-string p0, "receiver$0"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final a(Landroid/hardware/camera2/CameraManager;Ljava/lang/String;Landroid/os/Handler;Lkotlin/jvm/functions/Function0;)V
.locals 1
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/hardware/camera2/CameraManager;",
"Ljava/lang/String;",
"Landroid/os/Handler;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_3
if-eqz p1, :cond_2
if-eqz p2, :cond_1
if-eqz p3, :cond_0
new-instance v0, Le/g/h/h/c/c;
invoke-direct {v0, p0, p1, p3}, Le/g/h/h/c/c;-><init>(Landroid/hardware/camera2/CameraManager;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V
invoke-virtual {p0, v0, p2}, Landroid/hardware/camera2/CameraManager;->registerAvailabilityCallback(Landroid/hardware/camera2/CameraManager$AvailabilityCallback;Landroid/os/Handler;)V
return-void
:cond_0
const-string p0, "callback"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "handler"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "targetCameraId"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_3
const-string p0, "receiver$0"
invoke-static {p0}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static a(Landroid/os/Handler;)V
.locals 1
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
invoke-virtual {p0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object p0
if-ne v0, p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "Must be called on the handler thread"
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static a(Landroid/os/Parcel;II)V
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;IJ)V
.locals 1
const/16 v0, 0x8
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
invoke-virtual {p0, p2, p3}, Landroid/os/Parcel;->writeLong(J)V
return-void
.end method
.method public static a(Landroid/os/Parcel;ILandroid/os/Bundle;Z)V
.locals 0
if-nez p2, :cond_1
if-eqz p3, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeBundle(Landroid/os/Bundle;)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;ILandroid/os/IBinder;Z)V
.locals 0
if-nez p2, :cond_1
if-eqz p3, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
.locals 0
if-nez p2, :cond_1
if-eqz p4, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-interface {p2, p0, p3}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;ILjava/lang/String;Z)V
.locals 0
if-nez p2, :cond_1
if-eqz p3, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;ILjava/util/List;Z)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"I",
"Ljava/util/List<",
"TT;>;Z)V"
}
.end annotation
const/4 v0, 0x0
if-nez p2, :cond_1
if-eqz p3, :cond_0
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-interface {p2}, Ljava/util/List;->size()I
move-result p3
invoke-virtual {p0, p3}, Landroid/os/Parcel;->writeInt(I)V
const/4 v1, 0x0
:goto_0
if-ge v1, p3, :cond_3
invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/os/Parcelable;
if-nez v2, :cond_2
invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V
goto :goto_1
:cond_2
invoke-static {p0, v2, v0}, Le/c/a/u;->a(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
:goto_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;IZ)V
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;I[BZ)V
.locals 0
if-nez p2, :cond_1
if-eqz p3, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeByteArray([B)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;I[IZ)V
.locals 0
if-nez p2, :cond_1
if-eqz p3, :cond_0
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeIntArray([I)V
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;I[Landroid/os/Parcelable;IZ)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"I[TT;IZ)V"
}
.end annotation
const/4 v0, 0x0
if-nez p2, :cond_1
if-eqz p4, :cond_0
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
array-length p4, p2
invoke-virtual {p0, p4}, Landroid/os/Parcel;->writeInt(I)V
const/4 v1, 0x0
:goto_0
if-ge v1, p4, :cond_3
aget-object v2, p2, v1
if-nez v2, :cond_2
invoke-virtual {p0, v0}, Landroid/os/Parcel;->writeInt(I)V
goto :goto_1
:cond_2
invoke-static {p0, v2, p3}, Le/c/a/u;->a(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
:goto_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;I[[BZ)V
.locals 2
const/4 v0, 0x0
if-nez p2, :cond_1
if-eqz p3, :cond_0
invoke-static {p0, p1, v0}, Le/c/a/u;->d(Landroid/os/Parcel;II)V
:cond_0
return-void
:cond_1
invoke-static {p0, p1}, Le/c/a/u;->o(Landroid/os/Parcel;I)I
move-result p1
array-length p3, p2
invoke-virtual {p0, p3}, Landroid/os/Parcel;->writeInt(I)V
:goto_0
if-ge v0, p3, :cond_2
aget-object v1, p2, v0
invoke-virtual {p0, v1}, Landroid/os/Parcel;->writeByteArray([B)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
invoke-static {p0, p1}, Le/c/a/u;->p(Landroid/os/Parcel;I)V
return-void
.end method
.method public static a(Landroid/os/Parcel;Landroid/os/Parcelable;I)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/Parcelable;",
">(",
"Landroid/os/Parcel;",
"TT;I)V"
}
.end annotation
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
const/4 v1, 0x1
invoke-virtual {p0, v1}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v1
invoke-interface {p1, p0, p2}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
sub-int p2, p1, v1
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p0, p1}, Landroid/os/Parcel;->setDataPosition(I)V
return-void
.end method
.method public static a(Lcom/discord/simpleast/core/node/Node;Le/a/g/a/c/a;)V
.locals 2
invoke-virtual {p0}, Lcom/discord/simpleast/core/node/Node;->hasChildren()Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/simpleast/core/node/Node;->getChildren()Ljava/util/Collection;
move-result-object v0
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/discord/simpleast/core/node/Node;
invoke-static {v1, p1}, Le/c/a/u;->a(Lcom/discord/simpleast/core/node/Node;Le/a/g/a/c/a;)V
goto :goto_0
:cond_0
invoke-interface {p1, p0}, Le/a/g/a/c/a;->processNode(Lcom/discord/simpleast/core/node/Node;)V
return-void
.end method
.method public static a(Le/c/a/w;)V
.locals 3
invoke-static {}, Le/c/a/u;->c()Le/c/a/c0;
move-result-object v0
invoke-virtual {v0}, Le/c/a/c0;->a()Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
iget-object v0, v0, Le/c/a/c0;->d:Le/c/a/s0;
check-cast v0, Le/c/a/g;
iget-object v1, v0, Le/c/a/g;->a:Le/c/a/p0;
new-instance v2, Le/c/a/o;
invoke-direct {v2, v0, p0}, Le/c/a/o;-><init>(Le/c/a/g;Le/c/a/w;)V
iget-object p0, v1, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:goto_0
return-void
.end method
.method public static a(Ljava/io/File;Le/j/d/c/a;)V
.locals 5
invoke-interface {p1, p0}, Le/j/d/c/a;->a(Ljava/io/File;)V
invoke-virtual {p0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object v0
if-eqz v0, :cond_1
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
invoke-virtual {v3}, Ljava/io/File;->isDirectory()Z
move-result v4
if-eqz v4, :cond_0
invoke-static {v3, p1}, Le/c/a/u;->a(Ljava/io/File;Le/j/d/c/a;)V
goto :goto_1
:cond_0
invoke-interface {p1, v3}, Le/j/d/c/a;->c(Ljava/io/File;)V
:goto_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
invoke-interface {p1, p0}, Le/j/d/c/a;->b(Ljava/io/File;)V
return-void
.end method
.method public static a(Ljava/io/File;Ljava/io/File;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Le/j/d/c/e;
}
.end annotation
if-eqz p0, :cond_5
if-eqz p1, :cond_4
invoke-virtual {p1}, Ljava/io/File;->delete()Z
invoke-virtual {p0, p1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
invoke-virtual {p1}, Ljava/io/File;->exists()Z
move-result v1
if-nez v1, :cond_2
invoke-virtual {p0}, Ljava/io/File;->getParentFile()Ljava/io/File;
move-result-object v1
invoke-virtual {v1}, Ljava/io/File;->exists()Z
move-result v1
if-eqz v1, :cond_1
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v1
if-nez v1, :cond_3
new-instance v0, Ljava/io/FileNotFoundException;
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/FileNotFoundException;-><init>(Ljava/lang/String;)V
goto :goto_0
:cond_1
new-instance v0, Le/j/d/c/d;
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Le/j/d/c/d;-><init>(Ljava/lang/String;)V
goto :goto_0
:cond_2
new-instance v0, Le/j/d/c/c;
invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Le/j/d/c/c;-><init>(Ljava/lang/String;)V
:cond_3
:goto_0
new-instance v1, Le/j/d/c/e;
const-string v2, "Unknown error renaming "
invoke-static {v2}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object p0
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " to "
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object p0
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v1, p0, v0}, Le/j/d/c/e;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:cond_4
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
:cond_5
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;IJ)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->limit(I)Ljava/nio/Buffer;
:goto_0
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
move-result p2
if-lez p2, :cond_1
invoke-virtual {p0, p1, p3, p4}, Ljava/nio/channels/FileChannel;->read(Ljava/nio/ByteBuffer;J)I
move-result p2
const/4 v1, -0x1
if-ne p2, v1, :cond_0
goto :goto_1
:cond_0
int-to-long v1, p2
add-long/2addr p3, v1
goto :goto_0
:cond_1
:goto_1
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
move-result p0
if-gtz p0, :cond_2
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
return-void
:cond_2
new-instance p0, Le/j/m/h;
const-string p1, "ELF file truncated"
invoke-direct {p0, p1}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static a(Ljava/util/Collection;Le/a/g/a/c/a;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"+",
"Lcom/discord/simpleast/core/node/Node;",
">;",
"Le/a/g/a/c/a;",
")V"
}
.end annotation
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/simpleast/core/node/Node;
invoke-static {v0, p1}, Le/c/a/u;->a(Lcom/discord/simpleast/core/node/Node;Le/a/g/a/c/a;)V
goto :goto_0
:cond_0
return-void
.end method
.method public static a(Z)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p0
.end method
.method public static a(ZLjava/lang/Object;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static varargs a(ZLjava/lang/String;[Ljava/lang/Object;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-static {p1, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static a(IILe/j/j/d/e;)Z
.locals 3
const/4 v0, 0x1
const/4 v1, 0x0
if-nez p2, :cond_1
invoke-static {p0}, Le/c/a/u;->b(I)I
move-result p0
int-to-float p0, p0
const/high16 p2, 0x45000000 # 2048.0f
cmpl-float p0, p0, p2
if-ltz p0, :cond_0
invoke-static {p1}, Le/c/a/u;->b(I)I
move-result p0
const/16 p1, 0x800
if-lt p0, p1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
:cond_1
invoke-static {p0}, Le/c/a/u;->b(I)I
move-result p0
iget v2, p2, Le/j/j/d/e;->a:I
if-lt p0, v2, :cond_2
invoke-static {p1}, Le/c/a/u;->b(I)I
move-result p0
iget p1, p2, Le/j/j/d/e;->b:I
if-lt p0, p1, :cond_2
goto :goto_1
:cond_2
const/4 v0, 0x0
:goto_1
return v0
.end method
.method public static a(Le/j/j/j/e;Le/j/j/d/e;)Z
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
invoke-virtual {p0}, Le/j/j/j/e;->f()V
iget v0, p0, Le/j/j/j/e;->g:I
const/16 v1, 0x5a
if-eq v0, v1, :cond_1
const/16 v1, 0x10e
if-eq v0, v1, :cond_1
invoke-virtual {p0}, Le/j/j/j/e;->f()V
iget v0, p0, Le/j/j/j/e;->i:I
invoke-virtual {p0}, Le/j/j/j/e;->f()V
iget p0, p0, Le/j/j/j/e;->j:I
invoke-static {v0, p0, p1}, Le/c/a/u;->a(IILe/j/j/d/e;)Z
move-result p0
return p0
:cond_1
invoke-virtual {p0}, Le/j/j/j/e;->f()V
iget v0, p0, Le/j/j/j/e;->j:I
invoke-virtual {p0}, Le/j/j/j/e;->f()V
iget p0, p0, Le/j/j/j/e;->i:I
invoke-static {v0, p0, p1}, Le/c/a/u;->a(IILe/j/j/d/e;)Z
move-result p0
return p0
.end method
.method public static a(Ljava/io/File;)Z
.locals 4
invoke-virtual {p0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object p0
const/4 v0, 0x1
if-eqz p0, :cond_0
array-length v1, p0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, p0, v2
invoke-static {v3}, Le/c/a/u;->b(Ljava/io/File;)Z
move-result v3
and-int/2addr v0, v3
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return v0
.end method
.method public static a([BLjava/lang/String;)Z
.locals 4
array-length v0, p0
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v1
const/4 v2, 0x0
if-eq v0, v1, :cond_0
return v2
:cond_0
const/4 v0, 0x0
:goto_0
array-length v1, p0
if-ge v0, v1, :cond_2
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
move-result v1
aget-byte v3, p0, v0
if-eq v1, v3, :cond_1
return v2
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
const/4 p0, 0x1
return p0
.end method
.method public static a([B[B)Z
.locals 4
if-eqz p0, :cond_4
if-eqz p1, :cond_3
array-length v0, p1
array-length v1, p0
const/4 v2, 0x0
if-le v0, v1, :cond_0
return v2
:cond_0
const/4 v0, 0x0
:goto_0
array-length v1, p1
if-ge v0, v1, :cond_2
aget-byte v1, p0, v0
aget-byte v3, p1, v0
if-eq v1, v3, :cond_1
return v2
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
const/4 p0, 0x1
return p0
:cond_3
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
:cond_4
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/lang/String;)[B
.locals 2
if-eqz p0, :cond_0
:try_start_0
const-string v0, "ASCII"
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object p0
:try_end_0
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "ASCII not found!"
invoke-direct {v0, v1, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static a(Ljava/nio/channels/FileChannel;)[Ljava/lang/String;
.locals 35
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
move-object/from16 v0, p0
const/16 v1, 0x8
invoke-static {v1}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
move-result-object v1
sget-object v2, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invoke-virtual {v1, v2}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
const-wide/16 v2, 0x0
invoke-static {v0, v1, v2, v3}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v4
const-wide/32 v6, 0x464c457f
cmp-long v8, v4, v6
if-nez v8, :cond_25
const-wide/16 v4, 0x4
invoke-static {v0, v1, v4, v5}, Le/c/a/u;->d(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)S
move-result v6
const/4 v8, 0x1
if-ne v6, v8, :cond_0
goto :goto_0
:cond_0
const/4 v8, 0x0
:goto_0
const-wide/16 v9, 0x5
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->d(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)S
move-result v6
const/4 v11, 0x2
if-ne v6, v11, :cond_1
sget-object v6, Ljava/nio/ByteOrder;->BIG_ENDIAN:Ljava/nio/ByteOrder;
invoke-virtual {v1, v6}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
:cond_1
const-wide/16 v11, 0x1c
const-wide/16 v13, 0x20
if-eqz v8, :cond_2
invoke-static {v0, v1, v11, v12}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v15
goto :goto_1
:cond_2
invoke-static {v0, v1, v13, v14}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v15
:goto_1
const-wide/16 v9, 0x2c
if-eqz v8, :cond_3
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->b(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)I
move-result v6
int-to-long v4, v6
goto :goto_2
:cond_3
const-wide/16 v4, 0x38
invoke-static {v0, v1, v4, v5}, Le/c/a/u;->b(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)I
move-result v4
int-to-long v4, v4
:goto_2
if-eqz v8, :cond_4
const-wide/16 v2, 0x2a
invoke-static {v0, v1, v2, v3}, Le/c/a/u;->b(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)I
move-result v2
goto :goto_3
:cond_4
const-wide/16 v2, 0x36
invoke-static {v0, v1, v2, v3}, Le/c/a/u;->b(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)I
move-result v2
:goto_3
const-wide/32 v23, 0xffff
const-wide/16 v9, 0x28
cmp-long v3, v4, v23
if-nez v3, :cond_7
if-eqz v8, :cond_5
invoke-static {v0, v1, v13, v14}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v3
goto :goto_4
:cond_5
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v3
:goto_4
if-eqz v8, :cond_6
add-long/2addr v3, v11
invoke-static {v0, v1, v3, v4}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v3
goto :goto_5
:cond_6
const-wide/16 v5, 0x2c
add-long/2addr v3, v5
invoke-static {v0, v1, v3, v4}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v3
:goto_5
move-wide v4, v3
:cond_7
move-wide v13, v15
const-wide/16 v11, 0x0
:goto_6
const-wide/16 v23, 0x1
const-wide/16 v25, 0x8
cmp-long v3, v11, v4
if-gez v3, :cond_b
if-eqz v8, :cond_8
const-wide/16 v21, 0x0
add-long v9, v13, v21
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
goto :goto_7
:cond_8
const-wide/16 v21, 0x0
add-long v9, v13, v21
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
:goto_7
const-wide/16 v29, 0x2
cmp-long v3, v9, v29
if-nez v3, :cond_a
if-eqz v8, :cond_9
const-wide/16 v9, 0x4
add-long/2addr v13, v9
invoke-static {v0, v1, v13, v14}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
goto :goto_8
:cond_9
add-long v13, v13, v25
invoke-static {v0, v1, v13, v14}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
goto :goto_8
:cond_a
int-to-long v9, v2
add-long/2addr v13, v9
add-long v11, v11, v23
const-wide/16 v9, 0x28
goto :goto_6
:cond_b
const-wide/16 v9, 0x0
:goto_8
const-wide/16 v21, 0x0
cmp-long v3, v9, v21
if-eqz v3, :cond_24
move-wide v11, v9
move-wide/from16 v13, v21
const/4 v3, 0x0
:goto_9
if-eqz v8, :cond_c
move/from16 v29, v8
add-long v7, v11, v21
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v7
goto :goto_a
:cond_c
move/from16 v29, v8
add-long v7, v11, v21
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v7
:goto_a
const-string v6, "malformed DT_NEEDED section"
cmp-long v31, v7, v23
if-nez v31, :cond_e
move-wide/from16 v31, v9
const v9, 0x7fffffff
if-eq v3, v9, :cond_d
add-int/lit8 v3, v3, 0x1
goto :goto_c
:cond_d
new-instance v0, Le/j/m/h;
invoke-direct {v0, v6}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_e
move-wide/from16 v31, v9
const-wide/16 v9, 0x5
cmp-long v17, v7, v9
if-nez v17, :cond_10
if-eqz v29, :cond_f
const-wide/16 v13, 0x4
add-long v9, v11, v13
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
goto :goto_b
:cond_f
add-long v9, v11, v25
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
:goto_b
move-wide v13, v9
:cond_10
:goto_c
const-wide/16 v9, 0x10
if-eqz v29, :cond_11
move-wide/from16 v33, v25
goto :goto_d
:cond_11
move-wide/from16 v33, v9
:goto_d
add-long v11, v11, v33
const-wide/16 v21, 0x0
cmp-long v33, v7, v21
if-nez v33, :cond_23
cmp-long v7, v13, v21
if-eqz v7, :cond_22
const/4 v7, 0x0
:goto_e
int-to-long v11, v7
cmp-long v8, v11, v4
if-gez v8, :cond_18
if-eqz v29, :cond_12
add-long v11, v15, v21
invoke-static {v0, v1, v11, v12}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v11
goto :goto_f
:cond_12
add-long v11, v15, v21
invoke-static {v0, v1, v11, v12}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v11
:goto_f
cmp-long v8, v11, v23
if-nez v8, :cond_16
if-eqz v29, :cond_13
add-long v11, v15, v25
invoke-static {v0, v1, v11, v12}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v11
goto :goto_10
:cond_13
add-long v11, v15, v9
invoke-static {v0, v1, v11, v12}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v11
:goto_10
if-eqz v29, :cond_14
const-wide/16 v17, 0x14
add-long v9, v15, v17
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v8
move-wide/from16 v27, v4
move-wide v4, v8
const-wide/16 v8, 0x28
goto :goto_11
:cond_14
move-wide/from16 v27, v4
const-wide/16 v8, 0x28
add-long v4, v15, v8
invoke-static {v0, v1, v4, v5}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v4
:goto_11
cmp-long v10, v11, v13
if-gtz v10, :cond_17
add-long/2addr v4, v11
cmp-long v10, v13, v4
if-gez v10, :cond_17
if-eqz v29, :cond_15
const-wide/16 v4, 0x4
add-long v7, v15, v4
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v4
goto :goto_12
:cond_15
add-long v4, v15, v25
invoke-static {v0, v1, v4, v5}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v4
:goto_12
sub-long/2addr v13, v11
add-long/2addr v4, v13
goto :goto_13
:cond_16
move-wide/from16 v27, v4
const-wide/16 v8, 0x28
:cond_17
int-to-long v4, v2
add-long/2addr v15, v4
add-int/lit8 v7, v7, 0x1
move-wide/from16 v4, v27
const-wide/16 v9, 0x10
const-wide/16 v21, 0x0
goto :goto_e
:cond_18
const-wide/16 v4, 0x0
:goto_13
const-wide/16 v7, 0x0
cmp-long v2, v4, v7
if-eqz v2, :cond_21
new-array v2, v3, [Ljava/lang/String;
const/4 v3, 0x0
:goto_14
if-eqz v29, :cond_19
add-long v9, v31, v7
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
goto :goto_15
:cond_19
add-long v9, v31, v7
invoke-static {v0, v1, v9, v10}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v9
:goto_15
cmp-long v7, v9, v23
if-nez v7, :cond_1d
if-eqz v29, :cond_1a
const-wide/16 v19, 0x4
add-long v7, v31, v19
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v7
goto :goto_16
:cond_1a
const-wide/16 v19, 0x4
add-long v7, v31, v25
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
move-result-wide v7
:goto_16
add-long/2addr v7, v4
new-instance v11, Ljava/lang/StringBuilder;
invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V
:goto_17
add-long v12, v7, v23
invoke-static {v0, v1, v7, v8}, Le/c/a/u;->d(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)S
move-result v7
if-eqz v7, :cond_1b
int-to-char v7, v7
invoke-virtual {v11, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-wide v7, v12
goto :goto_17
:cond_1b
invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
aput-object v7, v2, v3
const v7, 0x7fffffff
if-eq v3, v7, :cond_1c
add-int/lit8 v3, v3, 0x1
goto :goto_18
:cond_1c
new-instance v0, Le/j/m/h;
invoke-direct {v0, v6}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_1d
const v7, 0x7fffffff
const-wide/16 v19, 0x4
:goto_18
if-eqz v29, :cond_1e
move-wide/from16 v11, v25
goto :goto_19
:cond_1e
const-wide/16 v11, 0x10
:goto_19
add-long v31, v31, v11
const-wide/16 v21, 0x0
cmp-long v8, v9, v21
if-nez v8, :cond_20
array-length v0, v2
if-ne v3, v0, :cond_1f
return-object v2
:cond_1f
new-instance v0, Le/j/m/h;
invoke-direct {v0, v6}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_20
move-wide/from16 v7, v21
goto :goto_14
:cond_21
new-instance v0, Le/j/m/h;
const-string v1, "did not find file offset of DT_STRTAB table"
invoke-direct {v0, v1}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_22
new-instance v0, Le/j/m/h;
const-string v1, "Dynamic section string-table not found"
invoke-direct {v0, v1}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_23
const-wide/16 v8, 0x28
const-wide/16 v19, 0x4
move/from16 v8, v29
move-wide/from16 v9, v31
goto/16 :goto_9
:cond_24
new-instance v0, Le/j/m/h;
const-string v1, "ELF file does not contain dynamic linking information"
invoke-direct {v0, v1}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
:cond_25
new-instance v0, Le/j/m/h;
const-string v1, "file is not ELF"
invoke-direct {v0, v1}, Le/j/m/h;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static b(F)F
.locals 4
const v0, 0x3b4d2e1c # 0.0031308f
cmpg-float v0, p0, v0
if-gtz v0, :cond_0
const v0, 0x414eb852 # 12.92f
mul-float p0, p0, v0
goto :goto_0
:cond_0
float-to-double v0, p0
const-wide v2, 0x3fdaaaaaa0000000L # 0.4166666567325592
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->pow(DD)D
move-result-wide v0
const-wide v2, 0x3ff0e147a0000000L # 1.0549999475479126
mul-double v0, v0, v2
const-wide v2, 0x3fac28f5c0000000L # 0.054999999701976776
sub-double/2addr v0, v2
double-to-float p0, v0
:goto_0
return p0
.end method
.method public static b(I)I
.locals 1
int-to-float p0, p0
const v0, 0x3faaaaab
mul-float p0, p0, v0
float-to-int p0, p0
return p0
.end method
.method public static b(II)I
.locals 2
const/16 v0, 0xff
if-ne p1, v0, :cond_0
return p0
:cond_0
const v0, 0xffffff
if-nez p1, :cond_1
and-int/2addr p0, v0
return p0
:cond_1
shr-int/lit8 v1, p1, 0x7
add-int/2addr p1, v1
ushr-int/lit8 v1, p0, 0x18
mul-int v1, v1, p1
shr-int/lit8 p1, v1, 0x8
shl-int/lit8 p1, p1, 0x18
and-int/2addr p0, v0
or-int/2addr p0, p1
return p0
.end method
.method public static b(Landroid/os/Parcel;)I
.locals 6
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result v0
invoke-static {p0, v0}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result v1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v2
const v3, 0xffff
and-int/2addr v3, v0
const/16 v4, 0x4f45
if-eq v3, v4, :cond_1
new-instance v1, Le/k/a/b/e/m/t/a;
const-string v2, "Expected object header. Got 0x"
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
goto :goto_0
:cond_0
new-instance v0, Ljava/lang/String;
invoke-direct {v0, v2}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
:goto_0
invoke-direct {v1, v0, p0}, Le/k/a/b/e/m/t/a;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v1
:cond_1
add-int/2addr v1, v2
if-lt v1, v2, :cond_2
invoke-virtual {p0}, Landroid/os/Parcel;->dataSize()I
move-result v0
if-gt v1, v0, :cond_2
return v1
:cond_2
new-instance v0, Le/k/a/b/e/m/t/a;
const/16 v3, 0x36
const-string v4, "Size read is invalid start="
const-string v5, " end="
invoke-static {v3, v4, v2, v5, v1}, Le/e/b/a/a;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1, p0}, Le/k/a/b/e/m/t/a;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static b(Ljava/io/InputStream;)I
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
int-to-byte v0, v0
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v1
int-to-byte v1, v1
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v2
int-to-byte v2, v2
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result p0
int-to-byte p0, p0
shl-int/lit8 p0, p0, 0x18
const/high16 v3, -0x1000000
and-int/2addr p0, v3
shl-int/lit8 v2, v2, 0x10
const/high16 v3, 0xff0000
and-int/2addr v2, v3
or-int/2addr p0, v2
shl-int/lit8 v1, v1, 0x8
const v2, 0xff00
and-int/2addr v1, v2
or-int/2addr p0, v1
and-int/lit16 v0, v0, 0xff
or-int/2addr p0, v0
return p0
.end method
.method public static b(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x2
invoke-static {p0, p1, v0, p2, p3}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;IJ)V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getShort()S
move-result p0
const p1, 0xffff
and-int/2addr p0, p1
return p0
.end method
.method public static b(Le/d/a/w/h0/c;Le/d/a/d;)Le/d/a/u/j/b;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x1
invoke-static {p0, p1, v0}, Le/c/a/u;->a(Le/d/a/w/h0/c;Le/d/a/d;Z)Le/d/a/u/j/b;
move-result-object p0
return-object p0
.end method
.method public static b(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.param p0 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)TT;"
}
.end annotation
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
const-string v0, "null reference"
invoke-direct {p0, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ljava/lang/Object;",
")TT;"
}
.end annotation
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
.locals 1
if-eqz p0, :cond_0
invoke-static {p0}, Le/c/a/u;->c(Ljava/lang/Throwable;)V
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
:cond_0
new-instance p0, Ljava/lang/NullPointerException;
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
throw p0
.end method
.method public static b(Lcom/facebook/cache/common/CacheKey;)Ljava/lang/String;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/UnsupportedEncodingException;
}
.end annotation
invoke-interface {p0}, Lcom/facebook/cache/common/CacheKey;->a()Ljava/lang/String;
move-result-object p0
const-string v0, "UTF-8"
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object p0
:try_start_0
const-string v0, "SHA-1"
invoke-static {v0}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object v0
const/4 v1, 0x0
array-length v2, p0
invoke-virtual {v0, p0, v1, v2}, Ljava/security/MessageDigest;->update([BII)V
invoke-virtual {v0}, Ljava/security/MessageDigest;->digest()[B
move-result-object p0
const/16 v0, 0xb
invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object p0
:try_end_0
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v0
.end method
.method public static declared-synchronized b()V
.locals 2
const-class v0, Le/j/j/m/c;
monitor-enter v0
:try_start_0
sget-boolean v1, Le/c/a/u;->e:Z
if-nez v1, :cond_0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const-string v1, "static-webp"
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->a(Ljava/lang/String;)Z
const/4 v1, 0x1
sput-boolean v1, Le/c/a/u;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static b(Landroid/os/Parcel;II)V
.locals 4
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
if-ne p1, p2, :cond_0
return-void
:cond_0
new-instance v0, Le/k/a/b/e/m/t/a;
invoke-static {p1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
const/16 v2, 0x2e
invoke-static {v1, v2}, Le/e/b/a/a;->b(Ljava/lang/String;I)I
move-result v2
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v2, "Expected size "
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p2, " got "
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " (0x"
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, ")"
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1, p0}, Le/k/a/b/e/m/t/a;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static b(Lcom/discord/simpleast/core/node/Node;Le/a/g/a/c/a;)V
.locals 1
invoke-interface {p1, p0}, Le/a/g/a/c/a;->processNode(Lcom/discord/simpleast/core/node/Node;)V
invoke-virtual {p0}, Lcom/discord/simpleast/core/node/Node;->hasChildren()Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/simpleast/core/node/Node;->getChildren()Ljava/util/Collection;
move-result-object p0
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/discord/simpleast/core/node/Node;
invoke-static {v0, p1}, Le/c/a/u;->b(Lcom/discord/simpleast/core/node/Node;Le/a/g/a/c/a;)V
goto :goto_0
:cond_0
return-void
.end method
.method public static b(Ljava/lang/String;)V
.locals 2
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static b(Z)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p0
.end method
.method public static b(ZLjava/lang/Object;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static b(Landroid/content/Context;)Z
.locals 1
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
sget-object v0, Le/c/a/u;->i:Ljava/lang/Boolean;
if-nez v0, :cond_1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
const-string v0, "cn.google"
invoke-virtual {p0, v0}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
sput-object p0, Le/c/a/u;->i:Ljava/lang/Boolean;
:cond_1
sget-object p0, Le/c/a/u;->i:Ljava/lang/Boolean;
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
move-result p0
return p0
.end method
.method public static b(Ljava/io/File;)Z
.locals 1
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {p0}, Le/c/a/u;->a(Ljava/io/File;)Z
:cond_0
invoke-virtual {p0}, Ljava/io/File;->delete()Z
move-result p0
return p0
.end method
.method public static b(Landroid/os/Parcel;I)[B
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->createByteArray()[B
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static b(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)[Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/os/Parcel;",
"I",
"Landroid/os/Parcelable$Creator<",
"TT;>;)[TT;"
}
.end annotation
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0, p2}, Landroid/os/Parcel;->createTypedArray(Landroid/os/Parcelable$Creator;)[Ljava/lang/Object;
move-result-object p2
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object p2
.end method
.method public static c(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)J
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x4
invoke-static {p0, p1, v0, p2, p3}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;IJ)V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I
move-result p0
int-to-long p0, p0
const-wide p2, 0xffffffffL
and-long/2addr p0, p2
return-wide p0
.end method
.method public static c(Ljava/io/InputStream;)Landroid/util/Pair;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/InputStream;",
")",
"Landroid/util/Pair<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-wide/16 v0, 0x7
invoke-virtual {p0, v0, v1}, Ljava/io/InputStream;->skip(J)J
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-short v0, v0
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v1
and-int/lit16 v1, v1, 0xff
int-to-short v1, v1
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v2
and-int/lit16 v2, v2, 0xff
int-to-short v2, v2
const/16 v3, 0x9d
if-ne v0, v3, :cond_1
const/4 v0, 0x1
if-ne v1, v0, :cond_1
const/16 v0, 0x2a
if-eq v2, v0, :cond_0
goto :goto_0
:cond_0
new-instance v0, Landroid/util/Pair;
invoke-static {p0}, Le/c/a/u;->a(Ljava/io/InputStream;)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {p0}, Le/c/a/u;->a(Ljava/io/InputStream;)I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-direct {v0, v1, p0}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
:cond_1
:goto_0
const/4 p0, 0x0
return-object p0
.end method
.method public static declared-synchronized c()Le/c/a/c0;
.locals 2
const-class v0, Le/c/a/u;
monitor-enter v0
:try_start_0
sget-object v1, Le/c/a/u;->a:Le/c/a/c0;
if-nez v1, :cond_0
new-instance v1, Le/c/a/c0;
invoke-direct {v1}, Le/c/a/c0;-><init>()V
sput-object v1, Le/c/a/u;->a:Le/c/a/c0;
:cond_0
sget-object v1, Le/c/a/u;->a:Le/c/a/c0;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static c(Le/d/a/w/h0/c;Le/d/a/d;)Le/d/a/u/j/d;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v0, Le/d/a/u/j/d;
sget-object v1, Le/d/a/w/n;->a:Le/d/a/w/n;
invoke-static {p0, p1, v1}, Le/c/a/u;->a(Le/d/a/w/h0/c;Le/d/a/d;Le/d/a/w/g0;)Ljava/util/List;
move-result-object p0
invoke-direct {v0, p0}, Le/d/a/u/j/d;-><init>(Ljava/util/List;)V
return-object v0
.end method
.method public static c(Ljava/lang/Object;)Le/j/d/d/g;
.locals 3
new-instance v0, Le/j/d/d/g;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p0
const-string v1, "\\$[0-9]+"
const-string v2, "\\$"
invoke-virtual {p0, v1, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
const/16 v1, 0x24
invoke-virtual {p0, v1}, Ljava/lang/String;->lastIndexOf(I)I
move-result v1
const/4 v2, -0x1
if-ne v1, v2, :cond_0
const/16 v1, 0x2e
invoke-virtual {p0, v1}, Ljava/lang/String;->lastIndexOf(I)I
move-result v1
:cond_0
add-int/lit8 v1, v1, 0x1
invoke-virtual {p0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p0
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Le/j/d/d/g;-><init>(Ljava/lang/String;Le/j/d/d/f;)V
return-object v0
.end method
.method public static c(Ljava/lang/Object;)Le/k/a/b/e/m/p;
.locals 2
new-instance v0, Le/k/a/b/e/m/p;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Le/k/a/b/e/m/p;-><init>(Ljava/lang/Object;Le/k/a/b/e/m/q0;)V
return-object v0
.end method
.method public static c(I)Ljava/lang/String;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
packed-switch p0, :pswitch_data_0
:pswitch_0
const/16 v0, 0x20
const-string v1, "unknown status code: "
invoke-static {v0, v1, p0}, Le/e/b/a/a;->a(ILjava/lang/String;I)Ljava/lang/String;
move-result-object p0
return-object p0
:pswitch_1
const-string p0, "DEAD_CLIENT"
return-object p0
:pswitch_2
const-string p0, "API_NOT_CONNECTED"
return-object p0
:pswitch_3
const-string p0, "CANCELED"
return-object p0
:pswitch_4
const-string p0, "TIMEOUT"
return-object p0
:pswitch_5
const-string p0, "INTERRUPTED"
return-object p0
:pswitch_6
const-string p0, "ERROR"
return-object p0
:pswitch_7
const-string p0, "DEVELOPER_ERROR"
return-object p0
:pswitch_8
const-string p0, "INTERNAL_ERROR"
return-object p0
:pswitch_9
const-string p0, "NETWORK_ERROR"
return-object p0
:pswitch_a
const-string p0, "RESOLUTION_REQUIRED"
return-object p0
:pswitch_b
const-string p0, "INVALID_ACCOUNT"
return-object p0
:pswitch_c
const-string p0, "SIGN_IN_REQUIRED"
return-object p0
:pswitch_d
const-string p0, "SERVICE_DISABLED"
return-object p0
:pswitch_e
const-string p0, "SERVICE_VERSION_UPDATE_REQUIRED"
return-object p0
:pswitch_f
const-string p0, "SUCCESS"
return-object p0
:pswitch_10
const-string p0, "SUCCESS_CACHE"
return-object p0
:pswitch_data_0
.packed-switch -0x1
:pswitch_10
:pswitch_f
:pswitch_0
:pswitch_e
:pswitch_d
:pswitch_c
:pswitch_b
:pswitch_a
:pswitch_9
:pswitch_8
:pswitch_0
:pswitch_7
:pswitch_0
:pswitch_0
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
.end packed-switch
.end method
.method public static c(Ljava/lang/String;)Ljava/lang/String;
.locals 1
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Given String is empty or null"
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static c(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/os/Parcel;",
"I",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0, p2}, Landroid/os/Parcel;->createTypedArrayList(Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
move-result-object p2
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object p2
.end method
.method public static c(Landroid/os/Parcel;II)V
.locals 4
if-ne p1, p2, :cond_0
return-void
:cond_0
new-instance v0, Le/k/a/b/e/m/t/a;
invoke-static {p1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v1
const/16 v2, 0x2e
invoke-static {v1, v2}, Le/e/b/a/a;->b(Ljava/lang/String;I)I
move-result v2
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v2, "Expected size "
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p2, " got "
invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " (0x"
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, ")"
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1, p0}, Le/k/a/b/e/m/t/a;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static c(Ljava/io/File;)V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object v0
if-nez v0, :cond_0
return-void
:cond_0
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
invoke-static {v3}, Le/c/a/u;->c(Ljava/io/File;)V
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
invoke-virtual {p0}, Ljava/io/File;->delete()Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v0
if-nez v0, :cond_2
goto :goto_1
:cond_2
new-instance v0, Ljava/io/IOException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "could not delete: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:cond_3
:goto_1
return-void
.end method
.method public static c(Ljava/lang/Throwable;)V
.locals 2
const-class v0, Ljava/lang/Error;
if-eqz p0, :cond_1
invoke-virtual {v0, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {v0, p0}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_1
:goto_0
const-class v0, Ljava/lang/RuntimeException;
if-eqz p0, :cond_3
invoke-virtual {v0, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
goto :goto_1
:cond_2
invoke-virtual {v0, p0}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_3
:goto_1
return-void
.end method
.method public static c(Z)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
invoke-direct {p0}, Ljava/lang/IllegalStateException;-><init>()V
throw p0
.end method
.method public static c(ZLjava/lang/Object;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static c(Landroid/content/Context;)Z
.locals 1
.annotation build Landroid/annotation/TargetApi;
value = 0x14
.end annotation
sget-object v0, Le/c/a/u;->h:Ljava/lang/Boolean;
if-nez v0, :cond_1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
const-string v0, "android.hardware.type.watch"
invoke-virtual {p0, v0}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
sput-object p0, Le/c/a/u;->h:Ljava/lang/Boolean;
:cond_1
sget-object p0, Le/c/a/u;->h:Ljava/lang/Boolean;
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
move-result p0
return p0
.end method
.method public static c(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 c(Landroid/os/Parcel;I)[[B
.locals 5
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result v1
new-array v2, v1, [[B
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_1
invoke-virtual {p0}, Landroid/os/Parcel;->createByteArray()[B
move-result-object v4
aput-object v4, v2, v3
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v2
.end method
.method public static d(Ljava/io/InputStream;)Landroid/util/Pair;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/InputStream;",
")",
"Landroid/util/Pair<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-static {p0}, Le/c/a/u;->b(Ljava/io/InputStream;)I
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-byte v0, v0
const/16 v1, 0x2f
if-eq v0, v1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
int-to-byte v0, v0
and-int/lit16 v0, v0, 0xff
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v1
int-to-byte v1, v1
and-int/lit16 v1, v1, 0xff
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v2
int-to-byte v2, v2
and-int/lit16 v2, v2, 0xff
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result p0
int-to-byte p0, p0
and-int/lit16 p0, p0, 0xff
and-int/lit8 v3, v1, 0x3f
shl-int/lit8 v3, v3, 0x8
or-int/2addr v0, v3
add-int/lit8 v0, v0, 0x1
and-int/lit8 p0, p0, 0xf
shl-int/lit8 p0, p0, 0xa
shl-int/lit8 v2, v2, 0x2
or-int/2addr p0, v2
and-int/lit16 v1, v1, 0xc0
shr-int/lit8 v1, v1, 0x6
or-int/2addr p0, v1
add-int/lit8 p0, p0, 0x1
new-instance v1, Landroid/util/Pair;
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-direct {v1, v0, p0}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v1
.end method
.method public static d(Le/d/a/w/h0/c;Le/d/a/d;)Le/d/a/u/j/f;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v0, Le/d/a/u/j/f;
invoke-static {}, Le/d/a/x/g;->a()F
move-result v1
sget-object v2, Le/d/a/w/v;->a:Le/d/a/w/v;
invoke-static {p0, p1, v1, v2}, Le/d/a/w/q;->a(Le/d/a/w/h0/c;Le/d/a/d;FLe/d/a/w/g0;)Ljava/util/List;
move-result-object p0
invoke-direct {v0, p0}, Le/d/a/u/j/f;-><init>(Ljava/util/List;)V
return-object v0
.end method
.method public static declared-synchronized d()Le/k/a/b/e/n/a$a;
.locals 2
const-class v0, Le/k/a/b/e/n/a;
monitor-enter v0
:try_start_0
sget-object v1, Le/c/a/u;->g:Le/k/a/b/e/n/a$a;
if-nez v1, :cond_0
new-instance v1, Le/k/a/b/e/n/b;
invoke-direct {v1}, Le/k/a/b/e/n/b;-><init>()V
sput-object v1, Le/c/a/u;->g:Le/k/a/b/e/n/a$a;
:cond_0
sget-object v1, Le/c/a/u;->g:Le/k/a/b/e/n/a$a;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static d(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;J)S
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x1
invoke-static {p0, p1, v0, p2, p3}, Le/c/a/u;->a(Ljava/nio/channels/FileChannel;Ljava/nio/ByteBuffer;IJ)V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B
move-result p0
and-int/lit16 p0, p0, 0xff
int-to-short p0, p0
return p0
.end method
.method public static d(Landroid/os/Parcel;II)V
.locals 1
const v0, 0xffff
if-lt p2, v0, :cond_0
const/high16 v0, -0x10000
or-int/2addr p1, v0
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p0, p2}, Landroid/os/Parcel;->writeInt(I)V
return-void
:cond_0
shl-int/lit8 p2, p2, 0x10
or-int/2addr p1, p2
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method
.method public static d(Ljava/io/File;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object v0
if-eqz v0, :cond_0
const/4 p0, 0x0
:goto_0
array-length v1, v0
if-ge p0, v1, :cond_3
aget-object v1, v0, p0
invoke-static {v1}, Le/c/a/u;->d(Ljava/io/File;)V
add-int/lit8 p0, p0, 0x1
goto :goto_0
:cond_0
new-instance v0, Ljava/io/IOException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "cannot list directory "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
invoke-virtual {p0}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v0
const-string v1, "_lock"
invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_2
goto :goto_1
:cond_2
new-instance v0, Ljava/io/RandomAccessFile;
const-string v1, "r"
invoke-direct {v0, p0, v1}, Ljava/io/RandomAccessFile;-><init>(Ljava/io/File;Ljava/lang/String;)V
:try_start_0
invoke-virtual {v0}, Ljava/io/RandomAccessFile;->getFD()Ljava/io/FileDescriptor;
move-result-object p0
invoke-virtual {p0}, Ljava/io/FileDescriptor;->sync()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v0}, Ljava/io/RandomAccessFile;->close()V
:cond_3
:goto_1
return-void
:catchall_0
move-exception p0
:try_start_1
throw p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
:catchall_1
move-exception v1
:try_start_2
invoke-virtual {v0}, Ljava/io/RandomAccessFile;->close()V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
goto :goto_2
:catchall_2
move-exception v0
invoke-virtual {p0, v0}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
:goto_2
throw v1
.end method
.method public static d(Ljava/lang/String;)V
.locals 2
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-nez v0, :cond_1
return-void
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static d(Z)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
invoke-direct {p0}, Ljava/lang/IllegalStateException;-><init>()V
throw p0
.end method
.method public static d(ZLjava/lang/Object;)V
.locals 0
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static d(I)Z
.locals 1
if-eqz p0, :cond_1
const/4 v0, -0x2
if-ne p0, v0, :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 d(Landroid/content/Context;)Z
.locals 4
.annotation build Landroid/annotation/TargetApi;
value = 0x1a
.end annotation
invoke-static {p0}, Le/c/a/u;->c(Landroid/content/Context;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x18
const/4 v3, 0x1
if-lt v0, v2, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
invoke-static {p0}, Le/c/a/u;->b(Landroid/content/Context;)Z
move-result p0
if-eqz p0, :cond_2
invoke-static {}, Le/k/a/b/e/p/g;->c()Z
move-result p0
if-nez p0, :cond_2
:cond_1
return v3
:cond_2
return v1
.end method
.method public static d(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.param p0 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
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
return p0
:cond_1
:goto_0
const/4 p0, 0x1
return p0
.end method
.method public static d(Landroid/os/Parcel;I)[I
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->createIntArray()[I
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static e(Ljava/io/InputStream;)I
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-byte v0, v0
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result v1
and-int/lit16 v1, v1, 0xff
int-to-byte v1, v1
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
move-result p0
and-int/lit16 p0, p0, 0xff
int-to-byte p0, p0
shl-int/lit8 p0, p0, 0x10
const/high16 v2, 0xff0000
and-int/2addr p0, v2
shl-int/lit8 v1, v1, 0x8
const v2, 0xff00
and-int/2addr v1, v2
or-int/2addr p0, v1
and-int/lit16 v0, v0, 0xff
or-int/2addr p0, v0
return p0
.end method
.method public static e(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
const/4 v0, 0x0
if-nez p0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
:goto_0
if-nez p1, :cond_1
goto :goto_1
:cond_1
invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I
move-result v0
:goto_1
invoke-static {p0, v0}, Le/c/a/u;->a(II)I
move-result p0
return p0
.end method
.method public static e(Ljava/lang/String;)Ljava/lang/Class;
.locals 0
:try_start_0
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object p0
:catchall_0
const/4 p0, 0x0
return-object p0
.end method
.method public static e(Landroid/os/Parcel;I)Ljava/lang/String;
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static e(Ljava/io/File;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Le/j/d/c/b;
}
.end annotation
invoke-virtual {p0}, Ljava/io/File;->exists()Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Ljava/io/File;->delete()Z
move-result v0
if-eqz v0, :cond_1
goto :goto_0
:cond_1
new-instance v0, Le/j/d/c/b;
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v1
new-instance v2, Le/j/d/c/c;
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object p0
invoke-direct {v2, p0}, Le/j/d/c/c;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v1, v2}, Le/j/d/c/b;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
:cond_2
:goto_0
invoke-virtual {p0}, Ljava/io/File;->mkdirs()Z
move-result v0
if-nez v0, :cond_4
invoke-virtual {p0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_3
goto :goto_1
:cond_3
new-instance v0, Le/j/d/c/b;
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Le/j/d/c/b;-><init>(Ljava/lang/String;)V
throw v0
:cond_4
:goto_1
return-void
.end method
.method public static f(Ljava/io/File;)[B
.locals 2
const/4 v0, 0x0
:try_start_0
new-instance v1, Ljava/io/FileInputStream;
invoke-direct {v1, p0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
:try_end_0
.catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
invoke-static {v1}, Le/c/a/u;->f(Ljava/io/InputStream;)[B
move-result-object p0
:try_end_1
.catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_3
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-static {v1}, Lq/a/a/a/p/b/j;->a(Ljava/io/Closeable;)V
return-object p0
:catchall_0
move-exception p0
move-object v0, v1
goto :goto_0
:catchall_1
move-exception p0
:goto_0
invoke-static {v0}, Lq/a/a/a/p/b/j;->a(Ljava/io/Closeable;)V
throw p0
:catch_0
move-object v1, v0
:catch_1
invoke-static {v1}, Lq/a/a/a/p/b/j;->a(Ljava/io/Closeable;)V
return-object v0
:catch_2
move-object v1, v0
:catch_3
invoke-static {v1}, Lq/a/a/a/p/b/j;->a(Ljava/io/Closeable;)V
return-object v0
.end method
.method public static f(Ljava/io/InputStream;)[B
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const/16 v0, 0x400
new-array v0, v0, [B
new-instance v1, Ljava/io/ByteArrayOutputStream;
invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V
:goto_0
invoke-virtual {p0, v0}, Ljava/io/InputStream;->read([B)I
move-result v2
const/4 v3, -0x1
if-eq v2, v3, :cond_0
const/4 v3, 0x0
invoke-virtual {v1, v0, v3, v2}, Ljava/io/ByteArrayOutputStream;->write([BII)V
goto :goto_0
:cond_0
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object p0
return-object p0
.end method
.method public static f(Landroid/os/Parcel;I)[Ljava/lang/String;
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->createStringArray()[Ljava/lang/String;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static g(Landroid/os/Parcel;I)Ljava/util/ArrayList;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/os/Parcel;",
"I)",
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->createStringArrayList()Ljava/util/ArrayList;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static h(Landroid/os/Parcel;I)V
.locals 3
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-ne v0, p1, :cond_0
return-void
:cond_0
new-instance v0, Le/k/a/b/e/m/t/a;
const/16 v1, 0x25
const-string v2, "Overread allowed size end="
invoke-static {v1, v2, p1}, Le/e/b/a/a;->a(ILjava/lang/String;I)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1, p0}, Le/k/a/b/e/m/t/a;-><init>(Ljava/lang/String;Landroid/os/Parcel;)V
throw v0
.end method
.method public static i(Landroid/os/Parcel;I)Z
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Le/c/a/u;->b(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static j(Landroid/os/Parcel;I)Landroid/os/IBinder;
.locals 2
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
if-nez p1, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object v1
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-object v1
.end method
.method public static k(Landroid/os/Parcel;I)I
.locals 1
const/4 v0, 0x4
invoke-static {p0, p1, v0}, Le/c/a/u;->b(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
return p0
.end method
.method public static l(Landroid/os/Parcel;I)J
.locals 1
const/16 v0, 0x8
invoke-static {p0, p1, v0}, Le/c/a/u;->b(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Landroid/os/Parcel;->readLong()J
move-result-wide p0
return-wide p0
.end method
.method public static m(Landroid/os/Parcel;I)I
.locals 2
const/high16 v0, -0x10000
and-int v1, p1, v0
if-eq v1, v0, :cond_0
shr-int/lit8 p0, p1, 0x10
const p1, 0xffff
and-int/2addr p0, p1
return p0
:cond_0
invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I
move-result p0
return p0
.end method
.method public static n(Landroid/os/Parcel;I)V
.locals 1
invoke-static {p0, p1}, Le/c/a/u;->m(Landroid/os/Parcel;I)I
move-result p1
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
add-int/2addr v0, p1
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-void
.end method
.method public static o(Landroid/os/Parcel;I)I
.locals 1
const/high16 v0, -0x10000
or-int/2addr p1, v0
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
const/4 p1, 0x0
invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result p0
return p0
.end method
.method public static p(Landroid/os/Parcel;I)V
.locals 2
invoke-virtual {p0}, Landroid/os/Parcel;->dataPosition()I
move-result v0
sub-int v1, v0, p1
add-int/lit8 p1, p1, -0x4
invoke-virtual {p0, p1}, Landroid/os/Parcel;->setDataPosition(I)V
invoke-virtual {p0, v1}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p0, v0}, Landroid/os/Parcel;->setDataPosition(I)V
return-void
.end method