129 lines
3.2 KiB
Smali
129 lines
3.2 KiB
Smali
.class final Lcom/google/android/gms/internal/measurement/bq;
|
|
.super Lcom/google/android/gms/internal/measurement/bp;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/android/gms/internal/measurement/bp<",
|
|
"Ljava/lang/Long;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/gms/internal/measurement/bw;Ljava/lang/String;Ljava/lang/Long;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, p1, p2, p3, v0}, Lcom/google/android/gms/internal/measurement/bp;-><init>(Lcom/google/android/gms/internal/measurement/bw;Ljava/lang/String;Ljava/lang/Object;B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final af(Ljava/lang/Object;)Ljava/lang/Long;
|
|
.locals 3
|
|
|
|
instance-of v0, p1, Ljava/lang/Long;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
instance-of v0, p1, Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:try_start_0
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p1
|
|
|
|
:catch_0
|
|
:cond_1
|
|
invoke-super {p0}, Lcom/google/android/gms/internal/measurement/bp;->pu()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
add-int/lit8 v1, v1, 0x19
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const-string v1, "Invalid long value for "
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, ": "
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "PhenotypeFlag"
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final synthetic ae(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/bq;->af(Ljava/lang/Object;)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|