1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
package pl.magot.vetch.ancal.reminder; |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
6 |
|
public interface IAlarmService extends android.os.IInterface |
7 |
|
{ |
8 |
|
|
|
|
| 0% |
Uncovered Elements: 27 (27) |
Complexity: 9 |
Complexity Density: 0,47 |
|
9 |
|
public static abstract class Stub extends android.os.Binder implements pl.magot.vetch.ancal.reminder.IAlarmService |
10 |
|
{ |
11 |
|
private static final java.lang.String DESCRIPTOR = "pl.magot.vetch.ancal.reminder.IAlarmService"; |
12 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
13 |
0
|
public Stub()... |
14 |
|
{ |
15 |
0
|
this.attachInterface(this, DESCRIPTOR); |
16 |
|
} |
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 4 |
Complexity Density: 0,67 |
|
21 |
0
|
public static pl.magot.vetch.ancal.reminder.IAlarmService asInterface(android.os.IBinder obj)... |
22 |
|
{ |
23 |
0
|
if ((obj==null)) { |
24 |
0
|
return null; |
25 |
|
} |
26 |
0
|
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); |
27 |
0
|
if (((iin!=null)&&(iin instanceof pl.magot.vetch.ancal.reminder.IAlarmService))) { |
28 |
0
|
return ((pl.magot.vetch.ancal.reminder.IAlarmService)iin); |
29 |
|
} |
30 |
0
|
return new pl.magot.vetch.ancal.reminder.IAlarmService.Stub.Proxy(obj); |
31 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
@Override public android.os.IBinder asBinder()... |
33 |
|
{ |
34 |
0
|
return this; |
35 |
|
} |
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 3 |
Complexity Density: 0,27 |
|
36 |
0
|
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException... |
37 |
|
{ |
38 |
0
|
switch (code) |
39 |
|
{ |
40 |
0
|
case INTERFACE_TRANSACTION: |
41 |
|
{ |
42 |
0
|
reply.writeString(DESCRIPTOR); |
43 |
0
|
return true; |
44 |
|
} |
45 |
0
|
case TRANSACTION_getPid: |
46 |
|
{ |
47 |
0
|
data.enforceInterface(DESCRIPTOR); |
48 |
0
|
int _result = this.getPid(); |
49 |
0
|
reply.writeNoException(); |
50 |
0
|
reply.writeInt(_result); |
51 |
0
|
return true; |
52 |
|
} |
53 |
|
} |
54 |
0
|
return super.onTransact(code, data, reply, flags); |
55 |
|
} |
|
|
| 0% |
Uncovered Elements: 18 (18) |
Complexity: 4 |
Complexity Density: 0,29 |
|
56 |
|
private static class Proxy implements pl.magot.vetch.ancal.reminder.IAlarmService |
57 |
|
{ |
58 |
|
private android.os.IBinder mRemote; |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
Proxy(android.os.IBinder remote)... |
60 |
|
{ |
61 |
0
|
mRemote = remote; |
62 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
@Override public android.os.IBinder asBinder()... |
64 |
|
{ |
65 |
0
|
return mRemote; |
66 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public java.lang.String getInterfaceDescriptor()... |
68 |
|
{ |
69 |
0
|
return DESCRIPTOR; |
70 |
|
} |
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 1 |
Complexity Density: 0,09 |
|
71 |
0
|
@Override public int getPid() throws android.os.RemoteException... |
72 |
|
{ |
73 |
0
|
android.os.Parcel _data = android.os.Parcel.obtain(); |
74 |
0
|
android.os.Parcel _reply = android.os.Parcel.obtain(); |
75 |
0
|
int _result; |
76 |
0
|
try { |
77 |
0
|
_data.writeInterfaceToken(DESCRIPTOR); |
78 |
0
|
mRemote.transact(Stub.TRANSACTION_getPid, _data, _reply, 0); |
79 |
0
|
_reply.readException(); |
80 |
0
|
_result = _reply.readInt(); |
81 |
|
} |
82 |
|
finally { |
83 |
0
|
_reply.recycle(); |
84 |
0
|
_data.recycle(); |
85 |
|
} |
86 |
0
|
return _result; |
87 |
|
} |
88 |
|
} |
89 |
|
static final int TRANSACTION_getPid = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0); |
90 |
|
} |
91 |
|
public int getPid() throws android.os.RemoteException; |
92 |
|
} |