summaryrefslogtreecommitdiffstats
path: root/include/android_runtime
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-05-16 17:08:42 -0700
committerJeff Brown <jeffbrown@google.com>2011-05-24 12:01:25 -0700
commitebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3 (patch)
treeae346479a6c069a3a57acecb18a0b0a563325e3f /include/android_runtime
parentcbc38e74f028d9e337eba0f3ed7c435310cc10c2 (diff)
downloadframeworks_base-ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3.zip
frameworks_base-ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3.tar.gz
frameworks_base-ebed7d6e35f7f960e6e6add2b8ab7c7a31a511c3.tar.bz2
Support wrapping app processes to inject debug instrumentation.
Bug: 4437846 Change-Id: I4552501c693716b14714afb5c5248edaca9547ab
Diffstat (limited to 'include/android_runtime')
-rw-r--r--include/android_runtime/AndroidRuntime.h10
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();