IResultReceiver.java
4.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
package android.support.v4.os;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import android.os.RemoteException;
public abstract interface IResultReceiver
extends IInterface
{
public abstract void send(int paramInt, Bundle paramBundle)
throws RemoteException;
public static abstract class Stub
extends Binder
implements IResultReceiver
{
public Stub()
{
attachInterface(this, "android.support.v4.os.IResultReceiver");
}
public static IResultReceiver asInterface(IBinder paramIBinder)
{
if (paramIBinder == null) {
return null;
}
IInterface localIInterface = paramIBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
if ((localIInterface != null) && ((localIInterface instanceof IResultReceiver))) {
return (IResultReceiver)localIInterface;
}
return new a(paramIBinder);
}
public IBinder asBinder()
{
return this;
}
public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
throws RemoteException
{
switch (paramInt1)
{
default:
return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
case 1598968902:
paramParcel2.writeString("android.support.v4.os.IResultReceiver");
return true;
}
paramParcel1.enforceInterface("android.support.v4.os.IResultReceiver");
paramInt1 = paramParcel1.readInt();
if (paramParcel1.readInt() != 0) {}
for (paramParcel1 = (Bundle)Bundle.CREATOR.createFromParcel(paramParcel1);; paramParcel1 = null)
{
send(paramInt1, paramParcel1);
return true;
}
}
static final class a
implements IResultReceiver
{
private IBinder a;
a(IBinder paramIBinder)
{
this.a = paramIBinder;
}
public final IBinder asBinder()
{
return this.a;
}
/* Error */
public final void send(int paramInt, Bundle paramBundle)
throws RemoteException
{
// Byte code:
// 0: invokestatic 31 android/os/Parcel:obtain ()Landroid/os/Parcel;
// 3: astore_3
// 4: aload_3
// 5: ldc 33
// 7: invokevirtual 37 android/os/Parcel:writeInterfaceToken (Ljava/lang/String;)V
// 10: aload_3
// 11: iload_1
// 12: invokevirtual 41 android/os/Parcel:writeInt (I)V
// 15: aload_2
// 16: ifnull +33 -> 49
// 19: aload_3
// 20: iconst_1
// 21: invokevirtual 41 android/os/Parcel:writeInt (I)V
// 24: aload_2
// 25: aload_3
// 26: iconst_0
// 27: invokevirtual 47 android/os/Bundle:writeToParcel (Landroid/os/Parcel;I)V
// 30: aload_0
// 31: getfield 18 android/support/v4/os/IResultReceiver$Stub$a:a Landroid/os/IBinder;
// 34: iconst_1
// 35: aload_3
// 36: aconst_null
// 37: iconst_1
// 38: invokeinterface 53 5 0
// 43: pop
// 44: aload_3
// 45: invokevirtual 56 android/os/Parcel:recycle ()V
// 48: return
// 49: aload_3
// 50: iconst_0
// 51: invokevirtual 41 android/os/Parcel:writeInt (I)V
// 54: goto -24 -> 30
// 57: astore_2
// 58: aload_3
// 59: invokevirtual 56 android/os/Parcel:recycle ()V
// 62: aload_2
// 63: athrow
// Local variable table:
// start length slot name signature
// 0 64 0 this a
// 0 64 1 paramInt int
// 0 64 2 paramBundle Bundle
// 3 56 3 localParcel Parcel
// Exception table:
// from to target type
// 4 15 57 finally
// 19 30 57 finally
// 30 44 57 finally
// 49 54 57 finally
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/os/IResultReceiver.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/