|
Loading...
|
android-platform@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: Actual code where ServiceManager does addService and getService Victor Ronin Wed Feb 15 09:00:48 2012
I glanced through it before and I read it now. Thanks, it has a lot of useful info. However it looks like I lack some of basic knowledge regarding Binder which leads to the problems with understanding some things from this wiki page. On Feb 15, 6:05 am, freakingtux <[EMAIL PROTECTED]> wrote: > Hello > > On Tuesday, February 14, 2012 10:42:56 PM UTC+1, Victor Ronin wrote: > > > Thank you. That's exactly what I was looking for. > > > The location "cmds" is kind of strange (I thought that it's a > > service) :) > > > One more question on this subject. Do you have any idea why there is > > onTransact methods in these two files? > > /frameworks/base/core/javan/android/os/ServiceManagerNative.java, > > ServiceManager class and > > /framework/base/libs/binder/IServiceManager.cpp, BnServiceManager > > class > > Please read the wiki pages I sent earlier The first letter(s) of the class > tell something > about them. I as in Interface , B as in Base class, Bn as in Base native > and Bp as in Base proxy. > > I = Interface defines an object that will be accessible over binder B = > Base implementation Bn = Base native (local object implementation) Bp = > Base proxy > > Greetings > > > > > > > > > As I understand there should be only one ServiceManager and no other > > parts of AOSP should have server side implementation of it. > > > On Feb 14, 9:07 am, David Herges <[EMAIL PROTECTED]> wrote: > > > > However, all code which I found calls addService or getService from > > > > other places. And I can't find the place where they are actually > > > > implemented > > > > frameworks/base/cmds/servicemanager/service_manager.c > > > > There's the service manager implementation. Is it that what you're > > looking > > > for? -- You received this message because you are subscribed to the Google Groups "android-platform" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
- Actual code where ServiceManager does addService and getService Victor Ronin 2012/02/13
- Re: Actual code where ServiceManager does addService and getService freakingtux 2012/02/14
- Re: Actual code where ServiceManager does addService and getService David Herges 2012/02/14
- Re: Actual code where ServiceManager does addService and getService Victor Ronin 2012/02/14
- Re: Actual code where ServiceManager does addService and getService freakingtux 2012/02/15
- Re: Actual code where ServiceManager does addService and getService Victor Ronin 2012/02/15 <=
- Re: Actual code where ServiceManager does addService and getService freakingtux 2012/02/16
- Re: Actual code where ServiceManager does addService and getService David Herges 2012/02/16
Re: Actual code where ServiceManager does addService and getService ramakrishna k 2012/02/21
- Re: Actual code where ServiceManager does addService and getService Dianne Hackborn 2012/02/21
- Re: Actual code where ServiceManager does addService and getService Kees Jongenburger 2012/02/21