91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 42.9MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-05
  • 語言: Java
  • 標(biāo)簽: Android??AIDL??

資源簡介

壓縮中有兩個項目,一為客戶端一為服務(wù)端,均為Android Studio項目,且均用git管理。每個項目均有兩條分支,其中 master分支對應(yīng)博客:你真的理解AIDL中的in,out,inout么? simple分支對應(yīng)博客:Android:學(xué)習(xí)AIDL,這一篇文章就夠了(上) 兩篇博客均在:http://blog.csdn.net/luoyanglizi 處可找到。

資源截圖

代碼片段和文件信息

/*
?*?This?file?is?auto-generated.??DO?NOT?MODIFY.
?*?Original?file:?/home/lypeer/dev/workplace/workplace_android_project/IPCClient/app/src/main/aidl/com/lypeer/ipcclient/BookManager.aidl
?*/
package?com.lypeer.ipcclient;
public?interface?BookManager?extends?android.os.IInterface
{
/**?Local-side?IPC?implementation?stub?class.?*/
public?static?abstract?class?Stub?extends?android.os.Binder?implements?com.lypeer.ipcclient.BookManager
{
private?static?final?java.lang.String?DEscriptOR?=?“com.lypeer.ipcclient.BookManager“;
/**?Construct?the?stub?at?attach?it?to?the?interface.?*/
public?Stub()
{
this.attachInterface(this?DEscriptOR);
}
/**
?*?Cast?an?IBinder?object?into?an?com.lypeer.ipcclient.BookManager?interface
?*?generating?a?proxy?if?needed.
?*/
public?static?com.lypeer.ipcclient.BookManager?asInterface(android.os.IBinder?obj)
{
if?((obj==null))?{
return?null;
}
android.os.IInterface?iin?=?obj.queryLocalInterface(DEscriptOR);
if?(((iin!=null)&&(iin?instanceof?com.lypeer.ipcclient.BookManager)))?{
return?((com.lypeer.ipcclient.BookManager)iin);
}
return?new?com.lypeer.ipcclient.BookManager.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_getBooks:
{
data.enforceInterface(DEscriptOR);
java.util.List?_result?=?this.getBooks();
reply.writeNoException();
reply.writeTypedList(_result);
return?true;
}
case?TRANSACTION_addBook:
{
data.enforceInterface(DEscriptOR);
com.lypeer.ipcclient.Book?_arg0;
if?((0!=data.readInt()))?{
_arg0?=?com.lypeer.ipcclient.Book.CREATOR.createFromParcel(data);
}
else?{
_arg0?=?null;
}
this.addBook(_arg0);
reply.writeNoException();
if?((_arg0!=null))?{
reply.writeInt(1);
_arg0.writeToParcel(reply?android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
}
else?{
reply.writeInt(0);
}
return?true;
}
}
return?super.onTransact(code?data?reply?flags);
}
private?static?class?Proxy?implements?com.lypeer.ipcclient.BookManager
{
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?java.util.List?getBooks()?throws?android.os.RemoteException
{
android.os.Parcel?_data?=?android.os.Parcel.obtain();
android.os.Parcel?_reply?=?android.os.Parcel.obtain();
java.util.List?_result;
try?{
_data.writeInterfaceToken(DEscriptOR);
mRemote.transact(Stub.TRANSACTION_getBooks?_data?_reply?0);
_reply.readException();
_result?=?_reply.createTypedArrayList(com.lypeer.ipcclient.Book.CREATOR);
}
finally?{
_reply.recycle();
_data.recycle();
}
return?_result;
}
@Override?public?void?addBook(com.lypeer.ipcc

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-07-20?10:46??IPCClient\
?????文件??????????93??2016-07-20?01:37??IPCClient\.gitignore
?????文件?????????840??2016-07-19?02:29??IPCClient\gradle.properties
?????文件?????????963??2016-07-19?02:37??IPCClient\IPCClient.iml
?????文件??????????16??2016-07-16?03:37??IPCClient\settings.gradle
?????文件?????????455??2016-07-19?02:17??IPCClient\local.properties
?????文件????????2404??2016-07-16?03:37??IPCClient\gradlew.bat
?????文件????????4971??2016-07-16?03:37??IPCClient\gradlew
?????文件?????????521??2016-07-16?03:37??IPCClient\build.gradle
?????目錄???????????0??2016-07-21?06:18??IPCClient\.git\
?????文件??????????92??2016-07-20?01:35??IPCClient\.git\config
?????文件??????????13??2016-07-20?10:45??IPCClient\.git\COMMIT_EDITMSG
?????文件??????????73??2016-07-20?01:35??IPCClient\.git\description
?????文件????????5125??2016-07-21?02:22??IPCClient\.git\index
?????文件??????????23??2016-07-20?10:45??IPCClient\.git\HEAD
?????目錄???????????0??2016-07-21?06:21??IPCClient\.idea\
?????文件?????????180??2016-07-20?01:37??IPCClient\.idea\vcs.xml
?????文件?????????564??2016-07-19?02:29??IPCClient\.idea\runConfigurations.xml
?????文件?????????159??2016-07-19?02:17??IPCClient\.idea\encodings.xml
?????文件?????????686??2016-07-19?02:17??IPCClient\.idea\compiler.xml
?????文件?????????739??2016-07-19?02:37??IPCClient\.idea\gradle.xml
?????文件?????????355??2016-07-19?02:37??IPCClient\.idea\modules.xml
?????文件???????????9??2016-07-19?02:17??IPCClient\.idea\.name
?????文件??????186852??2016-07-21?06:21??IPCClient\.idea\workspace.xml
?????文件????????2226??2016-07-21?06:11??IPCClient\.idea\misc.xml
?????目錄???????????0??2016-07-21?02:19??IPCClient\build\
?????目錄???????????0??2016-07-16?03:41??IPCClient\.gradle\
?????目錄???????????0??2016-07-21?06:11??IPCClient\app\
?????文件????????9506??2016-07-21?06:11??IPCClient\app\app.iml
?????文件?????????764??2016-07-20?10:20??IPCClient\app\build.gradle
?????文件?????????669??2016-07-16?03:37??IPCClient\app\proguard-rules.pro
............此處省略3552個文件信息

評論

共有 條評論