summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-04-03 16:56:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-03 16:56:32 +0000
commitc6f6ba3265d2b07649277682fd3ca0f9ce4d011a (patch)
tree94f163ea0ae453d5beb396fc82b250924bf89895 /include
parent33822312e65a38400b189c6deda59b8d047b89cf (diff)
parent71ae2bd42be21de6d25d1f8c52e3973c172462df (diff)
downloadframeworks_base-c6f6ba3265d2b07649277682fd3ca0f9ce4d011a.zip
frameworks_base-c6f6ba3265d2b07649277682fd3ca0f9ce4d011a.tar.gz
frameworks_base-c6f6ba3265d2b07649277682fd3ca0f9ce4d011a.tar.bz2
am 71ae2bd4: am f87b3a25: am 374db6c3: Merge "Remove ProcessState::mArgc,mArgV,mArgLen"
* commit '71ae2bd42be21de6d25d1f8c52e3973c172462df': Remove ProcessState::mArgc,mArgV,mArgLen
Diffstat (limited to 'include')
-rw-r--r--include/android_runtime/AndroidRuntime.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/android_runtime/AndroidRuntime.h b/include/android_runtime/AndroidRuntime.h
index 649f4c3..6f2af90 100644
--- a/include/android_runtime/AndroidRuntime.h
+++ b/include/android_runtime/AndroidRuntime.h
@@ -34,7 +34,7 @@ namespace android {
class AndroidRuntime
{
public:
- AndroidRuntime();
+ AndroidRuntime(char* argBlockStart, size_t argBlockSize);
virtual ~AndroidRuntime();
enum StartMode {
@@ -44,6 +44,8 @@ public:
Tool,
};
+ void setArgv0(const char* argv0);
+
/**
* Register a set of methods in the specified class.
*/
@@ -120,6 +122,8 @@ private:
Vector<JavaVMOption> mOptions;
bool mExitWithoutCleanup;
+ char* const mArgBlockStart;
+ const size_t mArgBlockLength;
/* JNI JavaVM pointer */
static JavaVM* mJavaVM;