granularity level: instruction
.class public final Lcom/google/android/gms/common/internal/zzn;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.field private static final zza:Landroid/net/Uri;
.field private final zzb:Ljava/lang/String;
.field private final zzc:Ljava/lang/String;
.field private final zzd:Landroid/content/ComponentName;
.field private final zze:I
.field private final zzf:Z
.method static constructor <clinit>()V
.locals 2
new-instance v0, Landroid/net/Uri$Builder;
invoke-direct {v0}, Landroid/net/Uri$Builder;-><init>()V
const-string v1, "content"
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->scheme(Ljava/lang/String;)Landroid/net/Uri$Builder;
move-result-object v0
const-string v1, "com.google.android.gms.chimera"
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->authority(Ljava/lang/String;)Landroid/net/Uri$Builder;
move-result-object v0
invoke-virtual {v0}, Landroid/net/Uri$Builder;->build()Landroid/net/Uri;
move-result-object v0
sput-object v0, Lcom/google/android/gms/common/internal/zzn;->zza:Landroid/net/Uri;
return-void
.end method
.method public constructor <init>(Landroid/content/ComponentName;I)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
iput-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
iput p2, p0, Lcom/google/android/gms/common/internal/zzn;->zze:I
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
return-void
.end method
.method public constructor <init>(Ljava/lang/String;IZ)V
.locals 1
const-string p3, "com.google.android.gms"
const/4 v0, 0x0
invoke-direct {p0, p1, p3, p2, v0}, Lcom/google/android/gms/common/internal/zzn;-><init>(Ljava/lang/String;Ljava/lang/String;IZ)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;IZ)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String;
iput-object p1, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
invoke-static {p2}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String;
iput-object p2, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
const/4 p1, 0x0
iput-object p1, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
iput p3, p0, Lcom/google/android/gms/common/internal/zzn;->zze:I
iput-boolean p4, p0, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
return-void
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
instance-of v1, p1, Lcom/google/android/gms/common/internal/zzn;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lcom/google/android/gms/common/internal/zzn;
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
iget-object v3, p1, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
invoke-static {v1, v3}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
iget-object v3, p1, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
invoke-static {v1, v3}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
iget-object v3, p1, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
invoke-static {v1, v3}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget v1, p0, Lcom/google/android/gms/common/internal/zzn;->zze:I
iget v3, p1, Lcom/google/android/gms/common/internal/zzn;->zze:I
if-ne v1, v3, :cond_2
iget-boolean v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
iget-boolean p1, p1, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
if-ne v1, p1, :cond_2
return v0
:cond_2
return v2
.end method
.method public final hashCode()I
.locals 3
const/4 v0, 0x5
new-array v0, v0, [Ljava/lang/Object;
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
const/4 v2, 0x0
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
const/4 v2, 0x1
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
const/4 v2, 0x2
aput-object v1, v0, v2
iget v1, p0, Lcom/google/android/gms/common/internal/zzn;->zze:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x3
aput-object v1, v0, v2
iget-boolean v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v1
const/4 v2, 0x4
aput-object v1, v0, v2
invoke-static {v0}, Lcom/google/android/gms/common/internal/Objects;->hashCode([Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public final toString()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
invoke-virtual {v0}, Landroid/content/ComponentName;->flattenToString()Ljava/lang/String;
move-result-object v0
:cond_0
return-object v0
.end method
.method public final zza()I
.locals 1
iget v0, p0, Lcom/google/android/gms/common/internal/zzn;->zze:I
return v0
.end method
.method public final zzb()Landroid/content/ComponentName;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
return-object v0
.end method
.method public final zzc(Landroid/content/Context;)Landroid/content/Intent;
.locals 5
const-string v0, "ConnectionStatusConfig"
iget-object v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
if-eqz v1, :cond_3
iget-boolean v1, p0, Lcom/google/android/gms/common/internal/zzn;->zzf:Z
const/4 v2, 0x0
if-eqz v1, :cond_1
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
iget-object v3, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
const-string v4, "serviceActionBundleKey"
invoke-virtual {v1, v4, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
:try_start_0
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object p1
sget-object v3, Lcom/google/android/gms/common/internal/zzn;->zza:Landroid/net/Uri;
const-string v4, "serviceIntentCall"
invoke-virtual {p1, v3, v4, v2, v1}, Landroid/content/ContentResolver;->call(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
move-result-object p1
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
const-string v1, "Dynamic intent resolution failed: "
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
move-object p1, v2
:goto_0
if-nez p1, :cond_0
goto :goto_1
:cond_0
const-string v1, "serviceResponseIntentKey"
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Landroid/content/Intent;
move-object v2, p1
:goto_1
if-nez v2, :cond_1
iget-object p1, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string v1, "Dynamic lookup for intent failed for action: "
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
if-eqz v2, :cond_2
goto :goto_2
:cond_2
new-instance p1, Landroid/content/Intent;
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzb:Ljava/lang/String;
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
invoke-virtual {p1, v0}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
move-result-object p1
return-object p1
:cond_3
new-instance p1, Landroid/content/Intent;
invoke-direct {p1}, Landroid/content/Intent;-><init>()V
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzd:Landroid/content/ComponentName;
invoke-virtual {p1, v0}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
move-result-object v2
:goto_2
return-object v2
.end method
.method public final zzd()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/zzn;->zzc:Ljava/lang/String;
return-object v0
.end method