177 lines
4.5 KiB
Smali
177 lines
4.5 KiB
Smali
.class final Lcom/google/android/gms/internal/measurement/dx;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.android.gms:play-services-measurement-base@@17.2.1"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/internal/measurement/fd;
|
|
|
|
|
|
# static fields
|
|
.field private static final avN:Lcom/google/android/gms/internal/measurement/dx;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/google/android/gms/internal/measurement/dx;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/gms/internal/measurement/dx;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/android/gms/internal/measurement/dx;->avN:Lcom/google/android/gms/internal/measurement/dx;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static tf()Lcom/google/android/gms/internal/measurement/dx;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/google/android/gms/internal/measurement/dx;->avN:Lcom/google/android/gms/internal/measurement/dx;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final q(Ljava/lang/Class;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Lcom/google/android/gms/internal/measurement/dw;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final r(Ljava/lang/Class;)Lcom/google/android/gms/internal/measurement/fe;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)",
|
|
"Lcom/google/android/gms/internal/measurement/fe;"
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Lcom/google/android/gms/internal/measurement/dw;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "Unsupported message type: "
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
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 v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/String;
|
|
|
|
invoke-direct {p1, v1}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:try_start_0
|
|
const-class v0, Lcom/google/android/gms/internal/measurement/dw;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/google/android/gms/internal/measurement/dw;->p(Ljava/lang/Class;)Lcom/google/android/gms/internal/measurement/dw;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Lcom/google/android/gms/internal/measurement/dw$d;->zzc:I
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/internal/measurement/dw;->bi(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/gms/internal/measurement/fe;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v2, "Unable to get message info for "
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
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 v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/String;
|
|
|
|
invoke-direct {p1, v2}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
:goto_1
|
|
invoke-direct {v1, p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|