資源簡介
涵蓋了Android四大組件的來電攔截,手機(jī)黑名單,通過一個APP,讓你熟練掌握Android四大組件
代碼片段和文件信息
/*
?*?This?file?is?auto-generated.??DO?NOT?MODIFY.
?*?Original?file:?E:\\Android_Develop\\SafeCall\\app\\src\\main\\aidl\\com\\android\\internal\\telephony\\ITelephony.aidl
?*/
package?com.android.internal.telephony;
public?interface?ITelephony?extends?android.os.IInterface
{
/**?Local-side?IPC?implementation?stub?class.?*/
public?static?abstract?class?Stub?extends?android.os.Binder?implements?com.android.internal.telephony.ITelephony
{
private?static?final?java.lang.String?DEscriptOR?=?“com.android.internal.telephony.ITelephony“;
/**?Construct?the?stub?at?attach?it?to?the?interface.?*/
public?Stub()
{
this.attachInterface(this?DEscriptOR);
}
/**
?*?Cast?an?IBinder?object?into?an?com.android.internal.telephony.ITelephony?interface
?*?generating?a?proxy?if?needed.
?*/
public?static?com.android.internal.telephony.ITelephony?asInterface(android.os.IBinder?obj)
{
if?((obj==null))?{
return?null;
}
android.os.IInterface?iin?=?obj.queryLocalInterface(DEscriptOR);
if?(((iin!=null)&&(iin?instanceof?com.android.internal.telephony.ITelephony)))?{
return?((com.android.internal.telephony.ITelephony)iin);
}
return?new?com.android.internal.telephony.ITelephony.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_endCall:
{
data.enforceInterface(DEscriptOR);
boolean?_result?=?this.endCall();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return?true;
}
case?TRANSACTION_answerRingingCall:
{
data.enforceInterface(DEscriptOR);
this.answerRingingCall();
reply.writeNoException();
return?true;
}
}
return?super.onTransact(code?data?reply?flags);
}
private?static?class?Proxy?implements?com.android.internal.telephony.ITelephony
{
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?boolean?endCall()?throws?android.os.RemoteException
{
android.os.Parcel?_data?=?android.os.Parcel.obtain();
android.os.Parcel?_reply?=?android.os.Parcel.obtain();
boolean?_result;
try?{
_data.writeInterfaceToken(DEscriptOR);
mRemote.transact(Stub.TRANSACTION_endCall?_data?_reply?0);
_reply.readException();
_result?=?(0!=_reply.readInt());
}
finally?{
_reply.recycle();
_data.recycle();
}
return?_result;
}
@Override?public?void?answerRingingCall()?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_answerRingingCall?_data?_reply?0);
_reply.readException();
}
finally?{
_reply.recycle();
_data.recycle();
}
}
}
static?final?int?TRANSACTI
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-04-10?21:40??SafeCall\
?????目錄???????????0??2017-04-10?21:44??SafeCall\.git\
?????文件??????????13??2017-04-10?21:40??SafeCall\.git\COMMIT_EDITMSG
?????文件??????????23??2017-04-10?21:40??SafeCall\.git\HEAD
?????文件?????????309??2017-04-10?21:44??SafeCall\.git\config
?????文件??????????73??2017-04-10?21:40??SafeCall\.git\desc
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\hooks\
?????文件?????????478??2017-04-10?21:40??SafeCall\.git\hooks\applypatch-msg.sample
?????文件?????????896??2017-04-10?21:40??SafeCall\.git\hooks\commit-msg.sample
?????文件?????????189??2017-04-10?21:40??SafeCall\.git\hooks\post-update.sample
?????文件?????????424??2017-04-10?21:40??SafeCall\.git\hooks\pre-applypatch.sample
?????文件????????1642??2017-04-10?21:40??SafeCall\.git\hooks\pre-commit.sample
?????文件????????1348??2017-04-10?21:40??SafeCall\.git\hooks\pre-push.sample
?????文件????????4951??2017-04-10?21:40??SafeCall\.git\hooks\pre-reba
?????文件?????????544??2017-04-10?21:40??SafeCall\.git\hooks\pre-receive.sample
?????文件????????1239??2017-04-10?21:40??SafeCall\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2017-04-10?21:40??SafeCall\.git\hooks\update.sample
?????文件????????7032??2017-04-10?21:40??SafeCall\.git\index
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\info\
?????文件?????????240??2017-04-10?21:40??SafeCall\.git\info\exclude
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\logs\
?????文件?????????161??2017-04-10?21:40??SafeCall\.git\logs\HEAD
?????目錄???????????0??2017-04-10?21:44??SafeCall\.git\logs\refs\
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\logs\refs\heads\
?????文件?????????161??2017-04-10?21:40??SafeCall\.git\logs\refs\heads\master
?????目錄???????????0??2017-04-10?21:44??SafeCall\.git\logs\refs\remotes\
?????目錄???????????0??2017-04-10?21:44??SafeCall\.git\logs\refs\remotes\origin\
?????文件?????????145??2017-04-10?21:44??SafeCall\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\ob
?????目錄???????????0??2017-04-10?21:40??SafeCall\.git\ob
?????文件??????????65??2017-04-10?21:40??SafeCall\.git\ob
............此處省略1920個文件信息
評論
共有 條評論