823 lines
20 KiB
Smali
823 lines
20 KiB
Smali
.class public final Lcom/google/android/gms/internal/measurement/he;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field private asK:I
|
|
|
|
.field private asL:I
|
|
|
|
.field private asM:I
|
|
|
|
.field private asT:I
|
|
|
|
.field asV:I
|
|
|
|
.field private asW:I
|
|
|
|
.field final axP:I
|
|
|
|
.field private final axQ:I
|
|
|
|
.field private axR:I
|
|
|
|
.field axS:I
|
|
|
|
.field private axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
.field final buffer:[B
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>([BI)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const v0, 0x7fffffff
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
const/16 v0, 0x40
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asL:I
|
|
|
|
const/high16 v0, 0x4000000
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asM:I
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/measurement/he;->buffer:[B
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/he;->axP:I
|
|
|
|
add-int/2addr p2, p1
|
|
|
|
iput p2, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
iput p2, p0, Lcom/google/android/gms/internal/measurement/he;->axQ:I
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final bO(I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/gms/internal/measurement/hm;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->asV:I
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
const-string v0, "Protocol message end-group tag did not match expected tag."
|
|
|
|
invoke-direct {p1, v0}, Lcom/google/android/gms/internal/measurement/hm;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private final bS(I)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-ltz p1, :cond_2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
add-int v1, v0, p1
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
if-gt p1, v1, :cond_0
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tA()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
sub-int/2addr v2, v0
|
|
|
|
invoke-direct {p0, v2}, Lcom/google/android/gms/internal/measurement/he;->bS(I)V
|
|
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tA()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tB()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static i([BI)Lcom/google/android/gms/internal/measurement/he;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/he;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/measurement/he;-><init>([BI)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final rw()V
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asT:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
sub-int v1, v0, v1
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/he;->asT:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asT:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asT:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/google/android/gms/internal/measurement/fk;)Lcom/google/android/gms/internal/measurement/dr;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Lcom/google/android/gms/internal/measurement/dr<",
|
|
"TT;*>;>(",
|
|
"Lcom/google/android/gms/internal/measurement/fk<",
|
|
"TT;>;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->buffer:[B
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axP:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->axQ:I
|
|
|
|
invoke-static {v0, v1, v2}, Lcom/google/android/gms/internal/measurement/cv;->e([BII)Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
invoke-virtual {v0}, Lcom/google/android/gms/internal/measurement/cv;->rp()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->axP:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
if-gt v0, v1, :cond_2
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
invoke-virtual {v2, v1}, Lcom/google/android/gms/internal/measurement/cv;->bS(I)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asL:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
iput v1, v0, Lcom/google/android/gms/internal/measurement/cv;->asL:I
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/he;->axT:Lcom/google/android/gms/internal/measurement/cv;
|
|
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/de;->rN()Lcom/google/android/gms/internal/measurement/de;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/google/android/gms/internal/measurement/cv;->a(Lcom/google/android/gms/internal/measurement/fk;Lcom/google/android/gms/internal/measurement/de;)Lcom/google/android/gms/internal/measurement/fb;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/google/android/gms/internal/measurement/dr;
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->asV:I
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/he;->bP(I)Z
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const/16 v0, 0x2f
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2, v0}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const-string v0, "Recursion limit cannot be negative: "
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/io/IOException;
|
|
|
|
const-string v2, "CodedInputStream read ahead of CodedInputByteBufferNano: %s > %s"
|
|
|
|
const/4 v3, 0x2
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, v3, v4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v3, v0
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
:try_end_0
|
|
.catch Lcom/google/android/gms/internal/measurement/ec; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-direct {v0, v1, p1}, Lcom/google/android/gms/internal/measurement/hm;-><init>(Ljava/lang/String;Ljava/lang/Exception;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final a(Lcom/google/android/gms/internal/measurement/hp;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->asL:I
|
|
|
|
if-ge v1, v2, :cond_2
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
if-gt v0, v1, :cond_0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/he;->rw()V
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
invoke-virtual {p1, p0}, Lcom/google/android/gms/internal/measurement/hp;->a(Lcom/google/android/gms/internal/measurement/he;)Lcom/google/android/gms/internal/measurement/hp;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/he;->bO(I)V
|
|
|
|
iget p1, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/he;->asK:I
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/he;->asW:I
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/he;->rw()V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tA()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tB()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
const-string v0, "Protocol message had too many levels of nesting. May be malicious. Use CodedInputStream.setRecursionLimit() to increase the depth limit."
|
|
|
|
invoke-direct {p1, v0}, Lcom/google/android/gms/internal/measurement/hm;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final bP(I)Z
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
and-int/lit8 v0, p1, 0x7
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
if-eq v0, v1, :cond_5
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v0, v2, :cond_4
|
|
|
|
const/4 v2, 0x4
|
|
|
|
const/4 v3, 0x3
|
|
|
|
if-eq v0, v3, :cond_2
|
|
|
|
if-eq v0, v2, :cond_1
|
|
|
|
const/4 p1, 0x5
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
const-string v0, "Protocol message tag had invalid wire type."
|
|
|
|
invoke-direct {p1, v0}, Lcom/google/android/gms/internal/measurement/hm;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->qY()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/he;->bP(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
:cond_3
|
|
ushr-int/2addr p1, v3
|
|
|
|
shl-int/2addr p1, v3
|
|
|
|
or-int/2addr p1, v2
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/he;->bO(I)V
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
move-result p1
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/he;->bS(I)V
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
return v1
|
|
|
|
:cond_6
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final getPosition()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axP:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final qY()I
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asV:I
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/he;->asV:I
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->asV:I
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
const-string v1, "Protocol message contained an invalid tag (zero)."
|
|
|
|
invoke-direct {v0, v1}, Lcom/google/android/gms/internal/measurement/hm;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final re()Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final readString()Ljava/lang/String;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rs()I
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
if-gt v0, v1, :cond_0
|
|
|
|
new-instance v1, Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/he;->buffer:[B
|
|
|
|
sget-object v4, Lcom/google/android/gms/internal/measurement/hn;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
invoke-direct {v1, v3, v2, v0, v4}, Ljava/lang/String;-><init>([BIILjava/nio/charset/Charset;)V
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
iput v2, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tA()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tB()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final rs()I
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
and-int/lit8 v0, v0, 0x7f
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
shl-int/lit8 v1, v1, 0x7
|
|
|
|
:goto_0
|
|
or-int/2addr v0, v1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
and-int/lit8 v1, v1, 0x7f
|
|
|
|
shl-int/lit8 v1, v1, 0x7
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_2
|
|
|
|
shl-int/lit8 v1, v1, 0xe
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
and-int/lit8 v1, v1, 0x7f
|
|
|
|
shl-int/lit8 v1, v1, 0xe
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v1
|
|
|
|
if-ltz v1, :cond_3
|
|
|
|
shl-int/lit8 v1, v1, 0x15
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
and-int/lit8 v1, v1, 0x7f
|
|
|
|
shl-int/lit8 v1, v1, 0x15
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v1
|
|
|
|
shl-int/lit8 v2, v1, 0x1c
|
|
|
|
or-int/2addr v0, v2
|
|
|
|
if-gez v1, :cond_6
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
const/4 v2, 0x5
|
|
|
|
if-ge v1, v2, :cond_5
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/he;->rx()B
|
|
|
|
move-result v2
|
|
|
|
if-ltz v2, :cond_4
|
|
|
|
return v0
|
|
|
|
:cond_4
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tC()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
:goto_2
|
|
return v0
|
|
.end method
|
|
|
|
.method final rx()B
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/he;->axR:I
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/measurement/he;->buffer:[B
|
|
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
iput v2, p0, Lcom/google/android/gms/internal/measurement/he;->axS:I
|
|
|
|
aget-byte v0, v1, v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hm;->tA()Lcom/google/android/gms/internal/measurement/hm;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
.end method
|