`
ai_longyu
  • 浏览: 482207 次
社区版块
存档分类
最新评论

Android frameworks中Bn*和Bp*的区别

阅读更多
Q:What do "Bn*" and "Bp*" stand for in frameworks/base/include/utils/IInterface.h ?

I understand that "B" is for binder but what about "n" and "p"?

It seems like "p" may stand for "remote" and "n" for "native" but I would love a clarification.


A:"n" is native, that is the class you inherit from to implement the interface; "p" is proxy, that is the class that is created to perform interface calls through IPC.


http://groups.google.com/group/android-platform/browse_thread/thread/467bc0b5e858473f


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics