INotificationSideChannel.java
6.51 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
package android.support.v4.app;
import android.app.Notification;
import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import android.os.RemoteException;
public abstract interface INotificationSideChannel
extends IInterface
{
public abstract void cancel(String paramString1, int paramInt, String paramString2)
throws RemoteException;
public abstract void cancelAll(String paramString)
throws RemoteException;
public abstract void notify(String paramString1, int paramInt, String paramString2, Notification paramNotification)
throws RemoteException;
public static abstract class Stub
extends Binder
implements INotificationSideChannel
{
public Stub()
{
attachInterface(this, "android.support.v4.app.INotificationSideChannel");
}
public static INotificationSideChannel asInterface(IBinder paramIBinder)
{
if (paramIBinder == null) {
return null;
}
IInterface localIInterface = paramIBinder.queryLocalInterface("android.support.v4.app.INotificationSideChannel");
if ((localIInterface != null) && ((localIInterface instanceof INotificationSideChannel))) {
return (INotificationSideChannel)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.app.INotificationSideChannel");
return true;
case 1:
paramParcel1.enforceInterface("android.support.v4.app.INotificationSideChannel");
paramParcel2 = paramParcel1.readString();
paramInt1 = paramParcel1.readInt();
String str = paramParcel1.readString();
if (paramParcel1.readInt() != 0) {}
for (paramParcel1 = (Notification)Notification.CREATOR.createFromParcel(paramParcel1);; paramParcel1 = null)
{
notify(paramParcel2, paramInt1, str, paramParcel1);
return true;
}
case 2:
paramParcel1.enforceInterface("android.support.v4.app.INotificationSideChannel");
cancel(paramParcel1.readString(), paramParcel1.readInt(), paramParcel1.readString());
return true;
}
paramParcel1.enforceInterface("android.support.v4.app.INotificationSideChannel");
cancelAll(paramParcel1.readString());
return true;
}
static final class a
implements INotificationSideChannel
{
private IBinder a;
a(IBinder paramIBinder)
{
this.a = paramIBinder;
}
public final IBinder asBinder()
{
return this.a;
}
public final void cancel(String paramString1, int paramInt, String paramString2)
throws RemoteException
{
Parcel localParcel = Parcel.obtain();
try
{
localParcel.writeInterfaceToken("android.support.v4.app.INotificationSideChannel");
localParcel.writeString(paramString1);
localParcel.writeInt(paramInt);
localParcel.writeString(paramString2);
this.a.transact(2, localParcel, null, 1);
return;
}
finally
{
localParcel.recycle();
}
}
public final void cancelAll(String paramString)
throws RemoteException
{
Parcel localParcel = Parcel.obtain();
try
{
localParcel.writeInterfaceToken("android.support.v4.app.INotificationSideChannel");
localParcel.writeString(paramString);
this.a.transact(3, localParcel, null, 1);
return;
}
finally
{
localParcel.recycle();
}
}
/* Error */
public final void notify(String paramString1, int paramInt, String paramString2, Notification paramNotification)
throws RemoteException
{
// Byte code:
// 0: invokestatic 31 android/os/Parcel:obtain ()Landroid/os/Parcel;
// 3: astore 5
// 5: aload 5
// 7: ldc 33
// 9: invokevirtual 37 android/os/Parcel:writeInterfaceToken (Ljava/lang/String;)V
// 12: aload 5
// 14: aload_1
// 15: invokevirtual 40 android/os/Parcel:writeString (Ljava/lang/String;)V
// 18: aload 5
// 20: iload_2
// 21: invokevirtual 44 android/os/Parcel:writeInt (I)V
// 24: aload 5
// 26: aload_3
// 27: invokevirtual 40 android/os/Parcel:writeString (Ljava/lang/String;)V
// 30: aload 4
// 32: ifnull +38 -> 70
// 35: aload 5
// 37: iconst_1
// 38: invokevirtual 44 android/os/Parcel:writeInt (I)V
// 41: aload 4
// 43: aload 5
// 45: iconst_0
// 46: invokevirtual 63 android/app/Notification:writeToParcel (Landroid/os/Parcel;I)V
// 49: aload_0
// 50: getfield 18 android/support/v4/app/INotificationSideChannel$Stub$a:a Landroid/os/IBinder;
// 53: iconst_1
// 54: aload 5
// 56: aconst_null
// 57: iconst_1
// 58: invokeinterface 50 5 0
// 63: pop
// 64: aload 5
// 66: invokevirtual 53 android/os/Parcel:recycle ()V
// 69: return
// 70: aload 5
// 72: iconst_0
// 73: invokevirtual 44 android/os/Parcel:writeInt (I)V
// 76: goto -27 -> 49
// 79: astore_1
// 80: aload 5
// 82: invokevirtual 53 android/os/Parcel:recycle ()V
// 85: aload_1
// 86: athrow
// Local variable table:
// start length slot name signature
// 0 87 0 this a
// 0 87 1 paramString1 String
// 0 87 2 paramInt int
// 0 87 3 paramString2 String
// 0 87 4 paramNotification Notification
// 3 78 5 localParcel Parcel
// Exception table:
// from to target type
// 5 30 79 finally
// 35 49 79 finally
// 49 64 79 finally
// 70 76 79 finally
}
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/app/INotificationSideChannel.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/