Home
last modified time | relevance | path

Searched refs:jklass_ (Results 1 – 2 of 2) sorted by relevance

/art/compiler/jni/
Djni_compiler_test.cc304 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest()
305 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
308 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest()
310 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest()
322 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest()
325 env_->UnregisterNatives(jklass_); in SetUpForTest()
328 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest()
329 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
335 static jclass jklass_; member in art::JniCompilerTest
437 jclass JniCompilerTest::jklass_; member in art::JniCompilerTest
[all …]
/art/runtime/jni/
Djni_internal_test.cc641 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest()
642 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
645 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest()
647 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest()
653 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest()
656 env_->UnregisterNatives(jklass_); in SetUpForTest()
659 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest()
660 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
670 jclass jklass_; member in art::JniInternalTest
2491 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in TEST_F()
[all …]