168 lines
4 KiB
Smali
168 lines
4 KiB
Smali
.class public abstract Landroid/support/v4/os/IResultReceiver$Stub;
|
|
.super Landroid/os/Binder;
|
|
.source "IResultReceiver.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/support/v4/os/IResultReceiver;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v4/os/IResultReceiver;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Stub"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final DESCRIPTOR:Ljava/lang/String; = "android.support.v4.os.IResultReceiver"
|
|
|
|
.field static final TRANSACTION_send:I = 0x1
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.prologue
|
|
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
|
|
|
|
const-string v0, "android.support.v4.os.IResultReceiver"
|
|
|
|
invoke-virtual {p0, p0, v0}, Landroid/support/v4/os/IResultReceiver$Stub;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static asInterface(Landroid/os/IBinder;)Landroid/support/v4/os/IResultReceiver;
|
|
.locals 2
|
|
.param p0, "obj" # Landroid/os/IBinder;
|
|
|
|
.prologue
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v1, "android.support.v4.os.IResultReceiver"
|
|
|
|
invoke-interface {p0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
|
|
|
|
move-result-object v0
|
|
|
|
.local v0, "iin":Landroid/os/IInterface;
|
|
if-eqz v0, :cond_1
|
|
|
|
instance-of v1, v0, Landroid/support/v4/os/IResultReceiver;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
check-cast v0, Landroid/support/v4/os/IResultReceiver;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
|
|
|
|
.end local v0 # "iin":Landroid/os/IInterface;
|
|
invoke-direct {v0, p0}, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
|
|
|
|
goto :goto_0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public asBinder()Landroid/os/IBinder;
|
|
.locals 0
|
|
|
|
.prologue
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
.locals 4
|
|
.param p1, "code" # I
|
|
.param p2, "data" # Landroid/os/Parcel;
|
|
.param p3, "reply" # Landroid/os/Parcel;
|
|
.param p4, "flags" # I
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
const/4 v2, 0x1
|
|
|
|
sparse-switch p1, :sswitch_data_0
|
|
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
|
|
move-result v2
|
|
|
|
:goto_0
|
|
return v2
|
|
|
|
:sswitch_0
|
|
const-string v3, "android.support.v4.os.IResultReceiver"
|
|
|
|
invoke-virtual {p3, v3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:sswitch_1
|
|
const-string v3, "android.support.v4.os.IResultReceiver"
|
|
|
|
invoke-virtual {p2, v3}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
.local v0, "_arg0":I
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
sget-object v3, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {v3, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/os/Bundle;
|
|
|
|
.local v1, "_arg1":Landroid/os/Bundle;
|
|
:goto_1
|
|
invoke-virtual {p0, v0, v1}, Landroid/support/v4/os/IResultReceiver$Stub;->send(ILandroid/os/Bundle;)V
|
|
|
|
goto :goto_0
|
|
|
|
.end local v1 # "_arg1":Landroid/os/Bundle;
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.restart local v1 # "_arg1":Landroid/os/Bundle;
|
|
goto :goto_1
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
0x1 -> :sswitch_1
|
|
0x5f4e5446 -> :sswitch_0
|
|
.end sparse-switch
|
|
.end method
|