First Upload

Just the APK
Force update disabled, will only work offline.
This commit is contained in:
supermegamestre
2026-01-26 00:26:29 -03:00
commit 4bbd74a497
44413 changed files with 11043538 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,203 @@
.class public final Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;
.super Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field public token:Ljava/lang/String;
.field public tokenCreationTimestamp:Ljava/lang/Long;
.field public tokenExpirationTimestamp:Ljava/lang/Long;
# direct methods
.method public constructor <init>()V
.locals 0
.line 87
invoke-direct {p0}, Lcom/google/firebase/installations/InstallationTokenResult$Builder;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/google/firebase/installations/InstallationTokenResult;
.locals 9
iget-object v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->token:Ljava/lang/String;
const-string v1, ""
if-nez v0, :cond_0
.line 116
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " token"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:cond_0
iget-object v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
if-nez v0, :cond_1
.line 119
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " tokenExpirationTimestamp"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:cond_1
iget-object v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenCreationTimestamp:Ljava/lang/Long;
if-nez v0, :cond_2
.line 122
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " tokenCreationTimestamp"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
.line 124
:cond_2
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
move-result v0
if-eqz v0, :cond_3
.line 127
new-instance v0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;
iget-object v3, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->token:Ljava/lang/String;
iget-object v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
.line 129
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v4
iget-object v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenCreationTimestamp:Ljava/lang/Long;
.line 130
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v6
const/4 v8, 0x0
move-object v2, v0
invoke-direct/range {v2 .. v8}, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;-><init>(Ljava/lang/String;JJLcom/google/firebase/installations/AutoValue_InstallationTokenResult$1;)V
return-object v0
.line 125
:cond_3
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Missing required properties:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public setToken(Ljava/lang/String;)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.locals 1
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->token:Ljava/lang/String;
return-object p0
.line 97
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "Null token"
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setTokenCreationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.locals 0
.line 109
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenCreationTimestamp:Ljava/lang/Long;
return-object p0
.end method
.method public setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.locals 0
.line 104
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
return-object p0
.end method

View File

@@ -0,0 +1,224 @@
.class public final Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;
.super Lcom/google/firebase/installations/InstallationTokenResult;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;
}
.end annotation
# instance fields
.field public final token:Ljava/lang/String;
.field public final tokenCreationTimestamp:J
.field public final tokenExpirationTimestamp:J
# direct methods
.method public constructor <init>(Ljava/lang/String;JJ)V
.locals 0
.line 19
invoke-direct {p0}, Lcom/google/firebase/installations/InstallationTokenResult;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->token:Ljava/lang/String;
iput-wide p2, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenExpirationTimestamp:J
iput-wide p4, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenCreationTimestamp:J
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;JJLcom/google/firebase/installations/AutoValue_InstallationTokenResult$1;)V
.locals 0
.line 8
invoke-direct/range {p0 .. p5}, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;-><init>(Ljava/lang/String;JJ)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
.line 57
:cond_0
instance-of v1, p1, Lcom/google/firebase/installations/InstallationTokenResult;
const/4 v2, 0x0
if-eqz v1, :cond_2
.line 58
check-cast p1, Lcom/google/firebase/installations/InstallationTokenResult;
iget-object v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->token:Ljava/lang/String;
.line 59
invoke-virtual {p1}, Lcom/google/firebase/installations/InstallationTokenResult;->getToken()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
iget-wide v3, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenExpirationTimestamp:J
.line 60
invoke-virtual {p1}, Lcom/google/firebase/installations/InstallationTokenResult;->getTokenExpirationTimestamp()J
move-result-wide v5
cmp-long v1, v3, v5
if-nez v1, :cond_1
iget-wide v3, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenCreationTimestamp:J
.line 61
invoke-virtual {p1}, Lcom/google/firebase/installations/InstallationTokenResult;->getTokenCreationTimestamp()J
move-result-wide v5
cmp-long p1, v3, v5
if-nez p1, :cond_1
goto :goto_0
:cond_1
move v0, v2
:goto_0
return v0
:cond_2
return v2
.end method
.method public getToken()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->token:Ljava/lang/String;
return-object v0
.end method
.method public getTokenCreationTimestamp()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenCreationTimestamp:J
return-wide v0
.end method
.method public getTokenExpirationTimestamp()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenExpirationTimestamp:J
return-wide v0
.end method
.method public hashCode()I
.locals 7
iget-object v0, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->token:Ljava/lang/String;
.line 70
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
const v1, 0xf4243
xor-int/2addr v0, v1
mul-int/2addr v0, v1
iget-wide v2, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenExpirationTimestamp:J
const/16 v4, 0x20
ushr-long v5, v2, v4
xor-long/2addr v2, v5
long-to-int v2, v2
xor-int/2addr v0, v2
mul-int/2addr v0, v1
iget-wide v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenCreationTimestamp:J
ushr-long v3, v1, v4
xor-long/2addr v1, v3
long-to-int v1, v1
xor-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 45
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "InstallationTokenResult{token="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->token:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", tokenExpirationTimestamp="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenExpirationTimestamp:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", tokenCreationTimestamp="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult;->tokenCreationTimestamp:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,194 @@
.class public Lcom/google/firebase/installations/CrossProcessLock;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public final channel:Ljava/nio/channels/FileChannel;
.field public final lock:Ljava/nio/channels/FileLock;
# direct methods
.method public constructor <init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
.locals 0
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/CrossProcessLock;->channel:Ljava/nio/channels/FileChannel;
iput-object p2, p0, Lcom/google/firebase/installations/CrossProcessLock;->lock:Ljava/nio/channels/FileLock;
return-void
.end method
.method public static acquire(Landroid/content/Context;Ljava/lang/String;)Lcom/google/firebase/installations/CrossProcessLock;
.locals 4
const/4 v0, 0x0
.line 49
:try_start_0
new-instance v1, Ljava/io/File;
invoke-virtual {p0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
move-result-object p0
invoke-direct {v1, p0, p1}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
.line 50
new-instance p0, Ljava/io/RandomAccessFile;
const-string p1, "rw"
invoke-direct {p0, v1, p1}, Ljava/io/RandomAccessFile;-><init>(Ljava/io/File;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/io/RandomAccessFile;->getChannel()Ljava/nio/channels/FileChannel;
move-result-object p0
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_8
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_7
.catch Ljava/nio/channels/OverlappingFileLockException; {:try_start_0 .. :try_end_0} :catch_6
.line 53
:try_start_1
invoke-virtual {p0}, Ljava/nio/channels/FileChannel;->lock()Ljava/nio/channels/FileLock;
move-result-object p1
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_5
.catch Ljava/lang/Error; {:try_start_1 .. :try_end_1} :catch_4
.catch Ljava/nio/channels/OverlappingFileLockException; {:try_start_1 .. :try_end_1} :catch_3
.line 54
:try_start_2
new-instance v1, Lcom/google/firebase/installations/CrossProcessLock;
invoke-direct {v1, p0, p1}, Lcom/google/firebase/installations/CrossProcessLock;-><init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2
.catch Ljava/lang/Error; {:try_start_2 .. :try_end_2} :catch_1
.catch Ljava/nio/channels/OverlappingFileLockException; {:try_start_2 .. :try_end_2} :catch_0
return-object v1
:catch_0
move-exception v1
goto :goto_2
:catch_1
move-exception v1
goto :goto_2
:catch_2
move-exception v1
goto :goto_2
:catch_3
move-exception v1
:goto_0
move-object p1, v0
goto :goto_2
:catch_4
move-exception v1
goto :goto_0
:catch_5
move-exception v1
goto :goto_0
:catch_6
move-exception v1
:goto_1
move-object p0, v0
move-object p1, p0
goto :goto_2
:catch_7
move-exception v1
goto :goto_1
:catch_8
move-exception v1
goto :goto_1
:goto_2
const-string v2, "CrossProcessLock"
const-string v3, "encountered error while creating and acquiring the lock, ignoring"
.line 62
invoke-static {v2, v3, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
if-eqz p1, :cond_0
.line 67
:try_start_3
invoke-virtual {p1}, Ljava/nio/channels/FileLock;->release()V
:try_end_3
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_9
:catch_9
:cond_0
if-eqz p0, :cond_1
.line 74
:try_start_4
invoke-virtual {p0}, Ljava/nio/channels/spi/AbstractInterruptibleChannel;->close()V
:try_end_4
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_a
:catch_a
:cond_1
return-object v0
.end method
# virtual methods
.method public releaseAndClose()V
.locals 3
:try_start_0
iget-object v0, p0, Lcom/google/firebase/installations/CrossProcessLock;->lock:Ljava/nio/channels/FileLock;
.line 87
invoke-virtual {v0}, Ljava/nio/channels/FileLock;->release()V
iget-object v0, p0, Lcom/google/firebase/installations/CrossProcessLock;->channel:Ljava/nio/channels/FileChannel;
.line 88
invoke-virtual {v0}, Ljava/nio/channels/spi/AbstractInterruptibleChannel;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
const-string v1, "CrossProcessLock"
const-string v2, "encountered error while releasing, ignoring"
.line 91
invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_0
return-void
.end method

View File

@@ -0,0 +1,42 @@
.class public final synthetic Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic f$0:Lcom/google/firebase/installations/FirebaseInstallations;
.field public final synthetic f$1:Z
# direct methods
.method public synthetic constructor <init>(Lcom/google/firebase/installations/FirebaseInstallations;Z)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda0;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
iput-boolean p2, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda0;->f$1:Z
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
.line 0
iget-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda0;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
iget-boolean v1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda0;->f$1:Z
invoke-static {v0, v1}, Lcom/google/firebase/installations/FirebaseInstallations;->$r8$lambda$s8Wc_68NbCicBO9XFucr3kKSRlQ(Lcom/google/firebase/installations/FirebaseInstallations;Z)V
return-void
.end method

View File

@@ -0,0 +1,36 @@
.class public final synthetic Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic f$0:Lcom/google/firebase/installations/FirebaseInstallations;
# direct methods
.method public synthetic constructor <init>(Lcom/google/firebase/installations/FirebaseInstallations;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda1;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
return-void
.end method
# virtual methods
.method public final run()V
.locals 1
.line 0
iget-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda1;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
invoke-static {v0}, Lcom/google/firebase/installations/FirebaseInstallations;->$r8$lambda$I1grW_4o_Il-PrAI7e2LxaMkrbQ(Lcom/google/firebase/installations/FirebaseInstallations;)V
return-void
.end method

View File

@@ -0,0 +1,38 @@
.class public final synthetic Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/inject/Provider;
# instance fields
.field public final synthetic f$0:Lcom/google/firebase/FirebaseApp;
# direct methods
.method public synthetic constructor <init>(Lcom/google/firebase/FirebaseApp;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda2;->f$0:Lcom/google/firebase/FirebaseApp;
return-void
.end method
# virtual methods
.method public final get()Ljava/lang/Object;
.locals 1
.line 0
iget-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda2;->f$0:Lcom/google/firebase/FirebaseApp;
invoke-static {v0}, Lcom/google/firebase/installations/FirebaseInstallations;->$r8$lambda$6SEja5S9cK7Ud6UX5iIa7pS4u-c(Lcom/google/firebase/FirebaseApp;)Lcom/google/firebase/installations/local/IidStore;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,42 @@
.class public final synthetic Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic f$0:Lcom/google/firebase/installations/FirebaseInstallations;
.field public final synthetic f$1:Z
# direct methods
.method public synthetic constructor <init>(Lcom/google/firebase/installations/FirebaseInstallations;Z)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda3;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
iput-boolean p2, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda3;->f$1:Z
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
.line 0
iget-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda3;->f$0:Lcom/google/firebase/installations/FirebaseInstallations;
iget-boolean v1, p0, Lcom/google/firebase/installations/FirebaseInstallations$$ExternalSyntheticLambda3;->f$1:Z
invoke-static {v0, v1}, Lcom/google/firebase/installations/FirebaseInstallations;->$r8$lambda$Kl2wdAe5utVajeTmV5LyfWUz3Bo(Lcom/google/firebase/installations/FirebaseInstallations;Z)V
return-void
.end method

View File

@@ -0,0 +1,75 @@
.class public Lcom/google/firebase/installations/FirebaseInstallations$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/FirebaseInstallations;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final mCount:Ljava/util/concurrent/atomic/AtomicInteger;
# direct methods
.method public constructor <init>()V
.locals 2
.line 94
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 95
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v1, 0x1
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
iput-object v0, p0, Lcom/google/firebase/installations/FirebaseInstallations$1;->mCount:Ljava/util/concurrent/atomic/AtomicInteger;
return-void
.end method
# virtual methods
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 3
.line 101
new-instance v0, Ljava/lang/Thread;
iget-object v1, p0, Lcom/google/firebase/installations/FirebaseInstallations$1;->mCount:Ljava/util/concurrent/atomic/AtomicInteger;
.line 102
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
filled-new-array {v1}, [Ljava/lang/Object;
move-result-object v1
const-string v2, "firebase-installations-executor-%d"
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
return-object v0
.end method

View File

@@ -0,0 +1,122 @@
.class public abstract synthetic Lcom/google/firebase/installations/FirebaseInstallations$3;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/FirebaseInstallations;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation
# static fields
.field public static final synthetic $SwitchMap$com$google$firebase$installations$remote$InstallationResponse$ResponseCode:[I
.field public static final synthetic $SwitchMap$com$google$firebase$installations$remote$TokenResult$ResponseCode:[I
# direct methods
.method static constructor <clinit>()V
.locals 5
.line 572
invoke-static {}, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->values()[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
move-result-object v0
array-length v0, v0
new-array v0, v0, [I
sput-object v0, Lcom/google/firebase/installations/FirebaseInstallations$3;->$SwitchMap$com$google$firebase$installations$remote$TokenResult$ResponseCode:[I
const/4 v1, 0x1
:try_start_0
sget-object v2, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->OK:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
invoke-virtual {v2}, Ljava/lang/Enum;->ordinal()I
move-result v2
aput v1, v0, v2
:try_end_0
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
const/4 v0, 0x2
:try_start_1
sget-object v2, Lcom/google/firebase/installations/FirebaseInstallations$3;->$SwitchMap$com$google$firebase$installations$remote$TokenResult$ResponseCode:[I
sget-object v3, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
move-result v3
aput v0, v2, v3
:try_end_1
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
:catch_1
:try_start_2
sget-object v2, Lcom/google/firebase/installations/FirebaseInstallations$3;->$SwitchMap$com$google$firebase$installations$remote$TokenResult$ResponseCode:[I
sget-object v3, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->AUTH_ERROR:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
move-result v3
const/4 v4, 0x3
aput v4, v2, v3
:try_end_2
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
.line 540
:catch_2
invoke-static {}, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->values()[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
move-result-object v2
array-length v2, v2
new-array v2, v2, [I
sput-object v2, Lcom/google/firebase/installations/FirebaseInstallations$3;->$SwitchMap$com$google$firebase$installations$remote$InstallationResponse$ResponseCode:[I
:try_start_3
sget-object v3, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->OK:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
move-result v3
aput v1, v2, v3
:try_end_3
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
:catch_3
:try_start_4
sget-object v1, Lcom/google/firebase/installations/FirebaseInstallations$3;->$SwitchMap$com$google$firebase$installations$remote$InstallationResponse$ResponseCode:[I
sget-object v2, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
invoke-virtual {v2}, Ljava/lang/Enum;->ordinal()I
move-result v2
aput v0, v1, v2
:try_end_4
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
:catch_4
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lcom/google/firebase/installations/FirebaseInstallationsApi;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getId()Lcom/google/android/gms/tasks/Task;
.end method
.method public abstract getToken(Z)Lcom/google/android/gms/tasks/Task;
.end method

View File

@@ -0,0 +1,132 @@
.class public final enum Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/FirebaseInstallationsException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "Status"
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.field public static final enum BAD_CONFIG:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.field public static final enum TOO_MANY_REQUESTS:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.field public static final enum UNAVAILABLE:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
# direct methods
.method private static synthetic $values()[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.locals 3
sget-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->BAD_CONFIG:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
sget-object v1, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->UNAVAILABLE:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
sget-object v2, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->TOO_MANY_REQUESTS:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
filled-new-array {v0, v1, v2}, [Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 31
new-instance v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
const-string v1, "BAD_CONFIG"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->BAD_CONFIG:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.line 37
new-instance v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
const-string v1, "UNAVAILABLE"
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->UNAVAILABLE:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.line 41
new-instance v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
const-string v1, "TOO_MANY_REQUESTS"
const/4 v2, 0x2
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->TOO_MANY_REQUESTS:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.line 26
invoke-static {}, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->$values()[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->$VALUES:[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 26
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.locals 1
const-class v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.line 26
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
return-object p0
.end method
.method public static values()[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.locals 1
sget-object v0, Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->$VALUES:[Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
.line 26
invoke-virtual {v0}, [Lcom/google/firebase/installations/FirebaseInstallationsException$Status;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
return-object v0
.end method

View File

@@ -0,0 +1,39 @@
.class public Lcom/google/firebase/installations/FirebaseInstallationsException;
.super Lcom/google/firebase/FirebaseException;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
}
.end annotation
# instance fields
.field public final status:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
# direct methods
.method public constructor <init>(Lcom/google/firebase/installations/FirebaseInstallationsException$Status;)V
.locals 0
.line 46
invoke-direct {p0}, Lcom/google/firebase/FirebaseException;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/FirebaseInstallationsException;->status:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Lcom/google/firebase/installations/FirebaseInstallationsException$Status;)V
.locals 0
.line 51
invoke-direct {p0, p1}, Lcom/google/firebase/FirebaseException;-><init>(Ljava/lang/String;)V
iput-object p2, p0, Lcom/google/firebase/installations/FirebaseInstallationsException;->status:Lcom/google/firebase/installations/FirebaseInstallationsException$Status;
return-void
.end method

View File

@@ -0,0 +1,30 @@
.class public final Lcom/google/firebase/installations/FirebaseInstallationsKtxRegistrar;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/components/ComponentRegistrar;
# direct methods
.method public constructor <init>()V
.locals 0
.line 33
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getComponents()Ljava/util/List;
.locals 1
.line 34
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,29 @@
.class public final synthetic Lcom/google/firebase/installations/FirebaseInstallationsRegistrar$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/components/ComponentFactory;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final create(Lcom/google/firebase/components/ComponentContainer;)Ljava/lang/Object;
.locals 0
.line 0
invoke-static {p1}, Lcom/google/firebase/installations/FirebaseInstallationsRegistrar;->$r8$lambda$S-TGqLUnPeNlFWH4x9vB3gPxkgs(Lcom/google/firebase/components/ComponentContainer;)Lcom/google/firebase/installations/FirebaseInstallationsApi;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,220 @@
.class public Lcom/google/firebase/installations/FirebaseInstallationsRegistrar;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/components/ComponentRegistrar;
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
# static fields
.field private static final LIBRARY_NAME:Ljava/lang/String; = "fire-installations"
# direct methods
.method public static synthetic $r8$lambda$S-TGqLUnPeNlFWH4x9vB3gPxkgs(Lcom/google/firebase/components/ComponentContainer;)Lcom/google/firebase/installations/FirebaseInstallationsApi;
.locals 0
.line 0
invoke-static {p0}, Lcom/google/firebase/installations/FirebaseInstallationsRegistrar;->lambda$getComponents$0(Lcom/google/firebase/components/ComponentContainer;)Lcom/google/firebase/installations/FirebaseInstallationsApi;
move-result-object p0
return-object p0
.end method
.method public constructor <init>()V
.locals 0
.line 36
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static synthetic lambda$getComponents$0(Lcom/google/firebase/components/ComponentContainer;)Lcom/google/firebase/installations/FirebaseInstallationsApi;
.locals 6
.line 50
new-instance v0, Lcom/google/firebase/installations/FirebaseInstallations;
const-class v1, Lcom/google/firebase/FirebaseApp;
.line 51
invoke-interface {p0, v1}, Lcom/google/firebase/components/ComponentContainer;->get(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/firebase/FirebaseApp;
const-class v2, Lcom/google/firebase/heartbeatinfo/HeartBeatController;
.line 52
invoke-interface {p0, v2}, Lcom/google/firebase/components/ComponentContainer;->getProvider(Ljava/lang/Class;)Lcom/google/firebase/inject/Provider;
move-result-object v2
const-class v3, Lcom/google/firebase/annotations/concurrent/Background;
const-class v4, Ljava/util/concurrent/ExecutorService;
.line 53
invoke-static {v3, v4}, Lcom/google/firebase/components/Qualified;->qualified(Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/firebase/components/Qualified;
move-result-object v3
invoke-interface {p0, v3}, Lcom/google/firebase/components/ComponentContainer;->get(Lcom/google/firebase/components/Qualified;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/util/concurrent/ExecutorService;
const-class v4, Lcom/google/firebase/annotations/concurrent/Blocking;
const-class v5, Ljava/util/concurrent/Executor;
.line 55
invoke-static {v4, v5}, Lcom/google/firebase/components/Qualified;->qualified(Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/firebase/components/Qualified;
move-result-object v4
invoke-interface {p0, v4}, Lcom/google/firebase/components/ComponentContainer;->get(Lcom/google/firebase/components/Qualified;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/util/concurrent/Executor;
.line 54
invoke-static {p0}, Lcom/google/firebase/concurrent/FirebaseExecutors;->newSequentialExecutor(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
move-result-object p0
invoke-direct {v0, v1, v2, v3, p0}, Lcom/google/firebase/installations/FirebaseInstallations;-><init>(Lcom/google/firebase/FirebaseApp;Lcom/google/firebase/inject/Provider;Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/Executor;)V
return-object v0
.end method
# virtual methods
.method public getComponents()Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/google/firebase/components/Component;",
">;"
}
.end annotation
const-class v0, Lcom/google/firebase/installations/FirebaseInstallationsApi;
.line 42
invoke-static {v0}, Lcom/google/firebase/components/Component;->builder(Ljava/lang/Class;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
const-string v1, "fire-installations"
.line 43
invoke-virtual {v0, v1}, Lcom/google/firebase/components/Component$Builder;->name(Ljava/lang/String;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
const-class v2, Lcom/google/firebase/FirebaseApp;
.line 44
invoke-static {v2}, Lcom/google/firebase/components/Dependency;->required(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
move-result-object v2
invoke-virtual {v0, v2}, Lcom/google/firebase/components/Component$Builder;->add(Lcom/google/firebase/components/Dependency;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
const-class v2, Lcom/google/firebase/heartbeatinfo/HeartBeatController;
.line 45
invoke-static {v2}, Lcom/google/firebase/components/Dependency;->optionalProvider(Ljava/lang/Class;)Lcom/google/firebase/components/Dependency;
move-result-object v2
invoke-virtual {v0, v2}, Lcom/google/firebase/components/Component$Builder;->add(Lcom/google/firebase/components/Dependency;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
const-class v2, Lcom/google/firebase/annotations/concurrent/Background;
const-class v3, Ljava/util/concurrent/ExecutorService;
.line 46
invoke-static {v2, v3}, Lcom/google/firebase/components/Qualified;->qualified(Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/firebase/components/Qualified;
move-result-object v2
invoke-static {v2}, Lcom/google/firebase/components/Dependency;->required(Lcom/google/firebase/components/Qualified;)Lcom/google/firebase/components/Dependency;
move-result-object v2
invoke-virtual {v0, v2}, Lcom/google/firebase/components/Component$Builder;->add(Lcom/google/firebase/components/Dependency;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
const-class v2, Lcom/google/firebase/annotations/concurrent/Blocking;
const-class v3, Ljava/util/concurrent/Executor;
.line 47
invoke-static {v2, v3}, Lcom/google/firebase/components/Qualified;->qualified(Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/firebase/components/Qualified;
move-result-object v2
invoke-static {v2}, Lcom/google/firebase/components/Dependency;->required(Lcom/google/firebase/components/Qualified;)Lcom/google/firebase/components/Dependency;
move-result-object v2
invoke-virtual {v0, v2}, Lcom/google/firebase/components/Component$Builder;->add(Lcom/google/firebase/components/Dependency;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
new-instance v2, Lcom/google/firebase/installations/FirebaseInstallationsRegistrar$$ExternalSyntheticLambda0;
invoke-direct {v2}, Lcom/google/firebase/installations/FirebaseInstallationsRegistrar$$ExternalSyntheticLambda0;-><init>()V
.line 48
invoke-virtual {v0, v2}, Lcom/google/firebase/components/Component$Builder;->factory(Lcom/google/firebase/components/ComponentFactory;)Lcom/google/firebase/components/Component$Builder;
move-result-object v0
.line 56
invoke-virtual {v0}, Lcom/google/firebase/components/Component$Builder;->build()Lcom/google/firebase/components/Component;
move-result-object v0
.line 57
invoke-static {}, Lcom/google/firebase/heartbeatinfo/HeartBeatConsumerComponent;->create()Lcom/google/firebase/components/Component;
move-result-object v2
const-string v3, "18.0.0"
.line 58
invoke-static {v1, v3}, Lcom/google/firebase/platforminfo/LibraryVersionComponent;->create(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/components/Component;
move-result-object v1
filled-new-array {v0, v2, v1}, [Lcom/google/firebase/components/Component;
move-result-object v0
.line 41
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,113 @@
.class public Lcom/google/firebase/installations/GetAuthTokenListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/installations/StateListener;
# instance fields
.field public final resultTaskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
.field public final utils:Lcom/google/firebase/installations/Utils;
# direct methods
.method public constructor <init>(Lcom/google/firebase/installations/Utils;Lcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 0
.line 25
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/GetAuthTokenListener;->utils:Lcom/google/firebase/installations/Utils;
iput-object p2, p0, Lcom/google/firebase/installations/GetAuthTokenListener;->resultTaskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
return-void
.end method
# virtual methods
.method public onException(Ljava/lang/Exception;)Z
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/GetAuthTokenListener;->resultTaskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
.line 48
invoke-virtual {v0, p1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->trySetException(Ljava/lang/Exception;)Z
const/4 p1, 0x1
return p1
.end method
.method public onStateReached(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Z
.locals 4
.line 33
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->isRegistered()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/google/firebase/installations/GetAuthTokenListener;->utils:Lcom/google/firebase/installations/Utils;
.line 34
invoke-virtual {v0, p1}, Lcom/google/firebase/installations/Utils;->isAuthTokenExpired(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/firebase/installations/GetAuthTokenListener;->resultTaskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
.line 36
invoke-static {}, Lcom/google/firebase/installations/InstallationTokenResult;->builder()Lcom/google/firebase/installations/InstallationTokenResult$Builder;
move-result-object v1
.line 37
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Lcom/google/firebase/installations/InstallationTokenResult$Builder;->setToken(Ljava/lang/String;)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
move-result-object v1
.line 38
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getExpiresInSecs()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/google/firebase/installations/InstallationTokenResult$Builder;->setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
move-result-object v1
.line 39
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getTokenCreationEpochInSecs()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/google/firebase/installations/InstallationTokenResult$Builder;->setTokenCreationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
move-result-object p1
.line 40
invoke-virtual {p1}, Lcom/google/firebase/installations/InstallationTokenResult$Builder;->build()Lcom/google/firebase/installations/InstallationTokenResult;
move-result-object p1
.line 35
invoke-virtual {v0, p1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->setResult(Ljava/lang/Object;)V
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method

View File

@@ -0,0 +1,80 @@
.class public Lcom/google/firebase/installations/GetIdListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/installations/StateListener;
# instance fields
.field public final taskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
# direct methods
.method public constructor <init>(Lcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 0
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/GetIdListener;->taskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
return-void
.end method
# virtual methods
.method public onException(Ljava/lang/Exception;)Z
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public onStateReached(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Z
.locals 1
.line 33
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->isUnregistered()Z
move-result v0
if-nez v0, :cond_1
.line 34
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->isRegistered()Z
move-result v0
if-nez v0, :cond_1
.line 35
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->isErrored()Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
iget-object v0, p0, Lcom/google/firebase/installations/GetIdListener;->taskCompletionSource:Lcom/google/android/gms/tasks/TaskCompletionSource;
.line 36
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFirebaseInstallationId()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->trySetResult(Ljava/lang/Object;)Z
const/4 p1, 0x1
return p1
.end method

View File

@@ -0,0 +1,39 @@
.class public abstract Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/InstallationTokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Builder"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract build()Lcom/google/firebase/installations/InstallationTokenResult;
.end method
.method public abstract setToken(Ljava/lang/String;)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.end method
.method public abstract setTokenCreationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.end method
.method public abstract setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.end method

View File

@@ -0,0 +1,44 @@
.class public abstract Lcom/google/firebase/installations/InstallationTokenResult;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/InstallationTokenResult$Builder;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 22
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static builder()Lcom/google/firebase/installations/InstallationTokenResult$Builder;
.locals 1
.line 52
new-instance v0, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;
invoke-direct {v0}, Lcom/google/firebase/installations/AutoValue_InstallationTokenResult$Builder;-><init>()V
return-object v0
.end method
# virtual methods
.method public abstract getToken()Ljava/lang/String;
.end method
.method public abstract getTokenCreationTimestamp()J
.end method
.method public abstract getTokenExpirationTimestamp()J
.end method

View File

@@ -0,0 +1,156 @@
.class public Lcom/google/firebase/installations/RandomFidGenerator;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final FID_4BIT_PREFIX:B
.field public static final REMOVE_PREFIX_MASK:B
# direct methods
.method static constructor <clinit>()V
.locals 2
const-string v0, "01110000"
const/4 v1, 0x2
.line 29
invoke-static {v0, v1}, Ljava/lang/Byte;->parseByte(Ljava/lang/String;I)B
move-result v0
sput-byte v0, Lcom/google/firebase/installations/RandomFidGenerator;->FID_4BIT_PREFIX:B
const-string v0, "00001111"
.line 35
invoke-static {v0, v1}, Ljava/lang/Byte;->parseByte(Ljava/lang/String;I)B
move-result v0
sput-byte v0, Lcom/google/firebase/installations/RandomFidGenerator;->REMOVE_PREFIX_MASK:B
return-void
.end method
.method public constructor <init>()V
.locals 0
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static encodeFidBase64UrlSafe([B)Ljava/lang/String;
.locals 2
.line 69
new-instance v0, Ljava/lang/String;
const/16 v1, 0xb
.line 70
invoke-static {p0, v1}, Landroid/util/Base64;->encode([BI)[B
move-result-object p0
.line 75
invoke-static {}, Ljava/nio/charset/Charset;->defaultCharset()Ljava/nio/charset/Charset;
move-result-object v1
invoke-direct {v0, p0, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
const/4 p0, 0x0
const/16 v1, 0x16
.line 76
invoke-virtual {v0, p0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getBytesFromUUID(Ljava/util/UUID;[B)[B
.locals 2
.line 80
invoke-static {p1}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;
move-result-object p1
.line 81
invoke-virtual {p0}, Ljava/util/UUID;->getMostSignificantBits()J
move-result-wide v0
invoke-virtual {p1, v0, v1}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;
.line 82
invoke-virtual {p0}, Ljava/util/UUID;->getLeastSignificantBits()J
move-result-wide v0
invoke-virtual {p1, v0, v1}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;
.line 83
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->array()[B
move-result-object p0
return-object p0
.end method
# virtual methods
.method public createRandomFid()Ljava/lang/String;
.locals 4
.line 52
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
move-result-object v0
const/16 v1, 0x11
new-array v1, v1, [B
invoke-static {v0, v1}, Lcom/google/firebase/installations/RandomFidGenerator;->getBytesFromUUID(Ljava/util/UUID;[B)[B
move-result-object v0
const/4 v1, 0x0
.line 53
aget-byte v2, v0, v1
const/16 v3, 0x10
aput-byte v2, v0, v3
sget-byte v3, Lcom/google/firebase/installations/RandomFidGenerator;->REMOVE_PREFIX_MASK:B
and-int/2addr v2, v3
sget-byte v3, Lcom/google/firebase/installations/RandomFidGenerator;->FID_4BIT_PREFIX:B
or-int/2addr v2, v3
int-to-byte v2, v2
.line 54
aput-byte v2, v0, v1
.line 55
invoke-static {v0}, Lcom/google/firebase/installations/RandomFidGenerator;->encodeFidBase64UrlSafe([B)Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lcom/google/firebase/installations/StateListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onException(Ljava/lang/Exception;)Z
.end method
.method public abstract onStateReached(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Z
.end method

View File

@@ -0,0 +1,219 @@
.class public final Lcom/google/firebase/installations/Utils;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final API_KEY_FORMAT:Ljava/util/regex/Pattern;
.field public static final AUTH_TOKEN_EXPIRATION_BUFFER_IN_SECS:J
.field public static singleton:Lcom/google/firebase/installations/Utils;
# instance fields
.field public final clock:Lcom/google/firebase/installations/time/Clock;
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 32
sget-object v0, Ljava/util/concurrent/TimeUnit;->HOURS:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0x1
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
move-result-wide v0
sput-wide v0, Lcom/google/firebase/installations/Utils;->AUTH_TOKEN_EXPIRATION_BUFFER_IN_SECS:J
const-string v0, "\\AA[\\w-]{38}\\z"
.line 34
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/Utils;->API_KEY_FORMAT:Ljava/util/regex/Pattern;
return-void
.end method
.method public constructor <init>(Lcom/google/firebase/installations/time/Clock;)V
.locals 0
.line 38
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/Utils;->clock:Lcom/google/firebase/installations/time/Clock;
return-void
.end method
.method public static getInstance()Lcom/google/firebase/installations/Utils;
.locals 1
.line 44
invoke-static {}, Lcom/google/firebase/installations/time/SystemClock;->getInstance()Lcom/google/firebase/installations/time/SystemClock;
move-result-object v0
invoke-static {v0}, Lcom/google/firebase/installations/Utils;->getInstance(Lcom/google/firebase/installations/time/Clock;)Lcom/google/firebase/installations/Utils;
move-result-object v0
return-object v0
.end method
.method public static getInstance(Lcom/google/firebase/installations/time/Clock;)Lcom/google/firebase/installations/Utils;
.locals 1
sget-object v0, Lcom/google/firebase/installations/Utils;->singleton:Lcom/google/firebase/installations/Utils;
if-nez v0, :cond_0
.line 54
new-instance v0, Lcom/google/firebase/installations/Utils;
invoke-direct {v0, p0}, Lcom/google/firebase/installations/Utils;-><init>(Lcom/google/firebase/installations/time/Clock;)V
sput-object v0, Lcom/google/firebase/installations/Utils;->singleton:Lcom/google/firebase/installations/Utils;
:cond_0
sget-object p0, Lcom/google/firebase/installations/Utils;->singleton:Lcom/google/firebase/installations/Utils;
return-object p0
.end method
.method public static isValidApiKeyFormat(Ljava/lang/String;)Z
.locals 1
sget-object v0, Lcom/google/firebase/installations/Utils;->API_KEY_FORMAT:Ljava/util/regex/Pattern;
.line 91
invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object p0
invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z
move-result p0
return p0
.end method
.method public static isValidAppIdFormat(Ljava/lang/String;)Z
.locals 1
const-string v0, ":"
.line 87
invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result p0
return p0
.end method
# virtual methods
.method public currentTimeInMillis()J
.locals 2
iget-object v0, p0, Lcom/google/firebase/installations/Utils;->clock:Lcom/google/firebase/installations/time/Clock;
.line 83
invoke-interface {v0}, Lcom/google/firebase/installations/time/Clock;->currentTimeMillis()J
move-result-wide v0
return-wide v0
.end method
.method public currentTimeInSecs()J
.locals 3
.line 77
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {p0}, Lcom/google/firebase/installations/Utils;->currentTimeInMillis()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
move-result-wide v0
return-wide v0
.end method
.method public getRandomDelayForSyncPrevention()J
.locals 4
.line 104
invoke-static {}, Ljava/lang/Math;->random()D
move-result-wide v0
const-wide v2, 0x408f400000000000L # 1000.0
mul-double/2addr v0, v2
double-to-long v0, v0
return-wide v0
.end method
.method public isAuthTokenExpired(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Z
.locals 8
.line 64
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_0
return v1
.line 67
:cond_0
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getTokenCreationEpochInSecs()J
move-result-wide v2
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getExpiresInSecs()J
move-result-wide v4
add-long/2addr v2, v4
.line 68
invoke-virtual {p0}, Lcom/google/firebase/installations/Utils;->currentTimeInSecs()J
move-result-wide v4
sget-wide v6, Lcom/google/firebase/installations/Utils;->AUTH_TOKEN_EXPIRATION_BUFFER_IN_SECS:J
add-long/2addr v4, v6
cmp-long p1, v2, v4
if-gez p1, :cond_1
return v1
:cond_1
const/4 p1, 0x0
return p1
.end method

View File

@@ -0,0 +1,47 @@
.class public final Lcom/google/firebase/installations/interop/R$attr;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static alpha:I = 0x7f040055
.field public static coordinatorLayoutStyle:I = 0x7f0400b3
.field public static font:I = 0x7f0400d8
.field public static fontProviderAuthority:I = 0x7f0400da
.field public static fontProviderCerts:I = 0x7f0400db
.field public static fontProviderFetchStrategy:I = 0x7f0400dd
.field public static fontProviderFetchTimeout:I = 0x7f0400de
.field public static fontProviderPackage:I = 0x7f0400df
.field public static fontProviderQuery:I = 0x7f0400e0
.field public static fontStyle:I = 0x7f0400e2
.field public static fontVariationSettings:I = 0x7f0400e3
.field public static fontWeight:I = 0x7f0400e4
.field public static keylines:I = 0x7f0400f9
.field public static layout_anchor:I = 0x7f0400fe
.field public static layout_anchorGravity:I = 0x7f0400ff
.field public static layout_behavior:I = 0x7f040100
.field public static layout_dodgeInsetEdges:I = 0x7f040101
.field public static layout_insetEdge:I = 0x7f040102
.field public static layout_keyline:I = 0x7f040103
.field public static statusBarBackground:I = 0x7f040165
.field public static ttcIndex:I = 0x7f04019c

View File

@@ -0,0 +1,13 @@
.class public final Lcom/google/firebase/installations/interop/R$color;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static notification_action_color_filter:I = 0x7f0600e7
.field public static notification_icon_bg_color:I = 0x7f0600e8
.field public static ripple_material_light:I = 0x7f0600f3
.field public static secondary_text_default_material_light:I = 0x7f0600f5

View File

@@ -0,0 +1,49 @@
.class public final Lcom/google/firebase/installations/interop/R$dimen;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static compat_button_inset_horizontal_material:I = 0x7f070095
.field public static compat_button_inset_vertical_material:I = 0x7f070096
.field public static compat_button_padding_horizontal_material:I = 0x7f070097
.field public static compat_button_padding_vertical_material:I = 0x7f070098
.field public static compat_control_corner_material:I = 0x7f070099
.field public static compat_notification_large_icon_max_height:I = 0x7f07009a
.field public static compat_notification_large_icon_max_width:I = 0x7f07009b
.field public static notification_action_icon_size:I = 0x7f070105
.field public static notification_action_text_size:I = 0x7f070106
.field public static notification_big_circle_margin:I = 0x7f070107
.field public static notification_content_margin_start:I = 0x7f070108
.field public static notification_large_icon_height:I = 0x7f070109
.field public static notification_large_icon_width:I = 0x7f07010a
.field public static notification_main_column_padding_top:I = 0x7f07010b
.field public static notification_media_narrow_margin:I = 0x7f07010c
.field public static notification_right_icon_size:I = 0x7f07010d
.field public static notification_right_side_padding_top:I = 0x7f07010e
.field public static notification_small_icon_background_padding:I = 0x7f07010f
.field public static notification_small_icon_size_as_large:I = 0x7f070110
.field public static notification_subtext_size:I = 0x7f070111
.field public static notification_top_pad:I = 0x7f070112
.field public static notification_top_pad_large_text:I = 0x7f070113

View File

@@ -0,0 +1,29 @@
.class public final Lcom/google/firebase/installations/interop/R$drawable;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static notification_action_background:I = 0x7f080241
.field public static notification_bg:I = 0x7f080242
.field public static notification_bg_low:I = 0x7f080243
.field public static notification_bg_low_normal:I = 0x7f080244
.field public static notification_bg_low_pressed:I = 0x7f080245
.field public static notification_bg_normal:I = 0x7f080246
.field public static notification_bg_normal_pressed:I = 0x7f080247
.field public static notification_icon_background:I = 0x7f080248
.field public static notification_template_icon_bg:I = 0x7f08024a
.field public static notification_template_icon_low_bg:I = 0x7f08024b
.field public static notification_tile_bg:I = 0x7f08024c
.field public static notify_panel_notification_icon_bg:I = 0x7f08024d

View File

@@ -0,0 +1,153 @@
.class public final Lcom/google/firebase/installations/interop/R$id;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static accessibility_action_clickable_span:I = 0x7f0a0009
.field public static accessibility_custom_action_0:I = 0x7f0a000a
.field public static accessibility_custom_action_1:I = 0x7f0a000b
.field public static accessibility_custom_action_10:I = 0x7f0a000c
.field public static accessibility_custom_action_11:I = 0x7f0a000d
.field public static accessibility_custom_action_12:I = 0x7f0a000e
.field public static accessibility_custom_action_13:I = 0x7f0a000f
.field public static accessibility_custom_action_14:I = 0x7f0a0010
.field public static accessibility_custom_action_15:I = 0x7f0a0011
.field public static accessibility_custom_action_16:I = 0x7f0a0012
.field public static accessibility_custom_action_17:I = 0x7f0a0013
.field public static accessibility_custom_action_18:I = 0x7f0a0014
.field public static accessibility_custom_action_19:I = 0x7f0a0015
.field public static accessibility_custom_action_2:I = 0x7f0a0016
.field public static accessibility_custom_action_20:I = 0x7f0a0017
.field public static accessibility_custom_action_21:I = 0x7f0a0018
.field public static accessibility_custom_action_22:I = 0x7f0a0019
.field public static accessibility_custom_action_23:I = 0x7f0a001a
.field public static accessibility_custom_action_24:I = 0x7f0a001b
.field public static accessibility_custom_action_25:I = 0x7f0a001c
.field public static accessibility_custom_action_26:I = 0x7f0a001d
.field public static accessibility_custom_action_27:I = 0x7f0a001e
.field public static accessibility_custom_action_28:I = 0x7f0a001f
.field public static accessibility_custom_action_29:I = 0x7f0a0020
.field public static accessibility_custom_action_3:I = 0x7f0a0021
.field public static accessibility_custom_action_30:I = 0x7f0a0022
.field public static accessibility_custom_action_31:I = 0x7f0a0023
.field public static accessibility_custom_action_4:I = 0x7f0a0024
.field public static accessibility_custom_action_5:I = 0x7f0a0025
.field public static accessibility_custom_action_6:I = 0x7f0a0026
.field public static accessibility_custom_action_7:I = 0x7f0a0027
.field public static accessibility_custom_action_8:I = 0x7f0a0028
.field public static accessibility_custom_action_9:I = 0x7f0a0029
.field public static action_container:I = 0x7f0a0032
.field public static action_divider:I = 0x7f0a0034
.field public static action_image:I = 0x7f0a0035
.field public static action_text:I = 0x7f0a003c
.field public static actions:I = 0x7f0a003d
.field public static async:I = 0x7f0a0088
.field public static blocking:I = 0x7f0a0091
.field public static bottom:I = 0x7f0a0092
.field public static chronometer:I = 0x7f0a00a6
.field public static dialog_button:I = 0x7f0a00c1
.field public static end:I = 0x7f0a00c8
.field public static forever:I = 0x7f0a0107
.field public static icon:I = 0x7f0a014a
.field public static icon_group:I = 0x7f0a014b
.field public static info:I = 0x7f0a0151
.field public static italic:I = 0x7f0a0156
.field public static left:I = 0x7f0a015b
.field public static line1:I = 0x7f0a015d
.field public static line3:I = 0x7f0a015e
.field public static none:I = 0x7f0a022e
.field public static normal:I = 0x7f0a022f
.field public static notification_background:I = 0x7f0a0230
.field public static notification_main_column:I = 0x7f0a0231
.field public static notification_main_column_container:I = 0x7f0a0232
.field public static right:I = 0x7f0a0247
.field public static right_icon:I = 0x7f0a0248
.field public static right_side:I = 0x7f0a0249
.field public static start:I = 0x7f0a0268
.field public static tag_accessibility_actions:I = 0x7f0a0270
.field public static tag_accessibility_clickable_spans:I = 0x7f0a0271
.field public static tag_accessibility_heading:I = 0x7f0a0272
.field public static tag_accessibility_pane_title:I = 0x7f0a0273
.field public static tag_screen_reader_focusable:I = 0x7f0a0277
.field public static tag_transition_group:I = 0x7f0a0279
.field public static tag_unhandled_key_event_manager:I = 0x7f0a027a
.field public static tag_unhandled_key_listeners:I = 0x7f0a027b
.field public static text:I = 0x7f0a027d
.field public static text2:I = 0x7f0a027e
.field public static time:I = 0x7f0a0283
.field public static title:I = 0x7f0a0284
.field public static top:I = 0x7f0a0287

View File

@@ -0,0 +1,9 @@
.class public final Lcom/google/firebase/installations/interop/R$integer;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static google_play_services_version:I = 0x7f0b000f
.field public static status_bar_notification_info_maxnum:I = 0x7f0b0014

View File

@@ -0,0 +1,19 @@
.class public final Lcom/google/firebase/installations/interop/R$layout;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static custom_dialog:I = 0x7f0d0033
.field public static notification_action:I = 0x7f0d009f
.field public static notification_action_tombstone:I = 0x7f0d00a0
.field public static notification_template_custom_big:I = 0x7f0d00a7
.field public static notification_template_icon_group:I = 0x7f0d00a8
.field public static notification_template_part_chronometer:I = 0x7f0d00ac
.field public static notification_template_part_time:I = 0x7f0d00ad

View File

@@ -0,0 +1,9 @@
.class public final Lcom/google/firebase/installations/interop/R$string;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static common_google_play_services_unknown_issue:I = 0x7f1200a7
.field public static status_bar_notification_info_overflow:I = 0x7f120187

View File

@@ -0,0 +1,21 @@
.class public final Lcom/google/firebase/installations/interop/R$style;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static TextAppearance_Compat_Notification:I = 0x7f130147
.field public static TextAppearance_Compat_Notification_Info:I = 0x7f130148
.field public static TextAppearance_Compat_Notification_Line2:I = 0x7f13014a
.field public static TextAppearance_Compat_Notification_Time:I = 0x7f13014d
.field public static TextAppearance_Compat_Notification_Title:I = 0x7f13014f
.field public static Widget_Compat_NotificationActionContainer:I = 0x7f1301c1
.field public static Widget_Compat_NotificationActionText:I = 0x7f1301c2
.field public static Widget_Support_CoordinatorLayout:I = 0x7f1301c3

View File

@@ -0,0 +1,238 @@
.class public final Lcom/google/firebase/installations/interop/R$styleable;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static ColorStateListItem:[I = null
.field public static ColorStateListItem_alpha:I = 0x3
.field public static ColorStateListItem_android_alpha:I = 0x1
.field public static ColorStateListItem_android_color:I = 0x0
.field public static ColorStateListItem_android_lStar:I = 0x2
.field public static ColorStateListItem_lStar:I = 0x4
.field public static CoordinatorLayout:[I = null
.field public static CoordinatorLayout_Layout:[I = null
.field public static CoordinatorLayout_Layout_android_layout_gravity:I = 0x0
.field public static CoordinatorLayout_Layout_layout_anchor:I = 0x1
.field public static CoordinatorLayout_Layout_layout_anchorGravity:I = 0x2
.field public static CoordinatorLayout_Layout_layout_behavior:I = 0x3
.field public static CoordinatorLayout_Layout_layout_dodgeInsetEdges:I = 0x4
.field public static CoordinatorLayout_Layout_layout_insetEdge:I = 0x5
.field public static CoordinatorLayout_Layout_layout_keyline:I = 0x6
.field public static CoordinatorLayout_keylines:I = 0x0
.field public static CoordinatorLayout_statusBarBackground:I = 0x1
.field public static FontFamily:[I = null
.field public static FontFamilyFont:[I = null
.field public static FontFamilyFont_android_font:I = 0x0
.field public static FontFamilyFont_android_fontStyle:I = 0x2
.field public static FontFamilyFont_android_fontVariationSettings:I = 0x4
.field public static FontFamilyFont_android_fontWeight:I = 0x1
.field public static FontFamilyFont_android_ttcIndex:I = 0x3
.field public static FontFamilyFont_font:I = 0x5
.field public static FontFamilyFont_fontStyle:I = 0x6
.field public static FontFamilyFont_fontVariationSettings:I = 0x7
.field public static FontFamilyFont_fontWeight:I = 0x8
.field public static FontFamilyFont_ttcIndex:I = 0x9
.field public static FontFamily_fontProviderAuthority:I = 0x0
.field public static FontFamily_fontProviderCerts:I = 0x1
.field public static FontFamily_fontProviderFallbackQuery:I = 0x2
.field public static FontFamily_fontProviderFetchStrategy:I = 0x3
.field public static FontFamily_fontProviderFetchTimeout:I = 0x4
.field public static FontFamily_fontProviderPackage:I = 0x5
.field public static FontFamily_fontProviderQuery:I = 0x6
.field public static FontFamily_fontProviderSystemFontFamily:I = 0x7
.field public static GradientColor:[I = null
.field public static GradientColorItem:[I = null
.field public static GradientColorItem_android_color:I = 0x0
.field public static GradientColorItem_android_offset:I = 0x1
.field public static GradientColor_android_centerColor:I = 0x7
.field public static GradientColor_android_centerX:I = 0x3
.field public static GradientColor_android_centerY:I = 0x4
.field public static GradientColor_android_endColor:I = 0x1
.field public static GradientColor_android_endX:I = 0xa
.field public static GradientColor_android_endY:I = 0xb
.field public static GradientColor_android_gradientRadius:I = 0x5
.field public static GradientColor_android_startColor:I = 0x0
.field public static GradientColor_android_startX:I = 0x8
.field public static GradientColor_android_startY:I = 0x9
.field public static GradientColor_android_tileMode:I = 0x6
.field public static GradientColor_android_type:I = 0x2
# direct methods
.method public static constructor <clinit>()V
.locals 5
const v0, 0x7f040055
const v1, 0x7f0400fa
const v2, 0x10101a5
const v3, 0x101031f
const v4, 0x1010647
filled-new-array {v2, v3, v4, v0, v1}, [I
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->ColorStateListItem:[I
const v0, 0x7f0400f9
const v1, 0x7f040165
filled-new-array {v0, v1}, [I
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->CoordinatorLayout:[I
const/4 v0, 0x7
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->CoordinatorLayout_Layout:[I
const/16 v0, 0x8
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->FontFamily:[I
const/16 v0, 0xa
new-array v0, v0, [I
fill-array-data v0, :array_2
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->FontFamilyFont:[I
const/16 v0, 0xc
new-array v0, v0, [I
fill-array-data v0, :array_3
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->GradientColor:[I
const v0, 0x1010514
filled-new-array {v2, v0}, [I
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/interop/R$styleable;->GradientColorItem:[I
return-void
:array_0
.array-data 4
0x10100b3
0x7f0400fe
0x7f0400ff
0x7f040100
0x7f040101
0x7f040102
0x7f040103
.end array-data
:array_1
.array-data 4
0x7f0400da
0x7f0400db
0x7f0400dc
0x7f0400dd
0x7f0400de
0x7f0400df
0x7f0400e0
0x7f0400e1
.end array-data
:array_2
.array-data 4
0x1010532
0x1010533
0x101053f
0x101056f
0x1010570
0x7f0400d8
0x7f0400e2
0x7f0400e3
0x7f0400e4
0x7f04019c
.end array-data
:array_3
.array-data 4
0x101019d
0x101019e
0x10101a1
0x10101a2
0x10101a3
0x10101a4
0x1010201
0x101020b
0x1010510
0x1010511
0x1010512
0x1010513
.end array-data
.end method

View File

@@ -0,0 +1,30 @@
.class public final Lcom/google/firebase/installations/ktx/FirebaseInstallationsKtxRegistrar;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/components/ComponentRegistrar;
# direct methods
.method public constructor <init>()V
.locals 0
.line 54
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getComponents()Ljava/util/List;
.locals 1
.line 59
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,326 @@
.class public final Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;
.super Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field public authToken:Ljava/lang/String;
.field public expiresInSecs:Ljava/lang/Long;
.field public firebaseInstallationId:Ljava/lang/String;
.field public fisError:Ljava/lang/String;
.field public refreshToken:Ljava/lang/String;
.field public registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public tokenCreationEpochInSecs:Ljava/lang/Long;
# direct methods
.method public constructor <init>()V
.locals 0
.line 146
invoke-direct {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;-><init>()V
return-void
.end method
.method public constructor <init>(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)V
.locals 2
.line 148
invoke-direct {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;-><init>()V
.line 149
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFirebaseInstallationId()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->firebaseInstallationId:Ljava/lang/String;
.line 150
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 151
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->authToken:Ljava/lang/String;
.line 152
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRefreshToken()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->refreshToken:Ljava/lang/String;
.line 153
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getExpiresInSecs()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->expiresInSecs:Ljava/lang/Long;
.line 154
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getTokenCreationEpochInSecs()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->tokenCreationEpochInSecs:Ljava/lang/Long;
.line 155
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFisError()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->fisError:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/firebase/installations/local/PersistedInstallationEntry;Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$1;)V
.locals 0
.line 138
invoke-direct {p0, p1}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;-><init>(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)V
return-void
.end method
# virtual methods
.method public build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 13
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, ""
if-nez v0, :cond_0
.line 199
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " registrationStatus"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:cond_0
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->expiresInSecs:Ljava/lang/Long;
if-nez v0, :cond_1
.line 202
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " expiresInSecs"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:cond_1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->tokenCreationEpochInSecs:Ljava/lang/Long;
if-nez v0, :cond_2
.line 205
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " tokenCreationEpochInSecs"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
.line 207
:cond_2
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
move-result v0
if-eqz v0, :cond_3
.line 210
new-instance v0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;
iget-object v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->firebaseInstallationId:Ljava/lang/String;
iget-object v4, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
iget-object v5, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->authToken:Ljava/lang/String;
iget-object v6, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->refreshToken:Ljava/lang/String;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->expiresInSecs:Ljava/lang/Long;
.line 215
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v7
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->tokenCreationEpochInSecs:Ljava/lang/Long;
.line 216
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v9
iget-object v11, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->fisError:Ljava/lang/String;
const/4 v12, 0x0
move-object v2, v0
invoke-direct/range {v2 .. v12}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;-><init>(Ljava/lang/String;Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$1;)V
return-object v0
.line 208
:cond_3
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Missing required properties:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->authToken:Ljava/lang/String;
return-object p0
.end method
.method public setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
.line 182
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->expiresInSecs:Ljava/lang/Long;
return-object p0
.end method
.method public setFirebaseInstallationId(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->firebaseInstallationId:Ljava/lang/String;
return-object p0
.end method
.method public setFisError(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->fisError:Ljava/lang/String;
return-object p0
.end method
.method public setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->refreshToken:Ljava/lang/String;
return-object p0
.end method
.method public setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 1
if-eqz p1, :cond_0
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
return-object p0
.line 165
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "Null registrationStatus"
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 0
.line 187
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->tokenCreationEpochInSecs:Ljava/lang/Long;
return-object p0
.end method

View File

@@ -0,0 +1,492 @@
.class public final Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;
.super Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;
}
.end annotation
# instance fields
.field public final authToken:Ljava/lang/String;
.field public final expiresInSecs:J
.field public final firebaseInstallationId:Ljava/lang/String;
.field public final fisError:Ljava/lang/String;
.field public final refreshToken:Ljava/lang/String;
.field public final registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public final tokenCreationEpochInSecs:J
# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;)V
.locals 0
.line 32
invoke-direct {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->firebaseInstallationId:Ljava/lang/String;
iput-object p2, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
iput-object p3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->authToken:Ljava/lang/String;
iput-object p4, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->refreshToken:Ljava/lang/String;
iput-wide p5, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->expiresInSecs:J
iput-wide p7, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->tokenCreationEpochInSecs:J
iput-object p9, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->fisError:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$1;)V
.locals 0
.line 9
invoke-direct/range {p0 .. p9}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;-><init>(Ljava/lang/String;Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
.line 100
:cond_0
instance-of v1, p1, Lcom/google/firebase/installations/local/PersistedInstallationEntry;
const/4 v2, 0x0
if-eqz v1, :cond_6
.line 101
check-cast p1, Lcom/google/firebase/installations/local/PersistedInstallationEntry;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->firebaseInstallationId:Ljava/lang/String;
if-nez v1, :cond_1
.line 102
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFirebaseInstallationId()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_5
goto :goto_0
:cond_1
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFirebaseInstallationId()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
:goto_0
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 103
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->authToken:Ljava/lang/String;
if-nez v1, :cond_2
.line 104
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_5
goto :goto_1
:cond_2
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
:goto_1
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->refreshToken:Ljava/lang/String;
if-nez v1, :cond_3
.line 105
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRefreshToken()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_5
goto :goto_2
:cond_3
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRefreshToken()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
:goto_2
iget-wide v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->expiresInSecs:J
.line 106
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getExpiresInSecs()J
move-result-wide v5
cmp-long v1, v3, v5
if-nez v1, :cond_5
iget-wide v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->tokenCreationEpochInSecs:J
.line 107
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getTokenCreationEpochInSecs()J
move-result-wide v5
cmp-long v1, v3, v5
if-nez v1, :cond_5
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->fisError:Ljava/lang/String;
if-nez v1, :cond_4
.line 108
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFisError()Ljava/lang/String;
move-result-object p1
if-nez p1, :cond_5
goto :goto_3
:cond_4
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFisError()Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_5
goto :goto_3
:cond_5
move v0, v2
:goto_3
return v0
:cond_6
return v2
.end method
.method public getAuthToken()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->authToken:Ljava/lang/String;
return-object v0
.end method
.method public getExpiresInSecs()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->expiresInSecs:J
return-wide v0
.end method
.method public getFirebaseInstallationId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->firebaseInstallationId:Ljava/lang/String;
return-object v0
.end method
.method public getFisError()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->fisError:Ljava/lang/String;
return-object v0
.end method
.method public getRefreshToken()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->refreshToken:Ljava/lang/String;
return-object v0
.end method
.method public getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
return-object v0
.end method
.method public getTokenCreationEpochInSecs()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->tokenCreationEpochInSecs:J
return-wide v0
.end method
.method public hashCode()I
.locals 8
iget-object v0, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->firebaseInstallationId:Ljava/lang/String;
const/4 v1, 0x0
if-nez v0, :cond_0
move v0, v1
goto :goto_0
.line 117
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
:goto_0
const v2, 0xf4243
xor-int/2addr v0, v2
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 119
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
move-result v3
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->authToken:Ljava/lang/String;
if-nez v3, :cond_1
move v3, v1
goto :goto_1
.line 121
:cond_1
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
move-result v3
:goto_1
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->refreshToken:Ljava/lang/String;
if-nez v3, :cond_2
move v3, v1
goto :goto_2
.line 123
:cond_2
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
move-result v3
:goto_2
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-wide v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->expiresInSecs:J
const/16 v5, 0x20
ushr-long v6, v3, v5
xor-long/2addr v3, v6
long-to-int v3, v3
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-wide v3, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->tokenCreationEpochInSecs:J
ushr-long v5, v3, v5
xor-long/2addr v3, v5
long-to-int v3, v3
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v2, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->fisError:Ljava/lang/String;
if-nez v2, :cond_3
goto :goto_3
.line 129
:cond_3
invoke-virtual {v2}, Ljava/lang/String;->hashCode()I
move-result v1
:goto_3
xor-int/2addr v0, v1
return v0
.end method
.method public toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 2
.line 135
new-instance v0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;-><init>(Lcom/google/firebase/installations/local/PersistedInstallationEntry;Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$1;)V
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 84
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "PersistedInstallationEntry{firebaseInstallationId="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->firebaseInstallationId:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", registrationStatus="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->registrationStatus:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", authToken="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->authToken:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", refreshToken="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->refreshToken:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", expiresInSecs="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->expiresInSecs:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", tokenCreationEpochInSecs="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->tokenCreationEpochInSecs:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", fisError="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry;->fisError:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,575 @@
.class public Lcom/google/firebase/installations/local/IidStore;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final ALLOWABLE_SCOPES:[Ljava/lang/String;
# instance fields
.field public final defaultSenderId:Ljava/lang/String;
.field public final iidPrefs:Landroid/content/SharedPreferences;
# direct methods
.method static constructor <clinit>()V
.locals 4
const-string v0, "GCM"
const-string v1, ""
const-string v2, "*"
const-string v3, "FCM"
filled-new-array {v2, v3, v0, v1}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/local/IidStore;->ALLOWABLE_SCOPES:[Ljava/lang/String;
return-void
.end method
.method public constructor <init>(Lcom/google/firebase/FirebaseApp;)V
.locals 3
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 60
invoke-virtual {p1}, Lcom/google/firebase/FirebaseApp;->getApplicationContext()Landroid/content/Context;
move-result-object v0
const-string v1, "com.google.android.gms.appid"
const/4 v2, 0x0
.line 61
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 63
invoke-static {p1}, Lcom/google/firebase/installations/local/IidStore;->getDefaultSenderId(Lcom/google/firebase/FirebaseApp;)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/local/IidStore;->defaultSenderId:Ljava/lang/String;
return-void
.end method
.method public static getDefaultSenderId(Lcom/google/firebase/FirebaseApp;)Ljava/lang/String;
.locals 3
.line 74
invoke-virtual {p0}, Lcom/google/firebase/FirebaseApp;->getOptions()Lcom/google/firebase/FirebaseOptions;
move-result-object v0
invoke-virtual {v0}, Lcom/google/firebase/FirebaseOptions;->getGcmSenderId()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
return-object v0
.line 78
:cond_0
invoke-virtual {p0}, Lcom/google/firebase/FirebaseApp;->getOptions()Lcom/google/firebase/FirebaseOptions;
move-result-object p0
invoke-virtual {p0}, Lcom/google/firebase/FirebaseOptions;->getApplicationId()Ljava/lang/String;
move-result-object p0
const-string v0, "1:"
.line 79
invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_1
const-string v0, "2:"
invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_1
return-object p0
:cond_1
const-string v0, ":"
.line 85
invoke-virtual {p0, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p0
.line 86
array-length v0, p0
const/4 v1, 0x4
const/4 v2, 0x0
if-eq v0, v1, :cond_2
return-object v2
:cond_2
const/4 v0, 0x1
.line 89
aget-object p0, p0, v0
.line 90
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
move-result v0
if-eqz v0, :cond_3
return-object v2
:cond_3
return-object p0
.end method
.method public static getIdFromPublicKey(Ljava/security/PublicKey;)Ljava/lang/String;
.locals 3
.line 177
invoke-interface {p0}, Ljava/security/Key;->getEncoded()[B
move-result-object p0
:try_start_0
const-string v0, "SHA1"
.line 184
invoke-static {v0}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object v0
.line 186
invoke-virtual {v0, p0}, Ljava/security/MessageDigest;->digest([B)[B
move-result-object p0
const/4 v0, 0x0
.line 187
aget-byte v1, p0, v0
and-int/lit8 v1, v1, 0xf
add-int/lit8 v1, v1, 0x70
and-int/lit16 v1, v1, 0xff
int-to-byte v1, v1
.line 189
aput-byte v1, p0, v0
const/16 v1, 0x8
const/16 v2, 0xb
.line 190
invoke-static {p0, v0, v1, v2}, Landroid/util/Base64;->encodeToString([BIII)Ljava/lang/String;
move-result-object p0
:try_end_0
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
const-string p0, "ContentValues"
const-string v0, "Unexpected error, device missing required algorithms"
.line 193
invoke-static {p0, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const/4 p0, 0x0
return-object p0
.end method
# virtual methods
.method public final createTokenKey(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 2
.line 97
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "|T|"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "|"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public final parseIidTokenFromJson(Ljava/lang/String;)Ljava/lang/String;
.locals 1
.line 118
:try_start_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
const-string p1, "token"
.line 119
invoke-virtual {v0, p1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
const/4 p1, 0x0
return-object p1
.end method
.method public final parseKey(Ljava/lang/String;)Ljava/security/PublicKey;
.locals 2
const/16 v0, 0x8
.line 203
:try_start_0
invoke-static {p1, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B
move-result-object p1
const-string v0, "RSA"
.line 204
invoke-static {v0}, Ljava/security/KeyFactory;->getInstance(Ljava/lang/String;)Ljava/security/KeyFactory;
move-result-object v0
.line 205
new-instance v1, Ljava/security/spec/X509EncodedKeySpec;
invoke-direct {v1, p1}, Ljava/security/spec/X509EncodedKeySpec;-><init>([B)V
invoke-virtual {v0, v1}, Ljava/security/KeyFactory;->generatePublic(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
move-result-object p1
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/security/spec/InvalidKeySpecException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
goto :goto_0
:catch_1
move-exception p1
goto :goto_0
:catch_2
move-exception p1
.line 207
:goto_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Invalid key stored "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "ContentValues"
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const/4 p1, 0x0
return-object p1
.end method
.method public readIid()Ljava/lang/String;
.locals 2
iget-object v0, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 127
monitor-enter v0
.line 134
:try_start_0
invoke-virtual {p0}, Lcom/google/firebase/installations/local/IidStore;->readInstanceIdFromLocalStorage()Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_0
.line 137
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
goto :goto_0
.line 142
:cond_0
invoke-virtual {p0}, Lcom/google/firebase/installations/local/IidStore;->readPublicKeyFromLocalStorageAndCalculateInstanceId()Ljava/lang/String;
move-result-object v1
monitor-exit v0
return-object v1
.line 143
:goto_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public final readInstanceIdFromLocalStorage()Ljava/lang/String;
.locals 4
iget-object v0, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 148
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
const-string v2, "|S|id"
const/4 v3, 0x0
.line 149
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
.line 150
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public final readPublicKeyFromLocalStorageAndCalculateInstanceId()Ljava/lang/String;
.locals 4
iget-object v0, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 155
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
const-string v2, "|S||P|"
const/4 v3, 0x0
.line 156
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_0
.line 158
monitor-exit v0
return-object v3
:catchall_0
move-exception v1
goto :goto_0
.line 161
:cond_0
invoke-virtual {p0, v1}, Lcom/google/firebase/installations/local/IidStore;->parseKey(Ljava/lang/String;)Ljava/security/PublicKey;
move-result-object v1
if-nez v1, :cond_1
.line 163
monitor-exit v0
return-object v3
.line 166
:cond_1
invoke-static {v1}, Lcom/google/firebase/installations/local/IidStore;->getIdFromPublicKey(Ljava/security/PublicKey;)Ljava/lang/String;
move-result-object v1
monitor-exit v0
return-object v1
.line 167
:goto_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public readToken()Ljava/lang/String;
.locals 7
iget-object v0, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 102
monitor-enter v0
:try_start_0
sget-object v1, Lcom/google/firebase/installations/local/IidStore;->ALLOWABLE_SCOPES:[Ljava/lang/String;
.line 103
array-length v2, v1
const/4 v3, 0x0
:goto_0
const/4 v4, 0x0
if-ge v3, v2, :cond_2
aget-object v5, v1, v3
iget-object v6, p0, Lcom/google/firebase/installations/local/IidStore;->defaultSenderId:Ljava/lang/String;
.line 104
invoke-virtual {p0, v6, v5}, Lcom/google/firebase/installations/local/IidStore;->createTokenKey(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
iget-object v6, p0, Lcom/google/firebase/installations/local/IidStore;->iidPrefs:Landroid/content/SharedPreferences;
.line 105
invoke-interface {v6, v5, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
if-eqz v4, :cond_1
.line 106
invoke-virtual {v4}, Ljava/lang/String;->isEmpty()Z
move-result v5
if-nez v5, :cond_1
const-string v1, "{"
.line 107
invoke-virtual {v4, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_0
invoke-virtual {p0, v4}, Lcom/google/firebase/installations/local/IidStore;->parseIidTokenFromJson(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
goto :goto_1
:catchall_0
move-exception v1
goto :goto_2
:cond_0
:goto_1
monitor-exit v0
return-object v4
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 111
:cond_2
monitor-exit v0
return-object v4
.line 112
:goto_2
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method

View File

@@ -0,0 +1,162 @@
.class public final enum Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/local/PersistedInstallation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "RegistrationStatus"
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public static final enum ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public static final enum NOT_GENERATED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public static final enum REGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public static final enum REGISTER_ERROR:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.field public static final enum UNREGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
# direct methods
.method private static synthetic $values()[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.locals 5
sget-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->NOT_GENERATED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
sget-object v2, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->UNREGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
sget-object v3, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
sget-object v4, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTER_ERROR:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
filled-new-array {v0, v1, v2, v3, v4}, [Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 45
new-instance v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, "ATTEMPT_MIGRATION"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 50
new-instance v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, "NOT_GENERATED"
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->NOT_GENERATED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 56
new-instance v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, "UNREGISTERED"
const/4 v2, 0x2
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->UNREGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 61
new-instance v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, "REGISTERED"
const/4 v2, 0x3
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 67
new-instance v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
const-string v1, "REGISTER_ERROR"
const/4 v2, 0x4
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTER_ERROR:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 40
invoke-static {}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->$values()[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->$VALUES:[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 40
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.locals 1
const-class v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 40
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
return-object p0
.end method
.method public static values()[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.locals 1
sget-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->$VALUES:[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 40
invoke-virtual {v0}, [Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
return-object v0
.end method

View File

@@ -0,0 +1,487 @@
.class public Lcom/google/firebase/installations/local/PersistedInstallation;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
}
.end annotation
# instance fields
.field public dataFile:Ljava/io/File;
.field public final firebaseApp:Lcom/google/firebase/FirebaseApp;
# direct methods
.method public constructor <init>(Lcom/google/firebase/FirebaseApp;)V
.locals 0
.line 79
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->firebaseApp:Lcom/google/firebase/FirebaseApp;
return-void
.end method
# virtual methods
.method public final getDataFile()Ljava/io/File;
.locals 4
iget-object v0, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->dataFile:Ljava/io/File;
if-nez v0, :cond_1
.line 86
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->dataFile:Ljava/io/File;
if-nez v0, :cond_0
.line 90
new-instance v0, Ljava/io/File;
iget-object v1, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->firebaseApp:Lcom/google/firebase/FirebaseApp;
.line 92
invoke-virtual {v1}, Lcom/google/firebase/FirebaseApp;->getApplicationContext()Landroid/content/Context;
move-result-object v1
invoke-virtual {v1}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
move-result-object v1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "PersistedInstallation."
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->firebaseApp:Lcom/google/firebase/FirebaseApp;
.line 93
invoke-virtual {v3}, Lcom/google/firebase/FirebaseApp;->getPersistenceKey()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, ".json"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
iput-object v0, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->dataFile:Ljava/io/File;
goto :goto_0
:catchall_0
move-exception v0
goto :goto_1
.line 95
:cond_0
:goto_0
monitor-exit p0
goto :goto_2
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
:cond_1
:goto_2
iget-object v0, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->dataFile:Ljava/io/File;
return-object v0
.end method
.method public insertOrUpdatePersistedInstallationEntry(Lcom/google/firebase/installations/local/PersistedInstallationEntry;)Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 4
.line 153
:try_start_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
const-string v1, "Fid"
.line 154
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFirebaseInstallationId()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "Status"
.line 155
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Enum;->ordinal()I
move-result v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
const-string v1, "AuthToken"
.line 156
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getAuthToken()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "RefreshToken"
.line 157
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRefreshToken()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "TokenCreationEpochInSecs"
.line 158
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getTokenCreationEpochInSecs()J
move-result-wide v2
invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
const-string v1, "ExpiresInSecs"
.line 159
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getExpiresInSecs()J
move-result-wide v2
invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
const-string v1, "FisError"
.line 160
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getFisError()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "PersistedInstallation"
const-string v2, "tmp"
iget-object v3, p0, Lcom/google/firebase/installations/local/PersistedInstallation;->firebaseApp:Lcom/google/firebase/FirebaseApp;
.line 163
invoke-virtual {v3}, Lcom/google/firebase/FirebaseApp;->getApplicationContext()Landroid/content/Context;
move-result-object v3
invoke-virtual {v3}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
move-result-object v3
.line 162
invoke-static {v1, v2, v3}, Ljava/io/File;->createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
move-result-object v1
.line 166
new-instance v2, Ljava/io/FileOutputStream;
invoke-direct {v2, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
.line 167
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v0
const-string v3, "UTF-8"
invoke-virtual {v0, v3}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object v0
invoke-virtual {v2, v0}, Ljava/io/FileOutputStream;->write([B)V
.line 168
invoke-virtual {v2}, Ljava/io/FileOutputStream;->close()V
.line 171
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallation;->getDataFile()Ljava/io/File;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/io/File;->renameTo(Ljava/io/File;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 172
:cond_0
new-instance v0, Ljava/io/IOException;
const-string v1, "unable to rename the tmpfile to PersistedInstallation"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
:goto_0
return-object p1
.end method
.method public final readJSONFromFile()Lorg/json/JSONObject;
.locals 6
.line 127
new-instance v0, Ljava/io/ByteArrayOutputStream;
invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V
const/16 v1, 0x4000
new-array v2, v1, [B
.line 129
:try_start_0
new-instance v3, Ljava/io/FileInputStream;
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallation;->getDataFile()Ljava/io/File;
move-result-object v4
invoke-direct {v3, v4}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
:goto_0
const/4 v4, 0x0
.line 131
:try_start_1
invoke-virtual {v3, v2, v4, v1}, Ljava/io/FileInputStream;->read([BII)I
move-result v5
if-gez v5, :cond_0
.line 137
new-instance v1, Lorg/json/JSONObject;
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 138
:try_start_2
invoke-virtual {v3}, Ljava/io/FileInputStream;->close()V
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
.catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_0
return-object v1
:catchall_0
move-exception v0
goto :goto_1
.line 135
:cond_0
:try_start_3
invoke-virtual {v0, v2, v4, v5}, Ljava/io/ByteArrayOutputStream;->write([BII)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
goto :goto_0
.line 129
:goto_1
:try_start_4
invoke-virtual {v3}, Ljava/io/FileInputStream;->close()V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
goto :goto_2
:catchall_1
move-exception v1
:try_start_5
invoke-virtual {v0, v1}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
:goto_2
throw v0
:try_end_5
.catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_0
.catch Lorg/json/JSONException; {:try_start_5 .. :try_end_5} :catch_0
.line 139
:catch_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
return-object v0
.end method
.method public readPersistedInstallationEntryValue()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 11
.line 103
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallation;->readJSONFromFile()Lorg/json/JSONObject;
move-result-object v0
const-string v1, "Fid"
const/4 v2, 0x0
.line 105
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 106
sget-object v3, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
move-result v3
const-string v4, "Status"
invoke-virtual {v0, v4, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v3
const-string v4, "AuthToken"
.line 107
invoke-virtual {v0, v4, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
const-string v5, "RefreshToken"
.line 108
invoke-virtual {v0, v5, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
const-string v6, "TokenCreationEpochInSecs"
const-wide/16 v7, 0x0
.line 109
invoke-virtual {v0, v6, v7, v8}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J
move-result-wide v9
const-string v6, "ExpiresInSecs"
.line 110
invoke-virtual {v0, v6, v7, v8}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J
move-result-wide v6
const-string v8, "FisError"
.line 111
invoke-virtual {v0, v8, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
.line 114
invoke-static {}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->builder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v2
.line 115
invoke-virtual {v2, v1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setFirebaseInstallationId(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 116
invoke-static {}, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->values()[Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v2
aget-object v2, v2, v3
invoke-virtual {v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 117
invoke-virtual {v1, v4}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 118
invoke-virtual {v1, v5}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 119
invoke-virtual {v1, v9, v10}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 120
invoke-virtual {v1, v6, v7}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v1
.line 121
invoke-virtual {v1, v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setFisError(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 122
invoke-virtual {v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,51 @@
.class public abstract Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Builder"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 140
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.end method
.method public abstract setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setFirebaseInstallationId(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setFisError(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public abstract setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method

View File

@@ -0,0 +1,404 @@
.class public abstract Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
}
.end annotation
# static fields
.field public static INSTANCE:Lcom/google/firebase/installations/local/PersistedInstallationEntry;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 51
invoke-static {}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->builder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->INSTANCE:Lcom/google/firebase/installations/local/PersistedInstallationEntry;
return-void
.end method
.method public constructor <init>()V
.locals 0
.line 29
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static builder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.locals 4
.line 133
new-instance v0, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;
invoke-direct {v0}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;-><init>()V
const-wide/16 v1, 0x0
.line 134
invoke-virtual {v0, v1, v2}, Lcom/google/firebase/installations/local/AutoValue_PersistedInstallationEntry$Builder;->setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
sget-object v3, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 135
invoke-virtual {v0, v3}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 136
invoke-virtual {v0, v1, v2}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public abstract getAuthToken()Ljava/lang/String;
.end method
.method public abstract getExpiresInSecs()J
.end method
.method public abstract getFirebaseInstallationId()Ljava/lang/String;
.end method
.method public abstract getFisError()Ljava/lang/String;
.end method
.method public abstract getRefreshToken()Ljava/lang/String;
.end method
.method public abstract getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.end method
.method public abstract getTokenCreationEpochInSecs()J
.end method
.method public isErrored()Z
.locals 2
.line 58
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTER_ERROR:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isNotGenerated()Z
.locals 2
.line 66
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->NOT_GENERATED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-eq v0, v1, :cond_1
.line 67
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
.method public isRegistered()Z
.locals 2
.line 54
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isUnregistered()Z
.locals 2
.line 62
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->UNREGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public shouldAttemptMigration()Z
.locals 2
.line 71
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->getRegistrationStatus()Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->ATTEMPT_MIGRATION:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public abstract toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
.end method
.method public withAuthToken(Ljava/lang/String;JJ)Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 1
.line 115
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 116
invoke-virtual {v0, p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 117
invoke-virtual {p1, p2, p3}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 118
invoke-virtual {p1, p4, p5}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 119
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object p1
return-object p1
.end method
.method public withClearedAuthToken()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 2
.line 124
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object v0
return-object v0
.end method
.method public withFisError(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 1
.line 101
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 102
invoke-virtual {v0, p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setFisError(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
sget-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTER_ERROR:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 103
invoke-virtual {p1, v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 104
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object p1
return-object p1
.end method
.method public withNoGeneratedFid()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 2
.line 109
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
sget-object v1, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->NOT_GENERATED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
invoke-virtual {v0, v1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
invoke-virtual {v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object v0
return-object v0
.end method
.method public withRegisteredFid(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;J)Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 1
.line 89
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 90
invoke-virtual {v0, p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setFirebaseInstallationId(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
sget-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->REGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 91
invoke-virtual {p1, v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 92
invoke-virtual {p1, p5}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setAuthToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 93
invoke-virtual {p1, p2}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 94
invoke-virtual {p1, p6, p7}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setExpiresInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 95
invoke-virtual {p1, p3, p4}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setTokenCreationEpochInSecs(J)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 96
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object p1
return-object p1
.end method
.method public withUnregisteredFid(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry;
.locals 1
.line 76
invoke-virtual {p0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry;->toBuilder()Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object v0
.line 77
invoke-virtual {v0, p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setFirebaseInstallationId(Ljava/lang/String;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
sget-object v0, Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;->UNREGISTERED:Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;
.line 78
invoke-virtual {p1, v0}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->setRegistrationStatus(Lcom/google/firebase/installations/local/PersistedInstallation$RegistrationStatus;)Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;
move-result-object p1
.line 79
invoke-virtual {p1}, Lcom/google/firebase/installations/local/PersistedInstallationEntry$Builder;->build()Lcom/google/firebase/installations/local/PersistedInstallationEntry;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,104 @@
.class public final Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;
.super Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field public authToken:Lcom/google/firebase/installations/remote/TokenResult;
.field public fid:Ljava/lang/String;
.field public refreshToken:Ljava/lang/String;
.field public responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.field public uri:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 0
.line 117
invoke-direct {p0}, Lcom/google/firebase/installations/remote/InstallationResponse$Builder;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/google/firebase/installations/remote/InstallationResponse;
.locals 8
.line 153
new-instance v7, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->uri:Ljava/lang/String;
iget-object v2, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->fid:Ljava/lang/String;
iget-object v3, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->refreshToken:Ljava/lang/String;
iget-object v4, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
iget-object v5, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
const/4 v6, 0x0
move-object v0, v7
invoke-direct/range {v0 .. v6}, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/installations/remote/TokenResult;Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$1;)V
return-object v7
.end method
.method public setAuthToken(Lcom/google/firebase/installations/remote/TokenResult;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
return-object p0
.end method
.method public setFid(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->fid:Ljava/lang/String;
return-object p0
.end method
.method public setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->refreshToken:Ljava/lang/String;
return-object p0
.end method
.method public setResponseCode(Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-object p0
.end method
.method public setUri(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;->uri:Ljava/lang/String;
return-object p0
.end method

View File

@@ -0,0 +1,411 @@
.class public final Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;
.super Lcom/google/firebase/installations/remote/InstallationResponse;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;
}
.end annotation
# instance fields
.field public final authToken:Lcom/google/firebase/installations/remote/TokenResult;
.field public final fid:Ljava/lang/String;
.field public final refreshToken:Ljava/lang/String;
.field public final responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.field public final uri:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/installations/remote/TokenResult;Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;)V
.locals 0
.line 25
invoke-direct {p0}, Lcom/google/firebase/installations/remote/InstallationResponse;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->uri:Ljava/lang/String;
iput-object p2, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->fid:Ljava/lang/String;
iput-object p3, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->refreshToken:Ljava/lang/String;
iput-object p4, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
iput-object p5, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/installations/remote/TokenResult;Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$1;)V
.locals 0
.line 8
invoke-direct/range {p0 .. p5}, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/installations/remote/TokenResult;Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
.line 79
:cond_0
instance-of v1, p1, Lcom/google/firebase/installations/remote/InstallationResponse;
const/4 v2, 0x0
if-eqz v1, :cond_7
.line 80
check-cast p1, Lcom/google/firebase/installations/remote/InstallationResponse;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->uri:Ljava/lang/String;
if-nez v1, :cond_1
.line 81
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getUri()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_6
goto :goto_0
:cond_1
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getUri()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_6
:goto_0
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->fid:Ljava/lang/String;
if-nez v1, :cond_2
.line 82
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getFid()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_6
goto :goto_1
:cond_2
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getFid()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_6
:goto_1
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->refreshToken:Ljava/lang/String;
if-nez v1, :cond_3
.line 83
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getRefreshToken()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_6
goto :goto_2
:cond_3
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getRefreshToken()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_6
:goto_2
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
if-nez v1, :cond_4
.line 84
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getAuthToken()Lcom/google/firebase/installations/remote/TokenResult;
move-result-object v1
if-nez v1, :cond_6
goto :goto_3
:cond_4
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getAuthToken()Lcom/google/firebase/installations/remote/TokenResult;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_6
:goto_3
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
if-nez v1, :cond_5
.line 85
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getResponseCode()Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
move-result-object p1
if-nez p1, :cond_6
goto :goto_4
:cond_5
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/InstallationResponse;->getResponseCode()Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_6
goto :goto_4
:cond_6
move v0, v2
:goto_4
return v0
:cond_7
return v2
.end method
.method public getAuthToken()Lcom/google/firebase/installations/remote/TokenResult;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
return-object v0
.end method
.method public getFid()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->fid:Ljava/lang/String;
return-object v0
.end method
.method public getRefreshToken()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->refreshToken:Ljava/lang/String;
return-object v0
.end method
.method public getResponseCode()Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-object v0
.end method
.method public getUri()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->uri:Ljava/lang/String;
return-object v0
.end method
.method public hashCode()I
.locals 4
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->uri:Ljava/lang/String;
const/4 v1, 0x0
if-nez v0, :cond_0
move v0, v1
goto :goto_0
.line 94
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
:goto_0
const v2, 0xf4243
xor-int/2addr v0, v2
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->fid:Ljava/lang/String;
if-nez v3, :cond_1
move v3, v1
goto :goto_1
.line 96
:cond_1
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
move-result v3
:goto_1
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->refreshToken:Ljava/lang/String;
if-nez v3, :cond_2
move v3, v1
goto :goto_2
.line 98
:cond_2
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
move-result v3
:goto_2
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v3, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
if-nez v3, :cond_3
move v3, v1
goto :goto_3
.line 100
:cond_3
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
move-result v3
:goto_3
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v2, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
if-nez v2, :cond_4
goto :goto_4
.line 102
:cond_4
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:goto_4
xor-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 65
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "InstallationResponse{uri="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->uri:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", fid="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->fid:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", refreshToken="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->refreshToken:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", authToken="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->authToken:Lcom/google/firebase/installations/remote/TokenResult;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", responseCode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse;->responseCode:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Lcom/google/firebase/installations/remote/AutoValue_TokenResult$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/AutoValue_TokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,141 @@
.class public final Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;
.super Lcom/google/firebase/installations/remote/TokenResult$Builder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/AutoValue_TokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field public responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.field public token:Ljava/lang/String;
.field public tokenExpirationTimestamp:Ljava/lang/Long;
# direct methods
.method public constructor <init>()V
.locals 0
.line 88
invoke-direct {p0}, Lcom/google/firebase/installations/remote/TokenResult$Builder;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/google/firebase/installations/remote/TokenResult;
.locals 8
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
const-string v1, ""
if-nez v0, :cond_0
.line 114
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " tokenExpirationTimestamp"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
.line 116
:cond_0
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
move-result v0
if-eqz v0, :cond_1
.line 119
new-instance v0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;
iget-object v3, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->token:Ljava/lang/String;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
.line 121
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v4
iget-object v6, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
const/4 v7, 0x0
move-object v2, v0
invoke-direct/range {v2 .. v7}, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;-><init>(Ljava/lang/String;JLcom/google/firebase/installations/remote/TokenResult$ResponseCode;Lcom/google/firebase/installations/remote/AutoValue_TokenResult$1;)V
return-object v0
.line 117
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Missing required properties:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public setResponseCode(Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-object p0
.end method
.method public setToken(Ljava/lang/String;)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.locals 0
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->token:Ljava/lang/String;
return-object p0
.end method
.method public setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.locals 0
.line 102
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->tokenExpirationTimestamp:Ljava/lang/Long;
return-object p0
.end method

View File

@@ -0,0 +1,264 @@
.class public final Lcom/google/firebase/installations/remote/AutoValue_TokenResult;
.super Lcom/google/firebase/installations/remote/TokenResult;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;
}
.end annotation
# instance fields
.field public final responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.field public final token:Ljava/lang/String;
.field public final tokenExpirationTimestamp:J
# direct methods
.method public constructor <init>(Ljava/lang/String;JLcom/google/firebase/installations/remote/TokenResult$ResponseCode;)V
.locals 0
.line 20
invoke-direct {p0}, Lcom/google/firebase/installations/remote/TokenResult;-><init>()V
iput-object p1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->token:Ljava/lang/String;
iput-wide p2, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->tokenExpirationTimestamp:J
iput-object p4, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;JLcom/google/firebase/installations/remote/TokenResult$ResponseCode;Lcom/google/firebase/installations/remote/AutoValue_TokenResult$1;)V
.locals 0
.line 9
invoke-direct {p0, p1, p2, p3, p4}, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;-><init>(Ljava/lang/String;JLcom/google/firebase/installations/remote/TokenResult$ResponseCode;)V
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
.line 58
:cond_0
instance-of v1, p1, Lcom/google/firebase/installations/remote/TokenResult;
const/4 v2, 0x0
if-eqz v1, :cond_4
.line 59
check-cast p1, Lcom/google/firebase/installations/remote/TokenResult;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->token:Ljava/lang/String;
if-nez v1, :cond_1
.line 60
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/TokenResult;->getToken()Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_3
goto :goto_0
:cond_1
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/TokenResult;->getToken()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
:goto_0
iget-wide v3, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->tokenExpirationTimestamp:J
.line 61
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/TokenResult;->getTokenExpirationTimestamp()J
move-result-wide v5
cmp-long v1, v3, v5
if-nez v1, :cond_3
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
if-nez v1, :cond_2
.line 62
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/TokenResult;->getResponseCode()Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
move-result-object p1
if-nez p1, :cond_3
goto :goto_1
:cond_2
invoke-virtual {p1}, Lcom/google/firebase/installations/remote/TokenResult;->getResponseCode()Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_3
goto :goto_1
:cond_3
move v0, v2
:goto_1
return v0
:cond_4
return v2
.end method
.method public getResponseCode()Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-object v0
.end method
.method public getToken()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->token:Ljava/lang/String;
return-object v0
.end method
.method public getTokenExpirationTimestamp()J
.locals 2
iget-wide v0, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->tokenExpirationTimestamp:J
return-wide v0
.end method
.method public hashCode()I
.locals 7
iget-object v0, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->token:Ljava/lang/String;
const/4 v1, 0x0
if-nez v0, :cond_0
move v0, v1
goto :goto_0
.line 71
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
:goto_0
const v2, 0xf4243
xor-int/2addr v0, v2
mul-int/2addr v0, v2
iget-wide v3, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->tokenExpirationTimestamp:J
const/16 v5, 0x20
ushr-long v5, v3, v5
xor-long/2addr v3, v5
long-to-int v3, v3
xor-int/2addr v0, v3
mul-int/2addr v0, v2
iget-object v2, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
if-nez v2, :cond_1
goto :goto_1
.line 75
:cond_1
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v1
:goto_1
xor-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 46
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "TokenResult{token="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->token:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", tokenExpirationTimestamp="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-wide v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->tokenExpirationTimestamp:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", responseCode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult;->responseCode:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,45 @@
.class public abstract Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/InstallationResponse;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Builder"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 58
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract build()Lcom/google/firebase/installations/remote/InstallationResponse;
.end method
.method public abstract setAuthToken(Lcom/google/firebase/installations/remote/TokenResult;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.end method
.method public abstract setFid(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.end method
.method public abstract setRefreshToken(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.end method
.method public abstract setResponseCode(Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.end method
.method public abstract setUri(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.end method

View File

@@ -0,0 +1,117 @@
.class public final enum Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/InstallationResponse;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "ResponseCode"
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.field public static final enum BAD_CONFIG:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.field public static final enum OK:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
# direct methods
.method private static synthetic $values()[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.locals 2
sget-object v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->OK:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
sget-object v1, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
filled-new-array {v0, v1}, [Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 27
new-instance v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
const-string v1, "OK"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->OK:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.line 30
new-instance v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
const-string v1, "BAD_CONFIG"
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.line 25
invoke-static {}, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->$values()[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->$VALUES:[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 25
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.locals 1
const-class v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.line 25
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-object p0
.end method
.method public static values()[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.locals 1
sget-object v0, Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->$VALUES:[Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.line 25
invoke-virtual {v0}, [Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
return-object v0
.end method

View File

@@ -0,0 +1,51 @@
.class public abstract Lcom/google/firebase/installations/remote/InstallationResponse;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/remote/InstallationResponse$Builder;,
Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static builder()Lcom/google/firebase/installations/remote/InstallationResponse$Builder;
.locals 1
.line 54
new-instance v0, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;
invoke-direct {v0}, Lcom/google/firebase/installations/remote/AutoValue_InstallationResponse$Builder;-><init>()V
return-object v0
.end method
# virtual methods
.method public abstract getAuthToken()Lcom/google/firebase/installations/remote/TokenResult;
.end method
.method public abstract getFid()Ljava/lang/String;
.end method
.method public abstract getRefreshToken()Ljava/lang/String;
.end method
.method public abstract getResponseCode()Lcom/google/firebase/installations/remote/InstallationResponse$ResponseCode;
.end method
.method public abstract getUri()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,348 @@
.class public Lcom/google/firebase/installations/remote/RequestLimiter;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final MAXIMUM_BACKOFF_DURATION_FOR_CONFIGURATION_ERRORS:J
.field public static final MAXIMUM_BACKOFF_DURATION_FOR_SERVER_ERRORS:J
# instance fields
.field public attemptCount:I
.field public nextRequestTime:J
.field public final utils:Lcom/google/firebase/installations/Utils;
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 28
sget-object v0, Ljava/util/concurrent/TimeUnit;->HOURS:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0x18
.line 29
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide v0
sput-wide v0, Lcom/google/firebase/installations/remote/RequestLimiter;->MAXIMUM_BACKOFF_DURATION_FOR_CONFIGURATION_ERRORS:J
.line 30
sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0x1e
.line 31
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide v0
sput-wide v0, Lcom/google/firebase/installations/remote/RequestLimiter;->MAXIMUM_BACKOFF_DURATION_FOR_SERVER_ERRORS:J
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 45
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 47
invoke-static {}, Lcom/google/firebase/installations/Utils;->getInstance()Lcom/google/firebase/installations/Utils;
move-result-object v0
iput-object v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->utils:Lcom/google/firebase/installations/Utils;
return-void
.end method
.method public static isRetryableError(I)Z
.locals 1
const/16 v0, 0x1ad
if-eq p0, v0, :cond_1
const/16 v0, 0x1f4
if-lt p0, v0, :cond_0
const/16 v0, 0x258
if-ge p0, v0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p0, 0x1
:goto_1
return p0
.end method
.method public static isSuccessfulOrRequiresNewFidCreation(I)Z
.locals 1
const/16 v0, 0xc8
if-lt p0, v0, :cond_0
const/16 v0, 0x12c
if-lt p0, v0, :cond_2
:cond_0
const/16 v0, 0x191
if-eq p0, v0, :cond_2
const/16 v0, 0x194
if-ne p0, v0, :cond_1
goto :goto_0
:cond_1
const/4 p0, 0x0
goto :goto_1
:cond_2
:goto_0
const/4 p0, 0x1
:goto_1
return p0
.end method
# virtual methods
.method public final declared-synchronized getBackoffDuration(I)J
.locals 4
monitor-enter p0
.line 68
:try_start_0
invoke-static {p1}, Lcom/google/firebase/installations/remote/RequestLimiter;->isRetryableError(I)Z
move-result p1
if-nez p1, :cond_0
sget-wide v0, Lcom/google/firebase/installations/remote/RequestLimiter;->MAXIMUM_BACKOFF_DURATION_FOR_CONFIGURATION_ERRORS:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 69
monitor-exit p0
return-wide v0
:catchall_0
move-exception p1
goto :goto_0
:cond_0
:try_start_1
iget p1, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->attemptCount:I
int-to-double v0, p1
const-wide/high16 v2, 0x4000000000000000L # 2.0
.line 75
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->pow(DD)D
move-result-wide v0
iget-object p1, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->utils:Lcom/google/firebase/installations/Utils;
invoke-virtual {p1}, Lcom/google/firebase/installations/Utils;->getRandomDelayForSyncPrevention()J
move-result-wide v2
long-to-double v2, v2
add-double/2addr v0, v2
sget-wide v2, Lcom/google/firebase/installations/remote/RequestLimiter;->MAXIMUM_BACKOFF_DURATION_FOR_SERVER_ERRORS:J
long-to-double v2, v2
.line 74
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(DD)D
move-result-wide v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
double-to-long v0, v0
.line 73
monitor-exit p0
return-wide v0
:goto_0
monitor-exit p0
throw p1
.end method
.method public declared-synchronized isRequestAllowed()Z
.locals 4
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->attemptCount:I
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->utils:Lcom/google/firebase/installations/Utils;
.line 99
invoke-virtual {v0}, Lcom/google/firebase/installations/Utils;->currentTimeInMillis()J
move-result-wide v0
iget-wide v2, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->nextRequestTime:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
cmp-long v0, v0, v2
if-lez v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:catchall_0
move-exception v0
goto :goto_2
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
monitor-exit p0
return v0
:goto_2
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized resetBackoffStrategy()V
.locals 1
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->attemptCount:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 64
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized setNextRequestTime(I)V
.locals 4
monitor-enter p0
.line 53
:try_start_0
invoke-static {p1}, Lcom/google/firebase/installations/remote/RequestLimiter;->isSuccessfulOrRequiresNewFidCreation(I)Z
move-result v0
if-eqz v0, :cond_0
.line 54
invoke-virtual {p0}, Lcom/google/firebase/installations/remote/RequestLimiter;->resetBackoffStrategy()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 55
monitor-exit p0
return-void
:catchall_0
move-exception p1
goto :goto_0
:cond_0
:try_start_1
iget v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->attemptCount:I
add-int/lit8 v0, v0, 0x1
iput v0, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->attemptCount:I
.line 58
invoke-virtual {p0, p1}, Lcom/google/firebase/installations/remote/RequestLimiter;->getBackoffDuration(I)J
move-result-wide v0
iget-object p1, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->utils:Lcom/google/firebase/installations/Utils;
.line 59
invoke-virtual {p1}, Lcom/google/firebase/installations/Utils;->currentTimeInMillis()J
move-result-wide v2
add-long/2addr v2, v0
iput-wide v2, p0, Lcom/google/firebase/installations/remote/RequestLimiter;->nextRequestTime:J
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 60
monitor-exit p0
return-void
:goto_0
monitor-exit p0
throw p1
.end method

View File

@@ -0,0 +1,39 @@
.class public abstract Lcom/google/firebase/installations/remote/TokenResult$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/TokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Builder"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 60
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract build()Lcom/google/firebase/installations/remote/TokenResult;
.end method
.method public abstract setResponseCode(Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.end method
.method public abstract setToken(Ljava/lang/String;)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.end method
.method public abstract setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/remote/TokenResult$Builder;
.end method

View File

@@ -0,0 +1,132 @@
.class public final enum Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/installations/remote/TokenResult;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "ResponseCode"
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.field public static final enum AUTH_ERROR:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.field public static final enum BAD_CONFIG:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.field public static final enum OK:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
# direct methods
.method private static synthetic $values()[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.locals 3
sget-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->OK:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
sget-object v1, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
sget-object v2, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->AUTH_ERROR:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
filled-new-array {v0, v1, v2}, [Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 31
new-instance v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
const-string v1, "OK"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->OK:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.line 34
new-instance v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
const-string v1, "BAD_CONFIG"
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->BAD_CONFIG:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.line 37
new-instance v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
const-string v1, "AUTH_ERROR"
const/4 v2, 0x2
invoke-direct {v0, v1, v2}, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->AUTH_ERROR:Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.line 29
invoke-static {}, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->$values()[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
move-result-object v0
sput-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->$VALUES:[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 29
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.locals 1
const-class v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.line 29
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-object p0
.end method
.method public static values()[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.locals 1
sget-object v0, Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->$VALUES:[Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.line 29
invoke-virtual {v0}, [Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
return-object v0
.end method

View File

@@ -0,0 +1,51 @@
.class public abstract Lcom/google/firebase/installations/remote/TokenResult;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/installations/remote/TokenResult$Builder;,
Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static builder()Lcom/google/firebase/installations/remote/TokenResult$Builder;
.locals 3
.line 56
new-instance v0, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;
invoke-direct {v0}, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;-><init>()V
const-wide/16 v1, 0x0
invoke-virtual {v0, v1, v2}, Lcom/google/firebase/installations/remote/AutoValue_TokenResult$Builder;->setTokenExpirationTimestamp(J)Lcom/google/firebase/installations/remote/TokenResult$Builder;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public abstract getResponseCode()Lcom/google/firebase/installations/remote/TokenResult$ResponseCode;
.end method
.method public abstract getToken()Ljava/lang/String;
.end method
.method public abstract getTokenExpirationTimestamp()J
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lcom/google/firebase/installations/time/Clock;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract currentTimeMillis()J
.end method

View File

@@ -0,0 +1,54 @@
.class public Lcom/google/firebase/installations/time/SystemClock;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/firebase/installations/time/Clock;
# static fields
.field public static singleton:Lcom/google/firebase/installations/time/SystemClock;
# direct methods
.method public constructor <init>()V
.locals 0
.line 30
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getInstance()Lcom/google/firebase/installations/time/SystemClock;
.locals 1
sget-object v0, Lcom/google/firebase/installations/time/SystemClock;->singleton:Lcom/google/firebase/installations/time/SystemClock;
if-nez v0, :cond_0
.line 35
new-instance v0, Lcom/google/firebase/installations/time/SystemClock;
invoke-direct {v0}, Lcom/google/firebase/installations/time/SystemClock;-><init>()V
sput-object v0, Lcom/google/firebase/installations/time/SystemClock;->singleton:Lcom/google/firebase/installations/time/SystemClock;
:cond_0
sget-object v0, Lcom/google/firebase/installations/time/SystemClock;->singleton:Lcom/google/firebase/installations/time/SystemClock;
return-object v0
.end method
# virtual methods
.method public currentTimeMillis()J
.locals 2
.line 44
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
return-wide v0
.end method