AppMeasurement.smali
.class public Lcom/google/android/gms/measurement/AppMeasurement;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/measurement/AppMeasurement$a;,
Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field private static volatile b:Lcom/google/android/gms/measurement/AppMeasurement;
# instance fields
.field private final a:Lcom/google/android/gms/measurement/AppMeasurement$a;
# direct methods
.method private constructor <init>(Lcom/google/android/gms/measurement/internal/x5;)V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/google/android/gms/measurement/a;
invoke-direct {v0, p1}, Lcom/google/android/gms/measurement/a;-><init>(Lcom/google/android/gms/measurement/internal/x5;)V
iput-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
return-void
.end method
.method private constructor <init>(Lcom/google/android/gms/measurement/internal/zzjz;)V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/google/android/gms/measurement/c;
invoke-direct {v0, p1}, Lcom/google/android/gms/measurement/c;-><init>(Lcom/google/android/gms/measurement/internal/zzjz;)V
iput-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
return-void
.end method
.method private static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lcom/google/android/gms/measurement/AppMeasurement;
.registers 15
sget-object p1, Lcom/google/android/gms/measurement/AppMeasurement;->b:Lcom/google/android/gms/measurement/AppMeasurement;
if-nez p1, :cond_3a
const-class p1, Lcom/google/android/gms/measurement/AppMeasurement;
monitor-enter p1
:try_start_7
sget-object p2, Lcom/google/android/gms/measurement/AppMeasurement;->b:Lcom/google/android/gms/measurement/AppMeasurement;
if-nez p2, :cond_35
const/4 p2, 0x0
invoke-static {p0, p2}, Lcom/google/android/gms/measurement/AppMeasurement;->b(Landroid/content/Context;Landroid/os/Bundle;)Lcom/google/android/gms/measurement/internal/zzjz;
move-result-object v0
if-eqz v0, :cond_1a
new-instance p0, Lcom/google/android/gms/measurement/AppMeasurement;
invoke-direct {p0, v0}, Lcom/google/android/gms/measurement/AppMeasurement;-><init>(Lcom/google/android/gms/measurement/internal/zzjz;)V
sput-object p0, Lcom/google/android/gms/measurement/AppMeasurement;->b:Lcom/google/android/gms/measurement/AppMeasurement;
goto :goto_35
:cond_1a
new-instance v11, Lcom/google/android/gms/internal/measurement/f2;
const-wide/16 v1, 0x0
const-wide/16 v3, 0x0
const/4 v5, 0x1
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
move-object v0, v11
invoke-direct/range {v0 .. v10}, Lcom/google/android/gms/internal/measurement/f2;-><init>(JJZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;)V
invoke-static {p0, v11, p2}, Lcom/google/android/gms/measurement/internal/x5;->a(Landroid/content/Context;Lcom/google/android/gms/internal/measurement/f2;Ljava/lang/Long;)Lcom/google/android/gms/measurement/internal/x5;
move-result-object p0
new-instance p2, Lcom/google/android/gms/measurement/AppMeasurement;
invoke-direct {p2, p0}, Lcom/google/android/gms/measurement/AppMeasurement;-><init>(Lcom/google/android/gms/measurement/internal/x5;)V
sput-object p2, Lcom/google/android/gms/measurement/AppMeasurement;->b:Lcom/google/android/gms/measurement/AppMeasurement;
:cond_35
:goto_35
monitor-exit p1
goto :goto_3a
:catchall_37
move-exception p0
monitor-exit p1
:try_end_39
.catchall {:try_start_7 .. :try_end_39} :catchall_37
throw p0
:cond_3a
:goto_3a
sget-object p0, Lcom/google/android/gms/measurement/AppMeasurement;->b:Lcom/google/android/gms/measurement/AppMeasurement;
return-object p0
.end method
.method private static b(Landroid/content/Context;Landroid/os/Bundle;)Lcom/google/android/gms/measurement/internal/zzjz;
.registers 9
const/4 p1, 0x0
:try_start_1
const-class v0, Lcom/google/firebase/analytics/FirebaseAnalytics;
:try_end_3
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_3} :catch_23
:try_start_3
const-string v1, "getScionFrontendApiImplementation"
const/4 v2, 0x2
new-array v3, v2, [Ljava/lang/Class;
const-class v4, Landroid/content/Context;
const/4 v5, 0x0
aput-object v4, v3, v5
const-class v4, Landroid/os/Bundle;
const/4 v6, 0x1
aput-object v4, v3, v6
invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
new-array v1, v2, [Ljava/lang/Object;
aput-object p0, v1, v5
aput-object p1, v1, v6
invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/google/android/gms/measurement/internal/zzjz;
:try_end_22
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_22} :catch_23
return-object p0
:catch_23
return-object p1
.end method
.method public static getInstance(Landroid/content/Context;)Lcom/google/android/gms/measurement/AppMeasurement;
.registers 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x0
invoke-static {p0, v0, v0}, Lcom/google/android/gms/measurement/AppMeasurement;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lcom/google/android/gms/measurement/AppMeasurement;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public beginAdUnitExposure(Ljava/lang/String;)V
.registers 3
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1}, Lcom/google/android/gms/measurement/internal/zzjz;->g(Ljava/lang/String;)V
return-void
.end method
.method public clearConditionalUserProperty(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1, p2, p3}, Lcom/google/android/gms/measurement/internal/zzjz;->c(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
return-void
.end method
.method public endAdUnitExposure(Ljava/lang/String;)V
.registers 3
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1}, Lcom/google/android/gms/measurement/internal/zzjz;->k(Ljava/lang/String;)V
return-void
.end method
.method public generateEventId()J
.registers 3
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0}, Lcom/google/android/gms/measurement/internal/zzjz;->b()J
move-result-wide v0
return-wide v0
.end method
.method public getAppInstanceId()Ljava/lang/String;
.registers 2
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0}, Lcom/google/android/gms/measurement/internal/zzjz;->i()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getConditionalUserProperties(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1, p2}, Lcom/google/android/gms/measurement/internal/zzjz;->f(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
move-result-object p1
new-instance p2, Ljava/util/ArrayList;
if-nez p1, :cond_c
const/4 v0, 0x0
goto :goto_10
:cond_c
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
:goto_10
invoke-direct {p2, v0}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_17
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_2c
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/os/Bundle;
new-instance v1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;
invoke-direct {v1, v0}, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;-><init>(Landroid/os/Bundle;)V
invoke-virtual {p2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_17
:cond_2c
return-object p2
.end method
.method public getCurrentScreenClass()Ljava/lang/String;
.registers 2
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0}, Lcom/google/android/gms/measurement/internal/zzjz;->a()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getCurrentScreenName()Ljava/lang/String;
.registers 2
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0}, Lcom/google/android/gms/measurement/internal/zzjz;->j()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getGmpAppId()Ljava/lang/String;
.registers 2
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0}, Lcom/google/android/gms/measurement/internal/zzjz;->d()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getMaxUserProperties(Ljava/lang/String;)I
.registers 3
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1}, Lcom/google/android/gms/measurement/internal/zzjz;->e(Ljava/lang/String;)I
move-result p1
return p1
.end method
.method protected getUserProperties(Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/Map;
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Z)",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1, p2, p3}, Lcom/google/android/gms/measurement/internal/zzjz;->l(Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/Map;
move-result-object p1
return-object p1
.end method
.method public logEventInternal(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
invoke-interface {v0, p1, p2, p3}, Lcom/google/android/gms/measurement/internal/zzjz;->m(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
return-void
.end method
.method public setConditionalUserProperty(Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;)V
.registers 7
.param p1 # Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Keep;
.end annotation
invoke-static {p1}, Lp5/p;->m(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurement;->a:Lcom/google/android/gms/measurement/AppMeasurement$a;
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mAppId:Ljava/lang/String;
if-eqz v2, :cond_13
const-string v3, "app_id"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_13
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mOrigin:Ljava/lang/String;
if-eqz v2, :cond_1c
const-string v3, "origin"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_1c
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mName:Ljava/lang/String;
if-eqz v2, :cond_25
const-string v3, "name"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_25
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mValue:Ljava/lang/Object;
if-eqz v2, :cond_2c
invoke-static {v1, v2}, Lv6/n;->b(Landroid/os/Bundle;Ljava/lang/Object;)V
:cond_2c
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTriggerEventName:Ljava/lang/String;
if-eqz v2, :cond_35
const-string v3, "trigger_event_name"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_35
const-string v2, "trigger_timeout"
iget-wide v3, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTriggerTimeout:J
invoke-virtual {v1, v2, v3, v4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTimedOutEventName:Ljava/lang/String;
if-eqz v2, :cond_45
const-string v3, "timed_out_event_name"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_45
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTimedOutEventParams:Landroid/os/Bundle;
if-eqz v2, :cond_4e
const-string v3, "timed_out_event_params"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
:cond_4e
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTriggeredEventName:Ljava/lang/String;
if-eqz v2, :cond_57
const-string v3, "triggered_event_name"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_57
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTriggeredEventParams:Landroid/os/Bundle;
if-eqz v2, :cond_60
const-string v3, "triggered_event_params"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
:cond_60
const-string v2, "time_to_live"
iget-wide v3, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTimeToLive:J
invoke-virtual {v1, v2, v3, v4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mExpiredEventName:Ljava/lang/String;
if-eqz v2, :cond_70
const-string v3, "expired_event_name"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:cond_70
iget-object v2, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mExpiredEventParams:Landroid/os/Bundle;
if-eqz v2, :cond_79
const-string v3, "expired_event_params"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
:cond_79
const-string v2, "creation_timestamp"
iget-wide v3, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mCreationTimestamp:J
invoke-virtual {v1, v2, v3, v4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
const-string v2, "active"
iget-boolean v3, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mActive:Z
invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
const-string v2, "triggered_timestamp"
iget-wide v3, p1, Lcom/google/android/gms/measurement/AppMeasurement$ConditionalUserProperty;->mTriggeredTimestamp:J
invoke-virtual {v1, v2, v3, v4}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V
invoke-interface {v0, v1}, Lcom/google/android/gms/measurement/internal/zzjz;->h(Landroid/os/Bundle;)V
return-void
.end method