Yes, it seems surfaceflinger is spawned by system_server process by default. You can type ps -t -s in emulator to verify it.But I guess it might also be ok to initiate the surface flinger process directly in zygote if someone desires. There is an binary executable of surfaceflinger under /system/bin.
On Thu, Jan 15, 2009 at 10:04 AM, hanchao3c <[email protected]> wrote: > > > Hi jasperr and Sparks. > > Do you know these file ? > base/cmds/system_server/system_main.cpp > base/cmds/system_server/library/system_init.cpp :: system_init() > > It seems SurfaceFlinger is generated by system_server . > There is no a daemon called "surfaceflinger" > > > > > > On Jan 9, 11:18 am, Dave Sparks <[email protected]> wrote: > > frameworks/base/cmds/surfaceflinger/main_surfaceflinger.cpp > > > > On Jan 7, 10:26 pm, jasperr <[email protected]> wrote: > > > > > Is SurfaceFlinger a service like AudioFlinger, right? > > > > > If yes, where is SurfaceFlinger service is generated? > > > > > I saw the audioflinger service is generated in the main() of > > > mediaserver by calling IServiceManger::addService(). > > > > > But who knows where is surfacefligner service generated? > > > > > Thanks > > > Jasperr > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
