资源简介
AIDL例子源码AIDL例子源码AIDL例子源码
代码片段和文件信息
/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: /root/workspace/AidlDemo/src/com/pekall/aidl/DemoService.aidl
*/
package com.pekall.aidl;
public interface DemoService extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.pekall.aidl.DemoService
{
private static final java.lang.String DEscriptOR = “com.pekall.aidl.DemoService“;
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this DEscriptOR);
}
/**
* Cast an IBinder object into an com.pekall.aidl.DemoService interface
* generating a proxy if needed.
*/
public static com.pekall.aidl.DemoService asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DEscriptOR);
if (((iin!=null)&&(iin instanceof com.pekall.aidl.DemoService))) {
return ((com.pekall.aidl.DemoService)iin);
}
return new com.pekall.aidl.DemoService.Stub.Proxy(obj);
}
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_write:
{
data.enforceInterface(DEscriptOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.write(_arg0);
reply.writeNoException();
return true;
}
}
return super.onTransact(code data reply flags);
}
private static class Proxy implements com.pekall.aidl.DemoService
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DEscriptOR;
}
public void write(java.lang.String content) 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.writeString(content);
mRemote.transact(Stub.TRANSACTION_write _data _reply 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
}
static final int TRANSACTION_write = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
}
public void write(java.lang.String content) throws android.os.RemoteException;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-09-02 02:26 AidlDemo\
目录 0 2011-09-02 02:26 AidlDemo\gen\
目录 0 2011-09-02 02:51 AidlDemo\src\
目录 0 2011-09-02 02:26 AidlDemo\assets\
目录 0 2011-09-02 02:26 AidlDemo\res\
目录 0 2011-09-02 03:03 AidlDemo\bin\
目录 0 2011-09-02 02:26 AidlDemo\gen\com\
目录 0 2011-09-02 02:26 AidlDemo\src\com\
目录 0 2011-09-02 02:26 AidlDemo\res\values\
目录 0 2011-09-02 02:26 AidlDemo\res\layout\
目录 0 2011-09-02 02:26 AidlDemo\res\drawable-ldpi\
目录 0 2011-09-02 02:26 AidlDemo\res\drawable-mdpi\
目录 0 2011-09-02 02:26 AidlDemo\res\drawable-hdpi\
目录 0 2011-09-02 02:26 AidlDemo\bin\com\
目录 0 2011-09-02 02:33 AidlDemo\gen\com\pekall\
目录 0 2011-09-02 02:32 AidlDemo\src\com\pekall\
目录 0 2011-09-02 02:32 AidlDemo\bin\com\pekall\
目录 0 2011-09-02 02:34 AidlDemo\gen\com\pekall\aidl\
目录 0 2011-09-02 02:26 AidlDemo\gen\com\pekall\aidlDemo\
目录 0 2011-09-02 02:51 AidlDemo\src\com\pekall\aidl\
目录 0 2011-09-02 02:53 AidlDemo\src\com\pekall\aidlDemo\
目录 0 2011-09-02 02:51 AidlDemo\bin\com\pekall\aidl\
目录 0 2011-09-02 02:53 AidlDemo\bin\com\pekall\aidlDemo\
目录 0 2011-09-02 02:57 AidlDemoClient\
目录 0 2011-09-02 02:57 AidlDemoClient\gen\
目录 0 2011-09-02 02:57 AidlDemoClient\src\
目录 0 2011-09-02 02:57 AidlDemoClient\assets\
目录 0 2011-09-02 02:57 AidlDemoClient\res\
目录 0 2011-09-02 03:10 AidlDemoClient\bin\
目录 0 2011-09-02 02:57 AidlDemoClient\gen\com\
目录 0 2011-09-02 02:57 AidlDemoClient\src\com\
............此处省略72个文件信息
- 上一篇:Memcached相关程序
- 下一篇:区块链积分系统功能模块拆分
评论
共有 条评论