124 lines
3.1 KiB
Smali
124 lines
3.1 KiB
Smali
.class public final Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
.super Lcom/google/firebase/perf/config/ConfigurationFlag;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static instance:Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 565
|
|
invoke-direct {p0}, Lcom/google/firebase/perf/config/ConfigurationFlag;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static declared-synchronized getInstance()Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
.locals 2
|
|
|
|
const-class v0, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-object v1, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;->instance:Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 570
|
|
new-instance v1, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
|
|
invoke-direct {v1}, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;-><init>()V
|
|
|
|
sput-object v1, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;->instance:Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
sget-object v1, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;->instance:Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 572
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:goto_1
|
|
monitor-exit v0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getDefault()Ljava/lang/Double;
|
|
.locals 2
|
|
|
|
const-wide v0, 0x3f847ae147ae147bL # 0.01
|
|
|
|
.line 577
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDefaultOnRcFetchFail()Ljava/lang/Double;
|
|
.locals 4
|
|
|
|
.line 583
|
|
invoke-virtual {p0}, Lcom/google/firebase/perf/config/ConfigurationConstants$SessionsSamplingRate;->getDefault()Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide v2, 0x408f400000000000L # 1000.0
|
|
|
|
div-double/2addr v0, v2
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getDeviceCacheFlag()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "com.google.firebase.perf.SessionSamplingRate"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getMetadataFlag()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "sessions_sampling_percentage"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRemoteConfigFlag()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "fpr_vc_session_sampling_rate"
|
|
|
|
return-object v0
|
|
.end method
|