/*
 * This file is auto-generated.  DO NOT MODIFY.
 * Original file: C:\\Users\\Administrator\\Downloads\\RockEar\\RockEar\\src\\com\\howard\\rockear\\service\\IEarActivity.aidl
 */
package com.howard.rockear.service;
public interface IEarActivity extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.howard.rockear.service.IEarActivity
{
private static final java.lang.String DESCRIPTOR = "com.howard.rockear.service.IEarActivity";
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
/**
 * Cast an IBinder object into an com.howard.rockear.service.IEarActivity interface,
 * generating a proxy if needed.
 */
public static com.howard.rockear.service.IEarActivity asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof com.howard.rockear.service.IEarActivity))) {
return ((com.howard.rockear.service.IEarActivity)iin);
}
return new com.howard.rockear.service.IEarActivity.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_test:
{
data.enforceInterface(DESCRIPTOR);
this.test();
reply.writeNoException();
return true;
}
case TRANSACTION_setPlayBtnBg:
{
data.enforceInterface(DESCRIPTOR);
this.setPlayBtnBg();
reply.writeNoException();
return true;
}
case TRANSACTION_setSeekbar:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.setSeekbar(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_toogleSmartBar:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.toogleSmartBar(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_updateBottomArt:
{
data.enforceInterface(DESCRIPTOR);
this.updateBottomArt();
reply.writeNoException();
return true;
}
case TRANSACTION_setDefaultTrackList:
{
data.enforceInterface(DESCRIPTOR);
this.setDefaultTrackList();
reply.writeNoException();
return true;
}
case TRANSACTION_setPraisedBtn:
{
data.enforceInterface(DESCRIPTOR);
int _arg0;
_arg0 = data.readInt();
this.setPraisedBtn(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_updatePraisedBtn:
{
data.enforceInterface(DESCRIPTOR);
this.updatePraisedBtn();
reply.writeNoException();
return true;
}
case TRANSACTION_updateList:
{
data.enforceInterface(DESCRIPTOR);
this.updateList();
reply.writeNoException();
return true;
}
}
return super.onTransact(code, data, reply, flags);
}
private static class Proxy implements com.howard.rockear.service.IEarActivity
{
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 test() 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_test, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setPlayBtnBg() 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_setPlayBtnBg, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setSeekbar(int howmuch) 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.writeInt(howmuch);
mRemote.transact(Stub.TRANSACTION_setSeekbar, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void toogleSmartBar(int mod) 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.writeInt(mod);
mRemote.transact(Stub.TRANSACTION_toogleSmartBar, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void updateBottomArt() 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_updateBottomArt, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setDefaultTrackList() 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_setDefaultTrackList, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setPraisedBtn(int kind) 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.writeInt(kind);
mRemote.transact(Stub.TRANSACTION_setPraisedBtn, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void updatePraisedBtn() 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_updatePraisedBtn, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void updateList() 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_updateList, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
}
static final int TRANSACTION_test = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_setPlayBtnBg = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_setSeekbar = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_toogleSmartBar = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_updateBottomArt = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_setDefaultTrackList = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
static final int TRANSACTION_setPraisedBtn = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
static final int TRANSACTION_updatePraisedBtn = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7);
static final int TRANSACTION_updateList = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8);
}
public void test() throws android.os.RemoteException;
public void setPlayBtnBg() throws android.os.RemoteException;
public void setSeekbar(int howmuch) throws android.os.RemoteException;
public void toogleSmartBar(int mod) throws android.os.RemoteException;
public void updateBottomArt() throws android.os.RemoteException;
public void setDefaultTrackList() throws android.os.RemoteException;
public void setPraisedBtn(int kind) throws android.os.RemoteException;
public void updatePraisedBtn() throws android.os.RemoteException;
public void updateList() throws android.os.RemoteException;
}
