diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-05-16 17:08:42 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@android.com> | 2011-07-28 14:00:27 -0700 |
commit | d5d7e164d316e595a64faf1555839d1939da0863 (patch) | |
tree | a91f61091b3f1025cd58cab417167b83dcdcbcec /include | |
parent | 4d1fa60bfe660fd0fc6671116da597c0027cbb16 (diff) | |
download | frameworks_base-d5d7e164d316e595a64faf1555839d1939da0863.zip frameworks_base-d5d7e164d316e595a64faf1555839d1939da0863.tar.gz frameworks_base-d5d7e164d316e595a64faf1555839d1939da0863.tar.bz2 |
Support wrapping app processes to inject debug instrumentation.
Bug: 4437846
Change-Id: Ib0559e5224b0fa0df074e485787307b6634e8654
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 09f0de1..7975850 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(); |