243 lines
7.6 KiB
Smali
243 lines
7.6 KiB
Smali
.class final Lcom/google/android/gms/internal/measurement/c;
|
|
.super Lcom/google/android/gms/internal/measurement/b$a;
|
|
|
|
|
|
# instance fields
|
|
.field private final synthetic ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
.field private final synthetic ang:Ljava/lang/String;
|
|
|
|
.field private final synthetic anh:Ljava/lang/String;
|
|
|
|
.field private final synthetic ani:Landroid/os/Bundle;
|
|
|
|
.field private final synthetic val$context:Landroid/content/Context;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/gms/internal/measurement/b;Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/measurement/c;->ang:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/google/android/gms/internal/measurement/c;->anh:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
iput-object p5, p0, Lcom/google/android/gms/internal/measurement/c;->ani:Landroid/os/Bundle;
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/measurement/b$a;-><init>(Lcom/google/android/gms/internal/measurement/b;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final on()V
|
|
.locals 14
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:try_start_0
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
new-instance v3, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v3}, Ljava/util/HashMap;-><init>()V
|
|
|
|
invoke-static {v2, v3}, Lcom/google/android/gms/internal/measurement/b;->a(Lcom/google/android/gms/internal/measurement/b;Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->ang:Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->anh:Ljava/lang/String;
|
|
|
|
invoke-static {v2, v3}, Lcom/google/android/gms/internal/measurement/b;->C(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->anh:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->ang:Ljava/lang/String;
|
|
|
|
iget-object v4, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
invoke-static {v4}, Lcom/google/android/gms/internal/measurement/b;->b(Lcom/google/android/gms/internal/measurement/b;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
move-object v10, v2
|
|
|
|
move-object v11, v3
|
|
|
|
move-object v9, v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v9, v3
|
|
|
|
move-object v10, v9
|
|
|
|
move-object v11, v10
|
|
|
|
:goto_0
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
invoke-static {v2}, Lcom/google/android/gms/internal/measurement/b;->ag(Landroid/content/Context;)V
|
|
|
|
invoke-static {}, Lcom/google/android/gms/internal/measurement/b;->ol()Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
if-eqz v10, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
:goto_1
|
|
const/4 v2, 0x1
|
|
|
|
:goto_2
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
iget-object v4, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
iget-object v5, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
invoke-virtual {v4, v5, v2}, Lcom/google/android/gms/internal/measurement/b;->a(Landroid/content/Context;Z)Lcom/google/android/gms/internal/measurement/hw;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v3, v4}, Lcom/google/android/gms/internal/measurement/b;->a(Lcom/google/android/gms/internal/measurement/b;Lcom/google/android/gms/internal/measurement/hw;)Lcom/google/android/gms/internal/measurement/hw;
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
invoke-static {v3}, Lcom/google/android/gms/internal/measurement/b;->c(Lcom/google/android/gms/internal/measurement/b;)Lcom/google/android/gms/internal/measurement/hw;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_3
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
invoke-static {v2}, Lcom/google/android/gms/internal/measurement/b;->b(Lcom/google/android/gms/internal/measurement/b;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "Failed to connect to measurement client."
|
|
|
|
invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
invoke-static {v3}, Lcom/google/android/gms/internal/measurement/b;->ah(Landroid/content/Context;)I
|
|
|
|
move-result v3
|
|
|
|
iget-object v4, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
invoke-static {v4}, Lcom/google/android/gms/internal/measurement/b;->ai(Landroid/content/Context;)I
|
|
|
|
move-result v4
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v2
|
|
|
|
if-ge v4, v3, :cond_4
|
|
|
|
:goto_3
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v3, 0x0
|
|
|
|
:goto_4
|
|
move v8, v3
|
|
|
|
goto :goto_6
|
|
|
|
:cond_5
|
|
if-lez v3, :cond_6
|
|
|
|
move v2, v3
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
move v2, v4
|
|
|
|
:goto_5
|
|
if-lez v3, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:goto_6
|
|
new-instance v13, Lcom/google/android/gms/internal/measurement/zzy;
|
|
|
|
const-wide/16 v4, 0x3bc4
|
|
|
|
int-to-long v6, v2
|
|
|
|
iget-object v12, p0, Lcom/google/android/gms/internal/measurement/c;->ani:Landroid/os/Bundle;
|
|
|
|
move-object v3, v13
|
|
|
|
invoke-direct/range {v3 .. v12}, Lcom/google/android/gms/internal/measurement/zzy;-><init>(JJZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
iget-object v2, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
invoke-static {v2}, Lcom/google/android/gms/internal/measurement/b;->c(Lcom/google/android/gms/internal/measurement/b;)Lcom/google/android/gms/internal/measurement/hw;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->val$context:Landroid/content/Context;
|
|
|
|
invoke-static {v3}, Lcom/google/android/gms/a/b;->aa(Ljava/lang/Object;)Lcom/google/android/gms/a/a;
|
|
|
|
move-result-object v3
|
|
|
|
iget-wide v4, p0, Lcom/google/android/gms/internal/measurement/c;->timestamp:J
|
|
|
|
invoke-interface {v2, v3, v13, v4, v5}, Lcom/google/android/gms/internal/measurement/hw;->initialize(Lcom/google/android/gms/a/a;Lcom/google/android/gms/internal/measurement/zzy;J)V
|
|
:try_end_0
|
|
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
iget-object v3, p0, Lcom/google/android/gms/internal/measurement/c;->ane:Lcom/google/android/gms/internal/measurement/b;
|
|
|
|
invoke-static {v3, v2, v1, v0}, Lcom/google/android/gms/internal/measurement/b;->a(Lcom/google/android/gms/internal/measurement/b;Ljava/lang/Exception;ZZ)V
|
|
|
|
return-void
|
|
.end method
|