587 lines
15 KiB
Smali
587 lines
15 KiB
Smali
.class public final Landroidx/credentials/GetCredentialRequest;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/credentials/GetCredentialRequest$Builder;,
|
|
Landroidx/credentials/GetCredentialRequest$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nGetCredentialRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GetCredentialRequest.kt\nandroidx/credentials/GetCredentialRequest\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,276:1\n1#2:277\n1774#3,4:278\n*S KotlinDebug\n*F\n+ 1 GetCredentialRequest.kt\nandroidx/credentials/GetCredentialRequest\n*L\n81#1:278,4\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final BUNDLE_KEY_PREFER_IDENTITY_DOC_UI:Ljava/lang/String; = "androidx.credentials.BUNDLE_KEY_PREFER_IDENTITY_DOC_UI"
|
|
|
|
.field public static final BUNDLE_KEY_PREFER_IMMEDIATELY_AVAILABLE_CREDENTIALS:Ljava/lang/String; = "androidx.credentials.BUNDLE_KEY_PREFER_IMMEDIATELY_AVAILABLE_CREDENTIALS"
|
|
|
|
.field private static final BUNDLE_KEY_PREFER_UI_BRANDING_COMPONENT_NAME:Ljava/lang/String; = "androidx.credentials.BUNDLE_KEY_PREFER_UI_BRANDING_COMPONENT_NAME"
|
|
|
|
.field public static final Companion:Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
|
|
# instance fields
|
|
.field private final credentialOptions:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final origin:Ljava/lang/String;
|
|
|
|
.field private final preferIdentityDocUi:Z
|
|
|
|
.field private final preferImmediatelyAvailableCredentials:Z
|
|
|
|
.field private final preferUiBrandingComponentName:Landroid/content/ComponentName;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Landroidx/credentials/GetCredentialRequest$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Landroidx/credentials/GetCredentialRequest;->Companion:Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
const-string v0, "credentialOptions"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/16 v7, 0x1e
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
invoke-direct/range {v1 .. v8}, Landroidx/credentials/GetCredentialRequest;-><init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/lang/String;)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
const-string v0, "credentialOptions"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/16 v7, 0x1c
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
invoke-direct/range {v1 .. v8}, Landroidx/credentials/GetCredentialRequest;-><init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/lang/String;Z)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
const-string v0, "credentialOptions"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/16 v7, 0x18
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move v4, p3
|
|
|
|
invoke-direct/range {v1 .. v8}, Landroidx/credentials/GetCredentialRequest;-><init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Z",
|
|
"Landroid/content/ComponentName;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
const-string v0, "credentialOptions"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/16 v7, 0x10
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move-object v5, p4
|
|
|
|
invoke-direct/range {v1 .. v8}, Landroidx/credentials/GetCredentialRequest;-><init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;Z)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Z",
|
|
"Landroid/content/ComponentName;",
|
|
"Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "credentialOptions"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 65
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/credentials/GetCredentialRequest;->credentialOptions:Ljava/util/List;
|
|
|
|
iput-object p2, p0, Landroidx/credentials/GetCredentialRequest;->origin:Ljava/lang/String;
|
|
|
|
iput-boolean p3, p0, Landroidx/credentials/GetCredentialRequest;->preferIdentityDocUi:Z
|
|
|
|
iput-object p4, p0, Landroidx/credentials/GetCredentialRequest;->preferUiBrandingComponentName:Landroid/content/ComponentName;
|
|
|
|
iput-boolean p5, p0, Landroidx/credentials/GetCredentialRequest;->preferImmediatelyAvailableCredentials:Z
|
|
|
|
.line 78
|
|
move-object p2, p1
|
|
|
|
check-cast p2, Ljava/util/Collection;
|
|
|
|
invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result p2
|
|
|
|
const/4 p3, 0x1
|
|
|
|
xor-int/2addr p2, p3
|
|
|
|
if-eqz p2, :cond_7
|
|
|
|
.line 79
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p2
|
|
|
|
if-le p2, p3, :cond_6
|
|
|
|
.line 81
|
|
check-cast p1, Ljava/lang/Iterable;
|
|
|
|
.line 1774
|
|
instance-of p2, p1, Ljava/util/Collection;
|
|
|
|
const/4 p3, 0x0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
move-object p2, p1
|
|
|
|
check-cast p2, Ljava/util/Collection;
|
|
|
|
invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 1776
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroidx/credentials/CredentialOption;
|
|
|
|
.line 81
|
|
instance-of p2, p2, Landroidx/credentials/GetDigitalCredentialOption;
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
add-int/lit8 p3, p3, 0x1
|
|
|
|
if-gez p3, :cond_1
|
|
|
|
.line 1776
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->throwCountOverflow()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
if-lez p3, :cond_4
|
|
|
|
iget-object p1, p0, Landroidx/credentials/GetCredentialRequest;->credentialOptions:Ljava/util/List;
|
|
|
|
.line 84
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result p1
|
|
|
|
if-ne p3, p1, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
.line 86
|
|
:cond_3
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Digital Credential Option cannot be used with other credential option."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_4
|
|
:goto_2
|
|
iget-object p1, p0, Landroidx/credentials/GetCredentialRequest;->credentialOptions:Ljava/util/List;
|
|
|
|
.line 90
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_3
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Landroidx/credentials/CredentialOption;
|
|
|
|
.line 91
|
|
instance-of p2, p2, Landroidx/credentials/GetRestoreCredentialOption;
|
|
|
|
if-nez p2, :cond_5
|
|
|
|
goto :goto_3
|
|
|
|
.line 92
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "Only a single GetRestoreCredentialOption should be provided."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_6
|
|
return-void
|
|
|
|
.line 78
|
|
:cond_7
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "credentialOptions should not be empty"
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 7
|
|
|
|
and-int/lit8 p7, p6, 0x2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
move-object v3, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v3, p2
|
|
|
|
:goto_0
|
|
and-int/lit8 p2, p6, 0x4
|
|
|
|
const/4 p7, 0x0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
move v4, p7
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v4, p3
|
|
|
|
:goto_1
|
|
and-int/lit8 p2, p6, 0x8
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
move-object v5, v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v5, p4
|
|
|
|
:goto_2
|
|
and-int/lit8 p2, p6, 0x10
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
move v6, p7
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v6, p5
|
|
|
|
:goto_3
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
.line 68
|
|
invoke-direct/range {v1 .. v6}, Landroidx/credentials/GetCredentialRequest;-><init>(Ljava/util/List;Ljava/lang/String;ZLandroid/content/ComponentName;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final createFrom(Landroid/credentials/GetCredentialRequest;)Landroidx/credentials/GetCredentialRequest;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x22
|
|
.end annotation
|
|
|
|
.line 0
|
|
sget-object v0, Landroidx/credentials/GetCredentialRequest;->Companion:Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Landroidx/credentials/GetCredentialRequest$Companion;->createFrom(Landroid/credentials/GetCredentialRequest;)Landroidx/credentials/GetCredentialRequest;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final createFrom(Ljava/util/List;Ljava/lang/String;Landroid/os/Bundle;)Landroidx/credentials/GetCredentialRequest;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Landroid/os/Bundle;",
|
|
")",
|
|
"Landroidx/credentials/GetCredentialRequest;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
sget-object v0, Landroidx/credentials/GetCredentialRequest;->Companion:Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
invoke-virtual {v0, p0, p1, p2}, Landroidx/credentials/GetCredentialRequest$Companion;->createFrom(Ljava/util/List;Ljava/lang/String;Landroid/os/Bundle;)Landroidx/credentials/GetCredentialRequest;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final getRequestMetadataBundle(Landroidx/credentials/GetCredentialRequest;)Landroid/os/Bundle;
|
|
.locals 1
|
|
|
|
sget-object v0, Landroidx/credentials/GetCredentialRequest;->Companion:Landroidx/credentials/GetCredentialRequest$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Landroidx/credentials/GetCredentialRequest$Companion;->getRequestMetadataBundle(Landroidx/credentials/GetCredentialRequest;)Landroid/os/Bundle;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getCredentialOptions()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroidx/credentials/CredentialOption;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/credentials/GetCredentialRequest;->credentialOptions:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getOrigin()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/credentials/GetCredentialRequest;->origin:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPreferIdentityDocUi()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/credentials/GetCredentialRequest;->preferIdentityDocUi:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPreferUiBrandingComponentName()Landroid/content/ComponentName;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/credentials/GetCredentialRequest;->preferUiBrandingComponentName:Landroid/content/ComponentName;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final preferImmediatelyAvailableCredentials()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/credentials/GetCredentialRequest;->preferImmediatelyAvailableCredentials:Z
|
|
|
|
return v0
|
|
.end method
|