tmap/smali_classes3/com/google/firebase/auth/PhoneMultiFactorInfo.smali
2022-06-10 21:38:30 +09:00

317 lines
9.3 KiB
Smali

.class public Lcom/google/firebase/auth/PhoneMultiFactorInfo;
.super Lcom/google/firebase/auth/MultiFactorInfo;
.source "com.google.firebase:firebase-auth@@21.0.1"
# annotations
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
creator = "PhoneMultiFactorInfoCreator"
.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/firebase/auth/PhoneMultiFactorInfo;",
">;"
}
.end annotation
.end field
# instance fields
.field private final zza:Ljava/lang/String;
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getUid"
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 = "getDisplayName"
id = 0x2
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final zzc:J
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getEnrollmentTimestamp"
id = 0x3
.end annotation
.end field
.field private final zzd:Ljava/lang/String;
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getPhoneNumber"
id = 0x4
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/firebase/auth/zzae;
invoke-direct {v0}, Lcom/google/firebase/auth/zzae;-><init>()V
sput-object v0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;)V
.locals 0
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.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
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p3 # J
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x3
.end annotation
.end param
.param p5 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x4
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;
.end annotation
.line 1
invoke-direct {p0}, Lcom/google/firebase/auth/MultiFactorInfo;-><init>()V
.line 2
invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zza:Ljava/lang/String;
iput-object p2, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzb:Ljava/lang/String;
iput-wide p3, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzc:J
.line 3
invoke-static {p5}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzd:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public getDisplayName()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzb:Ljava/lang/String;
return-object v0
.end method
.method public getEnrollmentTimestamp()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzc:J
return-wide v0
.end method
.method public getFactorId()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
const-string v0, "phone"
return-object v0
.end method
.method public getPhoneNumber()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzd:Ljava/lang/String;
return-object v0
.end method
.method public getUid()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zza:Ljava/lang/String;
return-object v0
.end method
.method public toJson()Lorg/json/JSONObject;
.locals 4
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
:try_start_0
const-string v1, "factorIdKey"
const-string v2, "phone"
.line 2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "uid"
iget-object v2, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zza:Ljava/lang/String;
.line 3
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "displayName"
iget-object v2, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzb:Ljava/lang/String;
.line 4
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "enrollmentTimestamp"
iget-wide v2, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzc:J
.line 5
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "phoneNumber"
iget-object v2, p0, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->zzd:Ljava/lang/String;
.line 6
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
move-exception v0
const-string v1, "PhoneMultiFactorInfo"
const-string v2, "Failed to jsonify this object"
.line 7
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
new-instance v1, Lcom/google/android/gms/internal/firebase-auth-api/zzll;
.line 8
invoke-direct {v1, v0}, Lcom/google/android/gms/internal/firebase-auth-api/zzll;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 4
.param p1 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"FirebaseUnknownNullness"
}
.end annotation
.line 1
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result p2
.line 2
invoke-virtual {p0}, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->getUid()Ljava/lang/String;
move-result-object v0
const/4 v1, 0x1
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-virtual {p0}, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->getDisplayName()Ljava/lang/String;
move-result-object v0
const/4 v1, 0x2
.line 5
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
.line 6
invoke-virtual {p0}, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->getEnrollmentTimestamp()J
move-result-wide v0
const/4 v3, 0x3
.line 7
invoke-static {p1, v3, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeLong(Landroid/os/Parcel;IJ)V
.line 8
invoke-virtual {p0}, Lcom/google/firebase/auth/PhoneMultiFactorInfo;->getPhoneNumber()Ljava/lang/String;
move-result-object v0
const/4 v1, 0x4
.line 9
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
.line 10
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method