diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-05-24 14:26:18 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-05-24 14:26:18 -0700 |
commit | b5b1fb25853eb2e00f981d3b0bb52acd50684c4f (patch) | |
tree | 00f0ba0a582ea20541eb075827472d33231138ea /include | |
parent | e372c17ba76163018cbc1b6972c9e6b0a8a8b5f4 (diff) | |
parent | ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3 (diff) | |
download | frameworks_base-b5b1fb25853eb2e00f981d3b0bb52acd50684c4f.zip frameworks_base-b5b1fb25853eb2e00f981d3b0bb52acd50684c4f.tar.gz frameworks_base-b5b1fb25853eb2e00f981d3b0bb52acd50684c4f.tar.bz2 |
Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
Diffstat (limited to 'include')
-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 b02a057..32cd4f5 100644 --- a/include/android_runtime/AndroidRuntime.h +++ b/include/android_runtime/AndroidRuntime.h @@ -39,6 +39,13 @@ public: AndroidRuntime(); virtual ~AndroidRuntime(); + enum StartMode { + Zygote, + SystemServer, + Application, + Tool, + }; + /** * Register a set of methods in the specified class. */ @@ -59,8 +66,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(); |