granularity level: instruction
.class public final Lcom/google/android/gms/common/api/Status;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.implements Lcom/google/android/gms/common/api/Result;
.implements Lcom/google/android/gms/common/internal/ReflectedParcelable;
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/common/api/Status;",
">;"
}
.end annotation
.end field
.field public static final RESULT_CANCELED:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_DEAD_CLIENT:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_INTERNAL_ERROR:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_INTERRUPTED:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_SUCCESS:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_SUCCESS_CACHE:Lcom/google/android/gms/common/api/Status;
.field public static final RESULT_TIMEOUT:Lcom/google/android/gms/common/api/Status;
.field public static final zza:Lcom/google/android/gms/common/api/Status;
.field final zzb:I
.field private final zzc:I
.field private final zzd:Ljava/lang/String;
.field private final zze:Landroid/app/PendingIntent;
.field private final zzf:Lcom/google/android/gms/common/ConnectionResult;
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/4 v1, -0x1
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_SUCCESS_CACHE:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_SUCCESS:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0xe
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_INTERRUPTED:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0x8
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_INTERNAL_ERROR:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0xf
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_TIMEOUT:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0x10
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_CANCELED:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0x11
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->zza:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/Status;
const/16 v1, 0x12
invoke-direct {v0, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
sput-object v0, Lcom/google/android/gms/common/api/Status;->RESULT_DEAD_CLIENT:Lcom/google/android/gms/common/api/Status;
new-instance v0, Lcom/google/android/gms/common/api/zzb;
invoke-direct {v0}, Lcom/google/android/gms/common/api/zzb;-><init>()V
sput-object v0, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(I)V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
return-void
.end method
.method constructor <init>(IILjava/lang/String;Landroid/app/PendingIntent;Lcom/google/android/gms/common/ConnectionResult;)V
.locals 0
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput p1, p0, Lcom/google/android/gms/common/api/Status;->zzb:I
iput p2, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
iput-object p3, p0, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
iput-object p4, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
iput-object p5, p0, Lcom/google/android/gms/common/api/Status;->zzf:Lcom/google/android/gms/common/ConnectionResult;
return-void
.end method
.method public constructor <init>(ILjava/lang/String;)V
.locals 6
const/4 v1, 0x1
const/4 v4, 0x0
const/4 v5, 0x0
move-object v0, p0
move v2, p1
move-object v3, p2
invoke-direct/range {v0 .. v5}, Lcom/google/android/gms/common/api/Status;-><init>(IILjava/lang/String;Landroid/app/PendingIntent;Lcom/google/android/gms/common/ConnectionResult;)V
return-void
.end method
.method public constructor <init>(ILjava/lang/String;Landroid/app/PendingIntent;)V
.locals 6
const/4 v1, 0x1
const/4 v5, 0x0
move-object v0, p0
move v2, p1
move-object v3, p2
move-object v4, p3
invoke-direct/range {v0 .. v5}, Lcom/google/android/gms/common/api/Status;-><init>(IILjava/lang/String;Landroid/app/PendingIntent;Lcom/google/android/gms/common/ConnectionResult;)V
return-void
.end method
.method public constructor <init>(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/String;)V
.locals 1
const/16 v0, 0x11
invoke-direct {p0, p1, p2, v0}, Lcom/google/android/gms/common/api/Status;-><init>(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/String;I)V
return-void
.end method
.method public constructor <init>(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/String;I)V
.locals 6
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getResolution()Landroid/app/PendingIntent;
move-result-object v4
const/4 v1, 0x1
move-object v0, p0
move v2, p3
move-object v3, p2
move-object v5, p1
invoke-direct/range {v0 .. v5}, Lcom/google/android/gms/common/api/Status;-><init>(IILjava/lang/String;Landroid/app/PendingIntent;Lcom/google/android/gms/common/ConnectionResult;)V
return-void
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Lcom/google/android/gms/common/api/Status;
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
check-cast p1, Lcom/google/android/gms/common/api/Status;
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzb:I
iget v2, p1, Lcom/google/android/gms/common/api/Status;->zzb:I
if-ne v0, v2, :cond_1
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
iget v2, p1, Lcom/google/android/gms/common/api/Status;->zzc:I
if-ne v0, v2, :cond_1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
iget-object v2, p1, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
iget-object v2, p1, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zzf:Lcom/google/android/gms/common/ConnectionResult;
iget-object p1, p1, Lcom/google/android/gms/common/api/Status;->zzf:Lcom/google/android/gms/common/ConnectionResult;
invoke-static {v0, p1}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
const/4 p1, 0x1
return p1
:cond_1
return v1
.end method
.method public getConnectionResult()Lcom/google/android/gms/common/ConnectionResult;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zzf:Lcom/google/android/gms/common/ConnectionResult;
return-object v0
.end method
.method public getResolution()Landroid/app/PendingIntent;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
return-object v0
.end method
.method public getStatus()Lcom/google/android/gms/common/api/Status;
.locals 0
return-object p0
.end method
.method public getStatusCode()I
.locals 1
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
return v0
.end method
.method public getStatusMessage()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
return-object v0
.end method
.method public hasResolution()Z
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
if-eqz v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public hashCode()I
.locals 3
const/4 v0, 0x5
new-array v0, v0, [Ljava/lang/Object;
iget v1, p0, Lcom/google/android/gms/common/api/Status;->zzb:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
iget v1, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
const/4 v2, 0x2
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
const/4 v2, 0x3
aput-object v1, v0, v2
iget-object v1, p0, Lcom/google/android/gms/common/api/Status;->zzf:Lcom/google/android/gms/common/ConnectionResult;
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 isCanceled()Z
.locals 2
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
const/16 v1, 0x10
if-ne v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public isInterrupted()Z
.locals 2
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
const/16 v1, 0xe
if-ne v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public isSuccess()Z
.locals 1
.annotation runtime Lcom/google/errorprone/annotations/CheckReturnValue;
.end annotation
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
if-gtz v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public startResolutionForResult(Landroid/app/Activity;I)V
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/IntentSender$SendIntentException;
}
.end annotation
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Status;->hasResolution()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {v0}, Landroid/app/PendingIntent;->getIntentSender()Landroid/content/IntentSender;
move-result-object v2
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
move-object v1, p1
move v3, p2
invoke-virtual/range {v1 .. v7}, Landroid/app/Activity;->startIntentSenderForResult(Landroid/content/IntentSender;ILandroid/content/Intent;III)V
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 3
invoke-static {p0}, Lcom/google/android/gms/common/internal/Objects;->toStringHelper(Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
move-result-object v0
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Status;->zza()Ljava/lang/String;
move-result-object v1
const-string v2, "statusCode"
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->add(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
iget-object v1, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
const-string v2, "resolution"
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->add(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/Objects$ToStringHelper;
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/Objects$ToStringHelper;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 4
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result v0
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Status;->getStatusCode()I
move-result v1
const/4 v2, 0x1
invoke-static {p1, v2, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Status;->getStatusMessage()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x2
const/4 v3, 0x0
invoke-static {p1, v2, v1, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
iget-object v1, p0, Lcom/google/android/gms/common/api/Status;->zze:Landroid/app/PendingIntent;
const/4 v2, 0x3
invoke-static {p1, v2, v1, p2, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeParcelable(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Status;->getConnectionResult()Lcom/google/android/gms/common/ConnectionResult;
move-result-object v1
const/4 v2, 0x4
invoke-static {p1, v2, v1, p2, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeParcelable(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
iget p2, p0, Lcom/google/android/gms/common/api/Status;->zzb:I
const/16 v1, 0x3e8
invoke-static {p1, v1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method
.method public final zza()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/Status;->zzd:Ljava/lang/String;
if-eqz v0, :cond_0
return-object v0
:cond_0
iget v0, p0, Lcom/google/android/gms/common/api/Status;->zzc:I
invoke-static {v0}, Lcom/google/android/gms/common/api/CommonStatusCodes;->getStatusCodeString(I)Ljava/lang/String;
move-result-object v0
return-object v0
.end method