tmap/smali/androidx/car/app/IAppManager$Stub.smali
2022-06-10 21:38:30 +09:00

258 lines
6.0 KiB
Smali

.class public abstract Landroidx/car/app/IAppManager$Stub;
.super Landroid/os/Binder;
.source "IAppManager.java"
# interfaces
.implements Landroidx/car/app/IAppManager;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/car/app/IAppManager;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Stub"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/car/app/IAppManager$Stub$Proxy;
}
.end annotation
# static fields
.field private static final DESCRIPTOR:Ljava/lang/String; = "androidx.car.app.IAppManager"
.field public static final TRANSACTION_getTemplate:I = 0x2
.field public static final TRANSACTION_onBackPressed:I = 0x3
.field public static final TRANSACTION_startLocationUpdates:I = 0x4
.field public static final TRANSACTION_stopLocationUpdates:I = 0x5
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
const-string v0, "androidx.car.app.IAppManager"
.line 2
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
return-void
.end method
.method public static asInterface(Landroid/os/IBinder;)Landroidx/car/app/IAppManager;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const-string v0, "androidx.car.app.IAppManager"
.line 1
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
if-eqz v0, :cond_1
.line 2
instance-of v1, v0, Landroidx/car/app/IAppManager;
if-eqz v1, :cond_1
.line 3
check-cast v0, Landroidx/car/app/IAppManager;
return-object v0
.line 4
:cond_1
new-instance v0, Landroidx/car/app/IAppManager$Stub$Proxy;
invoke-direct {v0, p0}, Landroidx/car/app/IAppManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
.method public static getDefaultImpl()Landroidx/car/app/IAppManager;
.locals 1
.line 1
sget-object v0, Landroidx/car/app/IAppManager$Stub$Proxy;->sDefaultImpl:Landroidx/car/app/IAppManager;
return-object v0
.end method
.method public static setDefaultImpl(Landroidx/car/app/IAppManager;)Z
.locals 1
.line 1
sget-object v0, Landroidx/car/app/IAppManager$Stub$Proxy;->sDefaultImpl:Landroidx/car/app/IAppManager;
if-nez v0, :cond_1
if-eqz p0, :cond_0
.line 2
sput-object p0, Landroidx/car/app/IAppManager$Stub$Proxy;->sDefaultImpl:Landroidx/car/app/IAppManager;
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.line 3
:cond_1
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "setDefaultImpl() called twice"
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 0
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
const/4 v0, 0x2
const/4 v1, 0x1
const-string v2, "androidx.car.app.IAppManager"
if-eq p1, v0, :cond_4
const/4 v0, 0x3
if-eq p1, v0, :cond_3
const/4 v0, 0x4
if-eq p1, v0, :cond_2
const/4 v0, 0x5
if-eq p1, v0, :cond_1
const v0, 0x5f4e5446
if-eq p1, v0, :cond_0
.line 1
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result p1
return p1
.line 2
:cond_0
invoke-virtual {p3, v2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return v1
.line 3
:cond_1
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
.line 4
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroidx/car/app/IOnDoneCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroidx/car/app/IOnDoneCallback;
move-result-object p1
.line 5
invoke-interface {p0, p1}, Landroidx/car/app/IAppManager;->stopLocationUpdates(Landroidx/car/app/IOnDoneCallback;)V
return v1
.line 6
:cond_2
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
.line 7
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroidx/car/app/IOnDoneCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroidx/car/app/IOnDoneCallback;
move-result-object p1
.line 8
invoke-interface {p0, p1}, Landroidx/car/app/IAppManager;->startLocationUpdates(Landroidx/car/app/IOnDoneCallback;)V
return v1
.line 9
:cond_3
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
.line 10
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroidx/car/app/IOnDoneCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroidx/car/app/IOnDoneCallback;
move-result-object p1
.line 11
invoke-interface {p0, p1}, Landroidx/car/app/IAppManager;->onBackPressed(Landroidx/car/app/IOnDoneCallback;)V
return v1
.line 12
:cond_4
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
.line 13
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroidx/car/app/IOnDoneCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroidx/car/app/IOnDoneCallback;
move-result-object p1
.line 14
invoke-interface {p0, p1}, Landroidx/car/app/IAppManager;->getTemplate(Landroidx/car/app/IOnDoneCallback;)V
return v1
.end method