public android.os.IBinder asBinder() {
return null;
}
}
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.scc.demo.ipc.IUserInterface
{
private static final java.lang.String DESCRIPTOR = “com.scc.demo.ipc.IUserInterface”;
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static com.scc.demo.ipc.IUserInterface asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof com.scc.demo.ipc.IUserInterface))) {
return ((com.scc.demo.ipc.IUserInterface)iin);
}
return new com.scc.demo.ipc.IUserInterface.Stub.Proxy(obj);
}
@Override public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
…
}
private static class Proxy implements com.scc.demo.ipc.IUserInterface
{
…
}
static final int TRANSACTION_basicTypes = (android.os.IBinder