blob: 7c895783d7625e92a8c63b07971920921507b514 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001#include <utils/IPCThreadState.h>
2#include <utils/ProcessState.h>
3#include <utils/IServiceManager.h>
4#include <utils/Log.h>
5
6#include <SurfaceFlinger.h>
7
8using namespace android;
9
10int main(int argc, char** argv)
11{
12 sp<ProcessState> proc(ProcessState::self());
13 sp<IServiceManager> sm = defaultServiceManager();
14 LOGI("ServiceManager: %p", sm.get());
15 SurfaceFlinger::instantiate();
16 ProcessState::self()->startThreadPool();
17 IPCThreadState::self()->joinThreadPool();
18}