| 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 | |
| 67 | public void putByteState(String key, byte value) throws RemoteException { |
| 68 | Parcel _data = Parcel.obtain(); |
| 69 | Parcel _reply = Parcel.obtain(); |
| 70 | try { |
| 71 | _data.writeInterfaceToken(Stub.DESCRIPTOR); |
| 72 | _data.writeString(key); |
| 73 | _data.writeByte(value); |
| 74 | this.mRemote.transact(Stub.TRANSACTION_putByteState, _data, _reply, 0); |
| 75 | _reply.readException(); |
| 76 | } finally { |
| 77 | _reply.recycle(); |
| 78 | _data.recycle(); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | public void putIntState(String key, int value) throws RemoteException { |
| 83 | Parcel _data = Parcel.obtain(); |
| 84 | Parcel _reply = Parcel.obtain(); |
| 85 | try { |
| 86 | _data.writeInterfaceToken(Stub.DESCRIPTOR); |
| 87 | _data.writeString(key); |
| 88 | _data.writeInt(value); |
| 89 | this.mRemote.transact(Stub.TRANSACTION_putIntState, _data, _reply, 0); |
| 90 | _reply.readException(); |
nothing calls this directly
no outgoing calls
no test coverage detected