Lines Matching defs:AndroidRuntime
17 #define LOG_TAG "AndroidRuntime"
20 #include <android_runtime/AndroidRuntime.h>
195 static AndroidRuntime* gCurRuntime = NULL;
236 /*static*/ JavaVM* AndroidRuntime::mJavaVM = NULL;
238 AndroidRuntime::AndroidRuntime(char* argBlockStart, const size_t argBlockLength) :
254 AndroidRuntime::~AndroidRuntime()
262 /*static*/ int AndroidRuntime::registerNativeMethods(JNIEnv* env,
268 void AndroidRuntime::setArgv0(const char* argv0) {
273 status_t AndroidRuntime::callMain(const String8& className, jclass clazz,
425 void AndroidRuntime::addOption(const char* optionString, void* extraInfo)
443 void AndroidRuntime::parseExtraOpts(char* extraOptsBuf, const char* quotingArg)
479 bool AndroidRuntime::parseRuntimeOption(const char* property,
506 bool AndroidRuntime::parseCompilerOption(const char* property,
535 bool AndroidRuntime::parseCompilerRuntimeOption(const char* property,
569 int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote)
974 char* AndroidRuntime::toSlashClassName(const char* className)
986 jstring AndroidRuntime::NewStringLatin1(JNIEnv* env, const char* bytes) {
1007 void AndroidRuntime::start(const char* className, const Vector<String8>& options, bool zygote)
1112 void AndroidRuntime::exit(int code)
1124 void AndroidRuntime::onVmCreated(JNIEnv* env)
1126 // If AndroidRuntime had anything to do here, we'd have done it in 'start'.
1134 /*static*/ JNIEnv* AndroidRuntime::getJNIEnv()
1137 JavaVM* vm = AndroidRuntime::getJavaVM();
1157 vm = AndroidRuntime::getJavaVM();
1179 vm = AndroidRuntime::getJavaVM();
1193 /*static*/ int AndroidRuntime::javaThreadShell(void* args) {
1222 /*static*/ int AndroidRuntime::javaCreateThreadEtc(
1240 result = androidCreateRawThreadEtc(AndroidRuntime::javaThreadShell, args,
1250 /*static*/ android_thread_id_t AndroidRuntime::createJavaThread(const char* name,
1440 /*static*/ int AndroidRuntime::startReg(JNIEnv* env)
1470 AndroidRuntime* AndroidRuntime::getRuntime()