334 lines
9.2 KiB
Smali
334 lines
9.2 KiB
Smali
.class public final Lcom/google/firebase/c;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-common@@19.0.0"
|
|
|
|
|
|
# instance fields
|
|
.field public final aPS:Ljava/lang/String;
|
|
|
|
.field private final aPT:Ljava/lang/String;
|
|
|
|
.field private final aPU:Ljava/lang/String;
|
|
|
|
.field public final aPV:Ljava/lang/String;
|
|
|
|
.field private final aPW:Ljava/lang/String;
|
|
|
|
.field private final aPX:Ljava/lang/String;
|
|
|
|
.field private final qw:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {p1}, Lcom/google/android/gms/common/util/n;->bb(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
const-string v1, "ApplicationId must be set."
|
|
|
|
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/r;->a(ZLjava/lang/Object;)V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/c;->aPS:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/google/firebase/c;->qw:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/google/firebase/c;->aPT:Ljava/lang/String;
|
|
|
|
iput-object p4, p0, Lcom/google/firebase/c;->aPU:Ljava/lang/String;
|
|
|
|
iput-object p5, p0, Lcom/google/firebase/c;->aPV:Ljava/lang/String;
|
|
|
|
iput-object p6, p0, Lcom/google/firebase/c;->aPW:Ljava/lang/String;
|
|
|
|
iput-object p7, p0, Lcom/google/firebase/c;->aPX:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static az(Landroid/content/Context;)Lcom/google/firebase/c;
|
|
.locals 9
|
|
|
|
new-instance v0, Lcom/google/android/gms/common/internal/t;
|
|
|
|
invoke-direct {v0, p0}, Lcom/google/android/gms/common/internal/t;-><init>(Landroid/content/Context;)V
|
|
|
|
const-string p0, "google_app_id"
|
|
|
|
invoke-virtual {v0, p0}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Lcom/google/firebase/c;
|
|
|
|
const-string v1, "google_api_key"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v1, "firebase_database_url"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v1, "ga_trackingId"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v1, "gcm_defaultSenderId"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const-string v1, "google_storage_bucket"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
const-string v1, "project_id"
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/t;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
move-object v1, p0
|
|
|
|
invoke-direct/range {v1 .. v8}, Lcom/google/firebase/c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
|
|
instance-of v0, p1, Lcom/google/firebase/c;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
check-cast p1, Lcom/google/firebase/c;
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPS:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->aPS:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->qw:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->qw:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPT:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->aPT:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPU:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->aPU:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPV:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->aPV:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPW:Ljava/lang/String;
|
|
|
|
iget-object v2, p1, Lcom/google/firebase/c;->aPW:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v2}, Lcom/google/android/gms/common/internal/p;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/c;->aPX:Ljava/lang/String;
|
|
|
|
iget-object p1, p1, Lcom/google/firebase/c;->aPX:Ljava/lang/String;
|
|
|
|
invoke-static {v0, p1}, Lcom/google/android/gms/common/internal/p;->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 final hashCode()I
|
|
.locals 3
|
|
|
|
const/4 v0, 0x7
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPS:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->qw:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPT:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPU:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPV:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPW:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPX:Ljava/lang/String;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
invoke-static {v0}, Lcom/google/android/gms/common/internal/p;->c([Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
invoke-static {p0}, Lcom/google/android/gms/common/internal/p;->S(Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPS:Ljava/lang/String;
|
|
|
|
const-string v2, "applicationId"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->qw:Ljava/lang/String;
|
|
|
|
const-string v2, "apiKey"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPT:Ljava/lang/String;
|
|
|
|
const-string v2, "databaseUrl"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPV:Ljava/lang/String;
|
|
|
|
const-string v2, "gcmSenderId"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPW:Ljava/lang/String;
|
|
|
|
const-string v2, "storageBucket"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/c;->aPX:Ljava/lang/String;
|
|
|
|
const-string v2, "projectId"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/android/gms/common/internal/p$a;->i(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/android/gms/common/internal/p$a;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/p$a;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|