| 7 | import android.os.RemoteException; |
| 8 | |
| 9 | public interface ICarService extends IInterface { |
| 10 | |
| 11 | public static abstract class Stub extends Binder implements ICarService { |
| 12 | private static final String DESCRIPTOR = "android.microntek.ICarService"; |
| 13 | static final int TRANSACTION_getBooleanState = 8; |
| 14 | static final int TRANSACTION_getByteArrayState = 12; |
| 15 | static final int TRANSACTION_getByteState = 9; |
| 16 | static final int TRANSACTION_getIntArrayState = 13; |
| 17 | static final int TRANSACTION_getIntState = 10; |
| 18 | static final int TRANSACTION_getParameters = 18; |
| 19 | static final int TRANSACTION_getStringArrayState = 14; |
| 20 | static final int TRANSACTION_getStringState = 11; |
| 21 | static final int TRANSACTION_putBooleanState = 1; |
| 22 | static final int TRANSACTION_putByteArraryState = 5; |
| 23 | static final int TRANSACTION_putByteState = 2; |
| 24 | static final int TRANSACTION_putDataChanage = 19; |
| 25 | static final int TRANSACTION_putIntArraryState = 6; |
| 26 | static final int TRANSACTION_putIntState = 3; |
| 27 | static final int TRANSACTION_putStringArraryState = 7; |
| 28 | static final int TRANSACTION_putStringState = 4; |
| 29 | static final int TRANSACTION_registerCallback = 15; |
| 30 | static final int TRANSACTION_setParameters = 17; |
| 31 | static final int TRANSACTION_unregisterCallback = 16; |
| 32 | |
| 33 | private static class Proxy implements ICarService { |
| 34 | private IBinder mRemote; |
| 35 | |
| 36 | Proxy(IBinder remote) { |
| 37 | this.mRemote = remote; |
| 38 | } |
| 39 | |
| 40 | public IBinder asBinder() { |
| 41 | return this.mRemote; |
| 42 | } |
| 43 | |
| 44 | public String getInterfaceDescriptor() { |
| 45 | return Stub.DESCRIPTOR; |
| 46 | } |
| 47 | |
| 48 | public void putBooleanState(String key, boolean value) throws RemoteException { |
| 49 | int i = Stub.TRANSACTION_putBooleanState; |
| 50 | Parcel _data = Parcel.obtain(); |
| 51 | Parcel _reply = Parcel.obtain(); |
| 52 | try { |
| 53 | _data.writeInterfaceToken(Stub.DESCRIPTOR); |
| 54 | _data.writeString(key); |
| 55 | if (!value) { |
| 56 | i = 0; |
| 57 | } |
| 58 | _data.writeInt(i); |
| 59 | this.mRemote.transact(Stub.TRANSACTION_putBooleanState, _data, _reply, 0); |
| 60 | _reply.readException(); |
| 61 | } finally { |
| 62 | _reply.recycle(); |
| 63 | _data.recycle(); |
| 64 | } |
| 65 | } |
| 66 |
no outgoing calls
no test coverage detected