986 lines
23 KiB
Smali
986 lines
23 KiB
Smali
.class public final Lcom/google/android/gms/internal/measurement/hf;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field private aqS:I
|
|
|
|
.field private aqT:I
|
|
|
|
.field private aqU:I
|
|
|
|
.field private aqY:I
|
|
|
|
.field private ara:I
|
|
|
|
.field arb:I
|
|
|
|
.field final avV:I
|
|
|
|
.field private final avW:I
|
|
|
|
.field private avX:I
|
|
|
|
.field avY:I
|
|
|
|
.field private avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
.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/hf;->arb:I
|
|
|
|
const/16 v0, 0x40
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->aqT:I
|
|
|
|
const/high16 v0, 0x4000000
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->aqU:I
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/measurement/hf;->buffer:[B
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/hf;->avV:I
|
|
|
|
add-int/2addr p2, p1
|
|
|
|
iput p2, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
iput p2, p0, Lcom/google/android/gms/internal/measurement/hf;->avW:I
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final bB(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/hf;->avY:I
|
|
|
|
add-int v1, v0, p1
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->arb:I
|
|
|
|
if-gt v1, v2, :cond_1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avX: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/hf;->avY:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sl()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
sub-int/2addr v2, v0
|
|
|
|
invoke-direct {p0, v2}, Lcom/google/android/gms/internal/measurement/hf;->bB(I)V
|
|
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sl()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sm()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static i([BI)Lcom/google/android/gms/internal/measurement/hf;
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/hf;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/measurement/hf;-><init>([BI)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final qd()V
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqY:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->arb:I
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
sub-int v1, v0, v1
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqY:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqY:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->aqY:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final qe()B
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/measurement/hf;->buffer:[B
|
|
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
iput v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
aget-byte v0, v1, v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sl()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final P(II)V
|
|
.locals 3
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avV:I
|
|
|
|
sub-int v2, v0, v1
|
|
|
|
if-gt p1, v2, :cond_1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
add-int/2addr v1, p1
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iput p2, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
const/16 v0, 0x18
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const-string v0, "Bad position "
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
|
|
:cond_1
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
const/16 v1, 0x32
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const-string v1, "Position "
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " is beyond current "
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final a(Lcom/google/android/gms/internal/measurement/fl;)Lcom/google/android/gms/internal/measurement/ds;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Lcom/google/android/gms/internal/measurement/ds<",
|
|
"TT;*>;>(",
|
|
"Lcom/google/android/gms/internal/measurement/fl<",
|
|
"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/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/hf;->buffer:[B
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avV:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avW:I
|
|
|
|
invoke-static {v0, v1, v2}, Lcom/google/android/gms/internal/measurement/cw;->e([BII)Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
invoke-virtual {v0}, Lcom/google/android/gms/internal/measurement/cw;->pY()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avV:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
if-gt v0, v1, :cond_2
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
invoke-virtual {v2, v1}, Lcom/google/android/gms/internal/measurement/cw;->bB(I)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqT:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
iput v1, v0, Lcom/google/android/gms/internal/measurement/cw;->aqT:I
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avZ:Lcom/google/android/gms/internal/measurement/cw;
|
|
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/df;->qw()Lcom/google/android/gms/internal/measurement/df;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/google/android/gms/internal/measurement/cw;->a(Lcom/google/android/gms/internal/measurement/fl;Lcom/google/android/gms/internal/measurement/df;)Lcom/google/android/gms/internal/measurement/fa;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/google/android/gms/internal/measurement/ds;
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/hf;->by(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/eb; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-direct {v0, v1, p1}, Lcom/google/android/gms/internal/measurement/hn;-><init>(Ljava/lang/String;Ljava/lang/Exception;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final a(Lcom/google/android/gms/internal/measurement/ho;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/hf;->pZ()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->aqT:I
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/hf;->bz(I)I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
iput v1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
invoke-virtual {p1, p0}, Lcom/google/android/gms/internal/measurement/ho;->a(Lcom/google/android/gms/internal/measurement/hf;)Lcom/google/android/gms/internal/measurement/ho;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-virtual {p0, p1}, Lcom/google/android/gms/internal/measurement/hf;->bx(I)V
|
|
|
|
iget p1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/hf;->aqS:I
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/hf;->bA(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
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/hn;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final bA(I)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/hf;->arb:I
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qd()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final bx(I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/gms/internal/measurement/hn;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
const-string v0, "Protocol message end-group tag did not match expected tag."
|
|
|
|
invoke-direct {p1, v0}, Lcom/google/android/gms/internal/measurement/hn;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final by(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-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
new-instance p1, Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
const-string v0, "Protocol message tag had invalid wire type."
|
|
|
|
invoke-direct {p1, v0}, Lcom/google/android/gms/internal/measurement/hn;-><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/hf;->pH()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/measurement/hf;->by(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-virtual {p0, p1}, Lcom/google/android/gms/internal/measurement/hf;->bx(I)V
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/hf;->pZ()I
|
|
|
|
move-result p1
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/hf;->bB(I)V
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
return v1
|
|
|
|
:cond_6
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/hf;->pZ()I
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final bz(I)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/gms/internal/measurement/hn;
|
|
}
|
|
.end annotation
|
|
|
|
if-ltz p1, :cond_1
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->arb:I
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
iput p1, p0, Lcom/google/android/gms/internal/measurement/hf;->arb:I
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qd()V
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sl()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sm()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object p1
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final cp(I)V
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/measurement/hf;->P(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final getPosition()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avV:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final pH()I
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/hf;->pZ()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
iget v0, p0, Lcom/google/android/gms/internal/measurement/hf;->ara:I
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
const-string v1, "Protocol message contained an invalid tag (zero)."
|
|
|
|
invoke-direct {v0, v1}, Lcom/google/android/gms/internal/measurement/hn;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final pN()Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/internal/measurement/hf;->pZ()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 pZ()I
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
and-int/lit8 v0, v0, 0x7f
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()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-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()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-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()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-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()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-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()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/hn;->sn()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
:goto_2
|
|
return v0
|
|
.end method
|
|
|
|
.method public final qa()J
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
:goto_0
|
|
const/16 v3, 0x40
|
|
|
|
if-ge v0, v3, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/google/android/gms/internal/measurement/hf;->qe()B
|
|
|
|
move-result v3
|
|
|
|
and-int/lit8 v4, v3, 0x7f
|
|
|
|
int-to-long v4, v4
|
|
|
|
shl-long/2addr v4, v0
|
|
|
|
or-long/2addr v1, v4
|
|
|
|
and-int/lit16 v3, v3, 0x80
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
return-wide v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sn()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
throw v0
|
|
|
|
:goto_2
|
|
goto :goto_1
|
|
.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/hf;->pZ()I
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
iget v1, p0, Lcom/google/android/gms/internal/measurement/hf;->avX:I
|
|
|
|
iget v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avY: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/hf;->buffer:[B
|
|
|
|
sget-object v4, Lcom/google/android/gms/internal/measurement/hm;->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/hf;->avY:I
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
iput v2, p0, Lcom/google/android/gms/internal/measurement/hf;->avY:I
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sl()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/hn;->sm()Lcom/google/android/gms/internal/measurement/hn;
|
|
|
|
move-result-object v0
|
|
|
|
throw v0
|
|
.end method
|