tmap/smali/androidx/car/app/model/OnSelectedDelegateImpl.smali
2022-06-10 21:38:30 +09:00

130 lines
3.6 KiB
Smali

.class public Landroidx/car/app/model/OnSelectedDelegateImpl;
.super Ljava/lang/Object;
.source "OnSelectedDelegateImpl.java"
# interfaces
.implements Landroidx/car/app/model/n;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/car/app/model/OnSelectedDelegateImpl$OnSelectedListenerStub;
}
.end annotation
# instance fields
.field private final mStub:Landroidx/car/app/model/IOnSelectedListener;
.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 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
.line 4
iput-object v0, p0, Landroidx/car/app/model/OnSelectedDelegateImpl;->mStub:Landroidx/car/app/model/IOnSelectedListener;
return-void
.end method
.method public constructor <init>(Landroidx/car/app/model/ItemList$c;)V
.locals 1
.param p1 # Landroidx/car/app/model/ItemList$c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Landroidx/car/app/model/OnSelectedDelegateImpl$OnSelectedListenerStub;
invoke-direct {v0, p1}, Landroidx/car/app/model/OnSelectedDelegateImpl$OnSelectedListenerStub;-><init>(Landroidx/car/app/model/ItemList$c;)V
iput-object v0, p0, Landroidx/car/app/model/OnSelectedDelegateImpl;->mStub:Landroidx/car/app/model/IOnSelectedListener;
return-void
.end method
.method public static b(Landroidx/car/app/model/ItemList$c;)Landroidx/car/app/model/n;
.locals 1
.param p0 # Landroidx/car/app/model/ItemList$c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"ExecutorRegistration"
}
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroidx/car/app/model/OnSelectedDelegateImpl;
invoke-direct {v0, p0}, Landroidx/car/app/model/OnSelectedDelegateImpl;-><init>(Landroidx/car/app/model/ItemList$c;)V
return-object v0
.end method
# virtual methods
.method public a(ILandroidx/car/app/o0;)V
.locals 1
.param p2 # Landroidx/car/app/o0;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
:try_start_0
iget-object v0, p0, Landroidx/car/app/model/OnSelectedDelegateImpl;->mStub:Landroidx/car/app/model/IOnSelectedListener;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Landroidx/car/app/model/IOnSelectedListener;
.line 2
invoke-static {p2}, Landroidx/car/app/utils/RemoteUtils;->f(Landroidx/car/app/o0;)Landroidx/car/app/IOnDoneCallback;
move-result-object p2
.line 3
invoke-interface {v0, p1, p2}, Landroidx/car/app/model/IOnSelectedListener;->onSelected(ILandroidx/car/app/IOnDoneCallback;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception p1
.line 4
new-instance p2, Ljava/lang/RuntimeException;
invoke-direct {p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw p2
.end method