272 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			272 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Landroidx/car/app/FailureResponse;
 | |
| .super Ljava/lang/Object;
 | |
| .source "FailureResponse.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/car/app/FailureResponse$ErrorType;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final a:I = 0x0
 | |
| 
 | |
| .field public static final b:I = 0x1
 | |
| 
 | |
| .field public static final c:I = 0x2
 | |
| 
 | |
| .field public static final d:I = 0x3
 | |
| 
 | |
| .field public static final e:I = 0x4
 | |
| 
 | |
| .field public static final f:I = 0x5
 | |
| 
 | |
| .field public static final g:I = 0x6
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private final mErrorType:I
 | |
|     .annotation build Landroidx/annotation/Keep;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field private final mStackTrace:Ljava/lang/String;
 | |
|     .annotation build Landroidx/annotation/Keep;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 16
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 17
 | |
|     iput-object v0, p0, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     .line 18
 | |
|     iput v0, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Ljava/lang/Throwable;)V
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/Throwable;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-object v0, p1
 | |
| 
 | |
|     check-cast v0, Ljava/lang/Throwable;
 | |
| 
 | |
|     invoke-static {p1}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     .line 3
 | |
|     instance-of v0, p1, Landroidx/car/app/serialization/BundlerException;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     instance-of v0, p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     const/4 p1, 0x2
 | |
| 
 | |
|     .line 6
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_1
 | |
|     instance-of v0, p1, Ljava/security/InvalidParameterException;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     const/4 p1, 0x3
 | |
| 
 | |
|     .line 8
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 9
 | |
|     :cond_2
 | |
|     instance-of v0, p1, Ljava/lang/SecurityException;
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     const/4 p1, 0x4
 | |
| 
 | |
|     .line 10
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 11
 | |
|     :cond_3
 | |
|     instance-of v0, p1, Ljava/lang/RuntimeException;
 | |
| 
 | |
|     if-eqz v0, :cond_4
 | |
| 
 | |
|     const/4 p1, 0x5
 | |
| 
 | |
|     .line 12
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 13
 | |
|     :cond_4
 | |
|     instance-of p1, p1, Landroid/os/RemoteException;
 | |
| 
 | |
|     if-eqz p1, :cond_5
 | |
| 
 | |
|     const/4 p1, 0x6
 | |
| 
 | |
|     .line 14
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 15
 | |
|     iput p1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public b()Ljava/lang/String;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public equals(Ljava/lang/Object;)Z
 | |
|     .locals 3
 | |
|     .param p1    # Ljava/lang/Object;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p1, Landroidx/car/app/FailureResponse;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     check-cast p1, Landroidx/car/app/FailureResponse;
 | |
| 
 | |
|     .line 3
 | |
|     iget v0, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     iget v2, p1, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     if-ne v0, v2, :cond_1
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     iget-object p1, p1, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     invoke-static {v0, p1}, Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     :cond_1
 | |
|     return v1
 | |
| .end method
 | |
| 
 | |
| .method public hashCode()I
 | |
|     .locals 3
 | |
| 
 | |
|     const/4 v0, 0x2
 | |
| 
 | |
|     new-array v0, v0, [Ljava/lang/Object;
 | |
| 
 | |
|     .line 1
 | |
|     iget v1, p0, Landroidx/car/app/FailureResponse;->mErrorType:I
 | |
| 
 | |
|     invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     aput-object v1, v0, v2
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/car/app/FailureResponse;->mStackTrace:Ljava/lang/String;
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     aput-object v1, v0, v2
 | |
| 
 | |
|     invoke-static {v0}, Ljava/util/Objects;->hash([Ljava/lang/Object;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 |