Searched refs:ThrowNew (Results 1 – 14 of 14) sorted by relevance
/art/test/common/ |
D | stack_inspect.cc | 112 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/ |
D | common_helper.cc | 69 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in throwCommonRedefinitionError() 131 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in Java_art_Redefinition_doCommonMultiClassRedefinition() 257 env->ThrowNew(env->FindClass("java/lang/Exception"), message.c_str()); in Java_art_Redefinition_popTransformationFor() 297 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation() 309 env->ThrowNew(env->FindClass("java/lang/Exception"), in Java_art_Redefinition_doCommonClassRetransformation()
|
D | jni_helper.h | 67 return env->ThrowNew(exc_class.get(), msg) == JNI_OK; in JniThrowNullPointerException()
|
D | jvmti_helper.cc | 63 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
|
/art/test/986-native-method-bind/ |
D | native_bind.cc | 66 env->ThrowNew(exception_class.get(), "dladdr failure!"); in doJvmtiMethodBind() 89 env->ThrowNew(exception_class.get(), "dlsym failure!"); in doJvmtiMethodBind()
|
/art/test/984-obsolete-invoke/ |
D | obsolete_invoke.cc | 65 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in Java_art_Test984_getFirstObsoleteMethod984()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 464 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded() 472 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded() 480 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded() 515 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus() 564 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded() 679 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
|
D | java_lang_Thread.cc | 55 env->ThrowNew(internal_error, "Cannot create threads in zygote"); in Thread_nativeCreate()
|
D | dalvik_system_VMRuntime.cc | 619 env->ThrowNew(iae.get(), message.c_str()); in VMRuntime_isBootClassPathOnDisk()
|
/art/runtime/ |
D | jni_internal_test.cc | 2099 TEST_F(JniInternalTest, ThrowNew) { in TEST_F() argument 2105 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, "hello world")); in TEST_F() 2111 EXPECT_EQ(JNI_OK, env_->ThrowNew(exception_class, nullptr)); in TEST_F() 2120 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F() 2123 EXPECT_EQ(JNI_ERR, env_->ThrowNew(nullptr, nullptr)); in TEST_F()
|
D | check_jni.cc | 1829 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,
|
D | jni_internal.cc | 457 static jint ThrowNew(JNIEnv* env, jclass c, const char* msg) { in ThrowNew() function in art::JNI 2589 JNI::ThrowNew,
|
D | thread.cc | 618 env->ThrowNew(error_class.get(), "Thread starting during runtime shutdown"); in CreateNativeThread()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 1124 env->ThrowNew(c, "hello"); in JNI_TEST_NORMAL_ONLY()
|