summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-08-10 13:56:31 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-08-10 13:56:31 -0700
commit7e79b9aad85db332d334f8bc1625bf46f030830f (patch)
tree487389c56bab25a3e30917d8ebe989ef74617b83 /include
parent4e197ea8a6c5d5f4393a474591cccdd3fa27ecde (diff)
parentdbff91077ddf437b62794e077d2ce9e10fff8170 (diff)
downloadframeworks_base-7e79b9aad85db332d334f8bc1625bf46f030830f.zip
frameworks_base-7e79b9aad85db332d334f8bc1625bf46f030830f.tar.gz
frameworks_base-7e79b9aad85db332d334f8bc1625bf46f030830f.tar.bz2
am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
* commit 'dbff91077ddf437b62794e077d2ce9e10fff8170': Support wrapping app processes to inject debug instrumentation. Bug: 4437846
Diffstat (limited to 'include')
-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 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();