Home
last modified time | relevance | path

Searched refs:ThrowNew (Results 1 – 19 of 19) sorted by relevance

/art/test/1900-track-alloc/
Dalloc.cc73 env->ThrowNew(rt_exception.get(), "Alloc tracking data not initialized."); in Java_art_Test1900_getAmountAllocated()
103 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1900_newJvmtiEnv()
109 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1900_newJvmtiEnv()
121 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Test1900_initializeTest()
151 env->ThrowNew(rt_exception.get(), "Unable to find memory tracking extensions."); in Java_art_Test1900_initializeTest()
/art/test/1909-per-agent-tls/
Dagent_tls.cc62 env->ThrowNew(rt_exception.get(), "Unable to get JavaVM"); in Java_art_Test1909_newJvmtiEnv()
68 env->ThrowNew(rt_exception.get(), "Unable to create new jvmtiEnv"); in Java_art_Test1909_newJvmtiEnv()
/art/test/common/
Dstack_inspect.cc112 env->ThrowNew(env->FindClass("java/lang/NullPointerException"), "method is null!"); in Java_Main_isInterpretedFunction()
117 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to interpret method argument!"); in Java_Main_isInterpretedFunction()
133 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to find given method in stack!"); in Java_Main_isInterpretedFunction()
/art/test/ti-agent/
Dredefinition_helper.cc65 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in throwCommonRedefinitionError()
153 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiClassRedefinition()
279 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in Java_art_Redefinition_popTransformationFor()
319 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
331 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
Djni_helper.h67 return env->ThrowNew(exc_class.get(), msg) == JNI_OK; in JniThrowNullPointerException()
Djvmti_helper.cc63 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
Dbreakpoint_helper.cc169 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Breakpoint_startBreakpointWatch()
Dtrace_helper.cc396 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Trace_enableTracing()
/art/test/986-native-method-bind/
Dnative_bind.cc66 env->ThrowNew(exception_class.get(), "dladdr failure!"); in doJvmtiMethodBind()
89 env->ThrowNew(exception_class.get(), "dlsym failure!"); in doJvmtiMethodBind()
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc65 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in Java_art_Test984_getFirstObsoleteMethod984()
/art/test/996-breakpoint-obsolete/
Dobsolete_breakpoints.cc62 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in GetFirstObsoleteMethod()
/art/runtime/native/
Ddalvik_system_DexFile.cc467 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded()
475 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
483 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
520 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus()
571 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded()
686 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
Djava_lang_Thread.cc57 env->ThrowNew(internal_error, "Cannot create threads in zygote"); in Thread_nativeCreate()
Ddalvik_system_VMRuntime.cc613 env->ThrowNew(iae.get(), message.c_str()); in VMRuntime_isBootClassPathOnDisk()
/art/runtime/
Djni_internal_test.cc2118 TEST_F(JniInternalTest, ThrowNew) { in TEST_F() argument
2124 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, "hello world")); in TEST_F()
2130 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, nullptr)); in TEST_F()
2139 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F()
2142 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F()
Dcheck_jni.cc1829 static jint ThrowNew(JNIEnv* env, jclass c, const char* message) { in ThrowNew() function in art::CheckJNI
1835 result.i = baseEnv(env)->ThrowNew(env, c, message); in ThrowNew()
3602 CheckJNI::ThrowNew,
Djni_internal.cc542 static jint ThrowNew(JNIEnv* env, jclass c, const char* msg) { in ThrowNew() function in art::JNI
2675 JNI::ThrowNew,
Dthread.cc642 env->ThrowNew(error_class.get(), "Thread starting during runtime shutdown"); in CreateNativeThread()
/art/compiler/jni/
Djni_compiler_test.cc1127 env->ThrowNew(c, "hello"); in JNI_TEST_NORMAL_ONLY()