/* * This file is auto-generated. DO NOT MODIFY. * Original file: /Users/HanHailong/android-workspace/VLCDemo/vlc-android/src/org/videolan/vlc/gui/IDebugLogService.aidl */ package org.videolan.vlc.gui; public interface IDebugLogService extends android.os.IInterface { /** Local-side IPC implementation stub class. */ public static abstract class Stub extends android.os.Binder implements org.videolan.vlc.gui.IDebugLogService { private static final java.lang.String DESCRIPTOR = "org.videolan.vlc.gui.IDebugLogService"; /** Construct the stub at attach it to the interface. */ public Stub() { this.attachInterface(this, DESCRIPTOR); } /** * Cast an IBinder object into an org.videolan.vlc.gui.IDebugLogService interface, * generating a proxy if needed. */ public static org.videolan.vlc.gui.IDebugLogService asInterface(android.os.IBinder obj) { if ((obj==null)) { return null; } android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); if (((iin!=null)&&(iin instanceof org.videolan.vlc.gui.IDebugLogService))) { return ((org.videolan.vlc.gui.IDebugLogService)iin); } return new org.videolan.vlc.gui.IDebugLogService.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 { switch (code) { case INTERFACE_TRANSACTION: { reply.writeString(DESCRIPTOR); return true; } case TRANSACTION_start: { data.enforceInterface(DESCRIPTOR); this.start(); reply.writeNoException(); return true; } case TRANSACTION_stop: { data.enforceInterface(DESCRIPTOR); this.stop(); reply.writeNoException(); return true; } case TRANSACTION_clear: { data.enforceInterface(DESCRIPTOR); this.clear(); reply.writeNoException(); return true; } case TRANSACTION_save: { data.enforceInterface(DESCRIPTOR); this.save(); reply.writeNoException(); return true; } case TRANSACTION_registerCallback: { data.enforceInterface(DESCRIPTOR); org.videolan.vlc.gui.IDebugLogServiceCallback _arg0; _arg0 = org.videolan.vlc.gui.IDebugLogServiceCallback.Stub.asInterface(data.readStrongBinder()); this.registerCallback(_arg0); reply.writeNoException(); return true; } case TRANSACTION_unregisterCallback: { data.enforceInterface(DESCRIPTOR); org.videolan.vlc.gui.IDebugLogServiceCallback _arg0; _arg0 = org.videolan.vlc.gui.IDebugLogServiceCallback.Stub.asInterface(data.readStrongBinder()); this.unregisterCallback(_arg0); reply.writeNoException(); return true; } } return super.onTransact(code, data, reply, flags); } private static class Proxy implements org.videolan.vlc.gui.IDebugLogService { private android.os.IBinder mRemote; Proxy(android.os.IBinder remote) { mRemote = remote; } @Override public android.os.IBinder asBinder() { return mRemote; } public java.lang.String getInterfaceDescriptor() { return DESCRIPTOR; } @Override public void start() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_start, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void stop() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_stop, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void clear() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_clear, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void save() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_save, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void registerCallback(org.videolan.vlc.gui.IDebugLogServiceCallback cb) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeStrongBinder((((cb!=null))?(cb.asBinder()):(null))); mRemote.transact(Stub.TRANSACTION_registerCallback, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void unregisterCallback(org.videolan.vlc.gui.IDebugLogServiceCallback cb) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeStrongBinder((((cb!=null))?(cb.asBinder()):(null))); mRemote.transact(Stub.TRANSACTION_unregisterCallback, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } } static final int TRANSACTION_start = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0); static final int TRANSACTION_stop = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1); static final int TRANSACTION_clear = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2); static final int TRANSACTION_save = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3); static final int TRANSACTION_registerCallback = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4); static final int TRANSACTION_unregisterCallback = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5); } public void start() throws android.os.RemoteException; public void stop() throws android.os.RemoteException; public void clear() throws android.os.RemoteException; public void save() throws android.os.RemoteException; public void registerCallback(org.videolan.vlc.gui.IDebugLogServiceCallback cb) throws android.os.RemoteException; public void unregisterCallback(org.videolan.vlc.gui.IDebugLogServiceCallback cb) throws android.os.RemoteException; }