Lines Matching defs:ComposerService
42 #include <private/gui/ComposerService.h>
48 ANDROID_SINGLETON_STATIC_INSTANCE(ComposerService);
50 ComposerService::ComposerService()
51 : Singleton<ComposerService>() {
56 void ComposerService::connectLocked() {
65 ComposerService& mComposerService;
67 ALOGW("ComposerService remote (surfaceflinger) died [%p]",
72 DeathObserver(ComposerService& mgr) : mComposerService(mgr) { }
75 mDeathObserver = new DeathObserver(*const_cast<ComposerService*>(this));
79 /*static*/ sp<ISurfaceComposer> ComposerService::getComposerService() {
80 ComposerService& instance = ComposerService::getInstance();
83 ComposerService::getInstance().connectLocked();
85 ALOGD("ComposerService reconnected");
90 void ComposerService::composerServiceDied()
200 return ComposerService::getComposerService()->createDisplay(displayName,
205 return ComposerService::getComposerService()->destroyDisplay(display);
209 return ComposerService::getComposerService()->getBuiltInDisplay(id);
220 sp<ISurfaceComposer> sm(ComposerService::getComposerService());
533 sp<ISurfaceComposer> sm(ComposerService::getComposerService());
558 sp<ISurfaceComposer> sm(ComposerService::getComposerService());
759 return ComposerService::getComposerService()->getDisplayConfigs(display, configs);
781 return ComposerService::getComposerService()->getActiveConfig(display);
785 return ComposerService::getComposerService()->setActiveConfig(display, id);
790 return ComposerService::getComposerService()->getDisplayColorModes(display, outColorModes);
794 return ComposerService::getComposerService()->getActiveColorMode(display);
799 return ComposerService::getComposerService()->setActiveColorMode(display, colorMode);
804 ComposerService::getComposerService()->setPowerMode(token, mode);
808 return ComposerService::getComposerService()->clearAnimationFrameStats();
812 return ComposerService::getComposerService()->getAnimationFrameStats(outStats);
817 return ComposerService::getComposerService()->getHdrCapabilities(display,
828 sp<ISurfaceComposer> s(ComposerService::getComposerService());
857 sp<ISurfaceComposer> s(ComposerService::getComposerService());