Skip to content

deepsadness/AIDLDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIDL

理解AIDL的机制。

AIDL文件。

AIDL文件生成的接口的构造。

  • Innterface
  • Stub
    • 这个类继承了android.os.Binder。具体实现了Innterface的接口。
    • onTransact方法。在每次IPC的过程中都会调用。可以用作权限检查的
    • asInnterface方法。 queryLocalInterface先查询本地的缓存,如果没有的话,就创建远程的代理对象Stub.Proxy
    • Proxy内部类。是远程的代理类

About

AIDLDemo to understand aidl and binder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages