Rabbit-R1/original r1/smali/smali_classes2/androidx/profileinstaller/ProfileInstaller$2.smali
2024-05-21 17:08:36 -04:00

198 lines
3.4 KiB
Smali

.class Landroidx/profileinstaller/ProfileInstaller$2;
.super Ljava/lang/Object;
.source "ProfileInstaller.java"
# interfaces
.implements Landroidx/profileinstaller/ProfileInstaller$DiagnosticsCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/profileinstaller/ProfileInstaller;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# static fields
.field static final TAG:Ljava/lang/String; = "ProfileInstaller"
# direct methods
.method constructor <init>()V
.locals 0
.line 122
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onDiagnosticReceived(ILjava/lang/Object;)V
.locals 0
const/4 p0, 0x1
if-eq p1, p0, :cond_4
const/4 p0, 0x2
if-eq p1, p0, :cond_3
const/4 p0, 0x3
if-eq p1, p0, :cond_2
const/4 p0, 0x4
if-eq p1, p0, :cond_1
const/4 p0, 0x5
if-eq p1, p0, :cond_0
const-string p0, ""
goto :goto_0
:cond_0
const-string p0, "DIAGNOSTIC_PROFILE_IS_COMPRESSED"
goto :goto_0
:cond_1
const-string p0, "DIAGNOSTIC_REF_PROFILE_DOES_NOT_EXIST"
goto :goto_0
:cond_2
const-string p0, "DIAGNOSTIC_REF_PROFILE_EXISTS"
goto :goto_0
:cond_3
const-string p0, "DIAGNOSTIC_CURRENT_PROFILE_DOES_NOT_EXIST"
goto :goto_0
:cond_4
const-string p0, "DIAGNOSTIC_CURRENT_PROFILE_EXISTS"
:goto_0
const-string p1, "ProfileInstaller"
.line 144
invoke-static {p1, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public onResultReceived(ILjava/lang/Object;)V
.locals 2
packed-switch p1, :pswitch_data_0
:pswitch_0
const-string p0, ""
goto :goto_0
:pswitch_1
const-string p0, "RESULT_DELETE_SKIP_FILE_SUCCESS"
goto :goto_0
:pswitch_2
const-string p0, "RESULT_INSTALL_SKIP_FILE_SUCCESS"
goto :goto_0
:pswitch_3
const-string p0, "RESULT_PARSE_EXCEPTION"
goto :goto_0
:pswitch_4
const-string p0, "RESULT_IO_EXCEPTION"
goto :goto_0
:pswitch_5
const-string p0, "RESULT_BASELINE_PROFILE_NOT_FOUND"
goto :goto_0
:pswitch_6
const-string p0, "RESULT_DESIRED_FORMAT_UNSUPPORTED"
goto :goto_0
:pswitch_7
const-string p0, "RESULT_NOT_WRITABLE"
goto :goto_0
:pswitch_8
const-string p0, "RESULT_UNSUPPORTED_ART_VERSION"
goto :goto_0
:pswitch_9
const-string p0, "RESULT_ALREADY_INSTALLED"
goto :goto_0
:pswitch_a
const-string p0, "RESULT_INSTALL_SUCCESS"
:goto_0
const/4 v0, 0x6
const-string v1, "ProfileInstaller"
if-eq p1, v0, :cond_0
const/4 v0, 0x7
if-eq p1, v0, :cond_0
const/16 v0, 0x8
if-eq p1, v0, :cond_0
.line 180
invoke-static {v1, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_1
.line 177
:cond_0
check-cast p2, Ljava/lang/Throwable;
invoke-static {v1, p0, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_1
return-void
nop
:pswitch_data_0
.packed-switch 0x1
:pswitch_a
:pswitch_9
:pswitch_8
:pswitch_7
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_0
:pswitch_2
:pswitch_1
.end packed-switch
.end method