233 lines
5 KiB
Smali
233 lines
5 KiB
Smali
.class public final Lcom/google/android/gms/internal/measurement/dv;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# static fields
|
|
.field private static final ISO_8859_1:Ljava/nio/charset/Charset;
|
|
|
|
.field static final UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
.field public static final atl:[B
|
|
|
|
.field private static final atm:Ljava/nio/ByteBuffer;
|
|
|
|
.field private static final atn:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
const-string v0, "UTF-8"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/measurement/dv;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
const-string v0, "ISO-8859-1"
|
|
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/measurement/dv;->ISO_8859_1:Ljava/nio/charset/Charset;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [B
|
|
|
|
sput-object v1, Lcom/google/android/gms/internal/measurement/dv;->atl:[B
|
|
|
|
invoke-static {v1}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lcom/google/android/gms/internal/measurement/dv;->atm:Ljava/nio/ByteBuffer;
|
|
|
|
sget-object v1, Lcom/google/android/gms/internal/measurement/dv;->atl:[B
|
|
|
|
array-length v2, v1
|
|
|
|
invoke-static {v1, v0, v2}, Lcom/google/android/gms/internal/measurement/cw;->e([BII)Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/measurement/dv;->atn:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static K(Z)I
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/16 p0, 0x4cf
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/16 p0, 0x4d5
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static P(J)I
|
|
.locals 2
|
|
|
|
const/16 v0, 0x20
|
|
|
|
ushr-long v0, p0, v0
|
|
|
|
xor-long/2addr p0, v0
|
|
|
|
long-to-int p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static c(I[BII)I
|
|
.locals 2
|
|
|
|
move v0, p0
|
|
|
|
move p0, p2
|
|
|
|
:goto_0
|
|
add-int v1, p2, p3
|
|
|
|
if-ge p0, v1, :cond_0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
aget-byte v1, p1, p0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method static checkNotNull(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 static d(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;",
|
|
"Ljava/lang/String;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method static e(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p0, Lcom/google/android/gms/internal/measurement/fa;
|
|
|
|
invoke-interface {p0}, Lcom/google/android/gms/internal/measurement/fa;->qP()Lcom/google/android/gms/internal/measurement/fb;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p1, Lcom/google/android/gms/internal/measurement/fa;
|
|
|
|
invoke-interface {p0, p1}, Lcom/google/android/gms/internal/measurement/fb;->a(Lcom/google/android/gms/internal/measurement/fa;)Lcom/google/android/gms/internal/measurement/fb;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p0}, Lcom/google/android/gms/internal/measurement/fb;->qV()Lcom/google/android/gms/internal/measurement/fa;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static hashCode([B)I
|
|
.locals 2
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {v0, p0, v1, v0}, Lcom/google/android/gms/internal/measurement/dv;->c(I[BII)I
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
:cond_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static p([B)Z
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/android/gms/internal/measurement/gr;->p([B)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static q([B)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/String;
|
|
|
|
sget-object v1, Lcom/google/android/gms/internal/measurement/dv;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
invoke-direct {v0, p0, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method static qZ()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|