Logger.smali
.class public Lcom/google/android/gms/common/logging/Logger;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
# instance fields
.field private final zza:Ljava/lang/String;
.field private final zzb:Ljava/lang/String;
.field private final zzc:Lcom/google/android/gms/common/internal/GmsLogger;
.field private final zzd:I
# direct methods
.method private constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/google/android/gms/common/logging/Logger;->zzb:Ljava/lang/String;
iput-object p1, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
new-instance p2, Lcom/google/android/gms/common/internal/GmsLogger;
invoke-direct {p2, p1}, Lcom/google/android/gms/common/internal/GmsLogger;-><init>(Ljava/lang/String;)V
iput-object p2, p0, Lcom/google/android/gms/common/logging/Logger;->zzc:Lcom/google/android/gms/common/internal/GmsLogger;
const/4 p1, 0x2
:goto_f
const/4 p2, 0x7
if-lt p2, p1, :cond_1d
iget-object p2, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-static {p2, p1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p2
if-nez p2, :cond_1d
add-int/lit8 p1, p1, 0x1
goto :goto_f
:cond_1d
iput p1, p0, Lcom/google/android/gms/common/logging/Logger;->zzd:I
return-void
.end method
.method public varargs constructor <init>(Ljava/lang/String;[Ljava/lang/String;)V
.registers 9
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.param p2 # [Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
array-length v0, p2
if-nez v0, :cond_6
const-string p2, ""
goto :goto_36
:cond_6
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const/16 v1, 0x5b
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
array-length v1, p2
const/4 v2, 0x0
:goto_12
if-ge v2, v1, :cond_28
aget-object v3, p2, v2
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v4
const/4 v5, 0x1
if-le v4, v5, :cond_22
const-string v4, ","
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_22
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v2, v2, 0x1
goto :goto_12
:cond_28
const/16 p2, 0x5d
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
const/16 p2, 0x20
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
:goto_36
invoke-direct {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;-><init>(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public varargs d(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x3
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/logging/Logger;->isLoggable(I)Z
move-result v0
if-eqz v0, :cond_10
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p3}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1, p2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_10
return-void
.end method
.method public varargs d(Ljava/lang/String;[Ljava/lang/Object;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x3
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/logging/Logger;->isLoggable(I)Z
move-result v0
if-eqz v0, :cond_10
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_10
return-void
.end method
.method public varargs e(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p3}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
return-void
.end method
.method public varargs e(Ljava/lang/String;[Ljava/lang/Object;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method protected varargs format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-eqz p2, :cond_b
array-length v0, p2
if-lez v0, :cond_b
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-static {v0, p1, p2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
:cond_b
iget-object p2, p0, Lcom/google/android/gms/common/logging/Logger;->zzb:Ljava/lang/String;
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public getTag()Ljava/lang/String;
.registers 2
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
return-object v0
.end method
.method public varargs i(Ljava/lang/String;[Ljava/lang/Object;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public isLoggable(I)Z
.registers 3
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget v0, p0, Lcom/google/android/gms/common/logging/Logger;->zzd:I
if-gt v0, p1, :cond_6
const/4 p1, 0x1
return p1
:cond_6
const/4 p1, 0x0
return p1
.end method
.method public varargs v(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x2
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/logging/Logger;->isLoggable(I)Z
move-result v0
if-eqz v0, :cond_10
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p3}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1, p2}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_10
return-void
.end method
.method public varargs v(Ljava/lang/String;[Ljava/lang/Object;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x2
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/logging/Logger;->isLoggable(I)Z
move-result v0
if-eqz v0, :cond_10
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
:cond_10
return-void
.end method
.method public varargs w(Ljava/lang/String;[Ljava/lang/Object;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public varargs wtf(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
.registers 5
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-virtual {p0, p1, p3}, Lcom/google/android/gms/common/logging/Logger;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1, p2}, Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
return-void
.end method
.method public wtf(Ljava/lang/Throwable;)V
.registers 3
.param p1 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/RecentlyNonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/logging/Logger;->zza:Ljava/lang/String;
invoke-static {v0, p1}, Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/Throwable;)I
return-void
.end method