diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-08-10 13:41:36 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-08-10 13:41:36 -0700 |
commit | dbff91077ddf437b62794e077d2ce9e10fff8170 (patch) | |
tree | 350f326738f900e12e5d518b5300123d8c6ddd96 /include/android_runtime/AndroidRuntime.h | |
parent | e15a73ee4c9a28d89888095c7649a70c116ee160 (diff) | |
parent | d5d7e164d316e595a64faf1555839d1939da0863 (diff) |
Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
Diffstat (limited to 'include/android_runtime/AndroidRuntime.h')
-rw-r--r-- | include/android_runtime/AndroidRuntime.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/android_runtime/AndroidRuntime.h b/include/android_runtime/AndroidRuntime.h index 09f0de1e64d3..797585068464 100644 --- a/include/android_runtime/AndroidRuntime.h +++ b/include/android_runtime/AndroidRuntime.h @@ -37,6 +37,13 @@ public: AndroidRuntime(); virtual ~AndroidRuntime(); + enum StartMode { + Zygote, + SystemServer, + Application, + Tool, + }; + /** * Register a set of methods in the specified class. */ @@ -61,8 +68,7 @@ public: int addVmArguments(int argc, const char* const argv[]); - void start(const char *classname, const bool startSystemServer); - void start(); // start in android.util.RuntimeInit + void start(const char *classname, const char* options); static AndroidRuntime* getRuntime(); |