/art/test/1900-track-alloc/ |
D | alloc.cc | 73 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/ |
D | agent_tls.cc | 62 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/ |
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 | redefinition_helper.cc | 65 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()
|
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()
|
D | breakpoint_helper.cc | 169 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Breakpoint_startBreakpointWatch()
|
D | trace_helper.cc | 396 env->ThrowNew(rt_exception.get(), "Environment already has local storage set!"); in Java_art_Trace_enableTracing()
|
/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/test/996-breakpoint-obsolete/ |
D | obsolete_breakpoints.cc | 62 env->ThrowNew(rt_exception.get(), "Unable to find obsolete method!"); in GetFirstObsoleteMethod()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 467 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()
|
D | java_lang_Thread.cc | 57 env->ThrowNew(internal_error, "Cannot create threads in zygote"); in Thread_nativeCreate()
|
D | dalvik_system_VMRuntime.cc | 613 env->ThrowNew(iae.get(), message.c_str()); in VMRuntime_isBootClassPathOnDisk()
|
/art/runtime/ |
D | jni_internal_test.cc | 2118 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()
|
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 | 542 static jint ThrowNew(JNIEnv* env, jclass c, const char* msg) { in ThrowNew() function in art::JNI 2675 JNI::ThrowNew,
|
D | thread.cc | 642 env->ThrowNew(error_class.get(), "Thread starting during runtime shutdown"); in CreateNativeThread()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 1127 env->ThrowNew(c, "hello"); in JNI_TEST_NORMAL_ONLY()
|