YD_AllInOneApp/decompiled/smali_classes2/com/inuker/bluetooth/library/IBluetoothService$Stub$Proxy.smali

192 lines
4.6 KiB
Smali
Raw Normal View History

2026-07-06 19:54:44 +08:00
.class Lcom/inuker/bluetooth/library/IBluetoothService$Stub$Proxy;
.super Ljava/lang/Object;
.source "IBluetoothService.java"
# interfaces
.implements Lcom/inuker/bluetooth/library/IBluetoothService;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/inuker/bluetooth/library/IBluetoothService$Stub;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "Proxy"
.end annotation
# static fields
.field public static sDefaultImpl:Lcom/inuker/bluetooth/library/IBluetoothService;
# instance fields
.field private mRemote:Landroid/os/IBinder;
# direct methods
.method constructor <init>(Landroid/os/IBinder;)V
.locals 0
.line 91
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 92
iput-object p1, p0, Lcom/inuker/bluetooth/library/IBluetoothService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
.line 96
iget-object v0, p0, Lcom/inuker/bluetooth/library/IBluetoothService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-object v0
.end method
.method public callBluetoothApi(ILandroid/os/Bundle;Lcom/inuker/bluetooth/library/IResponse;)V
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 104
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 105
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_0
const-string v2, "com.inuker.bluetooth.library.IBluetoothService"
.line 107
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
.line 108
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz p2, :cond_0
.line 110
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
.line 111
invoke-virtual {p2, v0, v3}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_0
.line 114
:cond_0
invoke-virtual {v0, v3}, Landroid/os/Parcel;->writeInt(I)V
:goto_0
if-eqz p3, :cond_1
.line 116
invoke-interface {p3}, Lcom/inuker/bluetooth/library/IResponse;->asBinder()Landroid/os/IBinder;
move-result-object v4
goto :goto_1
:cond_1
const/4 v4, 0x0
:goto_1
invoke-virtual {v0, v4}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
.line 117
iget-object v4, p0, Lcom/inuker/bluetooth/library/IBluetoothService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
invoke-interface {v4, v2, v0, v1, v3}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result v2
if-nez v2, :cond_2
.line 118
invoke-static {}, Lcom/inuker/bluetooth/library/IBluetoothService$Stub;->getDefaultImpl()Lcom/inuker/bluetooth/library/IBluetoothService;
move-result-object v2
if-eqz v2, :cond_2
.line 119
invoke-static {}, Lcom/inuker/bluetooth/library/IBluetoothService$Stub;->getDefaultImpl()Lcom/inuker/bluetooth/library/IBluetoothService;
move-result-object v2
invoke-interface {v2, p1, p2, p3}, Lcom/inuker/bluetooth/library/IBluetoothService;->callBluetoothApi(ILandroid/os/Bundle;Lcom/inuker/bluetooth/library/IResponse;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 128
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 129
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
.line 122
:cond_2
:try_start_1
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
.line 123
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
move-result p1
if-eqz p1, :cond_3
.line 124
invoke-virtual {p2, v1}, Landroid/os/Bundle;->readFromParcel(Landroid/os/Parcel;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 128
:cond_3
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 129
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
:catchall_0
move-exception p1
.line 128
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 129
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 130
throw p1
.end method
.method public getInterfaceDescriptor()Ljava/lang/String;
.locals 1
const-string v0, "com.inuker.bluetooth.library.IBluetoothService"
return-object v0
.end method