216 lines
5.8 KiB
Smali
216 lines
5.8 KiB
Smali
.class public final Lcom/google/android/gms/common/api/Scope;
|
|
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
|
|
.source "com.google.android.gms:play-services-basement@@18.0.0"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/common/internal/ReflectedParcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
|
|
creator = "ScopeCreator"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/google/android/gms/common/api/Scope;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final zza:I
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$VersionField;
|
|
id = 0x1
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final zzb:Ljava/lang/String;
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
|
|
getter = "getScopeUri"
|
|
id = 0x2
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/google/android/gms/common/api/zza;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/gms/common/api/zza;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/android/gms/common/api/Scope;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(ILjava/lang/String;)V
|
|
.locals 1
|
|
.param p1 # I
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
|
|
id = 0x1
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
|
|
id = 0x2
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
|
|
|
|
const-string v0, "scopeUri must not be null or empty"
|
|
|
|
invoke-static {p2, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
iput p1, p0, Lcom/google/android/gms/common/api/Scope;->zza:I
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
invoke-direct {p0, v0, p1}, Lcom/google/android/gms/common/api/Scope;-><init>(ILjava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
.line 1
|
|
:cond_0
|
|
instance-of v0, p1, Lcom/google/android/gms/common/api/Scope;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
.line 2
|
|
check-cast p1, Lcom/google/android/gms/common/api/Scope;
|
|
|
|
iget-object p1, p1, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getScopeUri()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/Scope;->zzb:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 3
|
|
.param p1 # Landroid/os/Parcel;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
|
|
|
|
move-result p2
|
|
|
|
iget v0, p0, Lcom/google/android/gms/common/api/Scope;->zza:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 2
|
|
invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/common/api/Scope;->getScopeUri()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 3
|
|
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
|
|
|
|
.line 4
|
|
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
|
|
|
|
return-void
|
|
.end method
|