Home
last modified time | relevance | path

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

/art/compiler/jni/
Djni_compiler_test.cc108 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest()
109 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
112 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest()
114 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest()
120 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest()
123 env_->UnregisterNatives(jklass_); in SetUpForTest()
126 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest()
127 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
132 static jclass jklass_; member in art::JniCompilerTest
184 jclass JniCompilerTest::jklass_; member in art::JniCompilerTest
[all …]
/art/runtime/
Djni_internal_test.cc637 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest()
638 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
641 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest()
643 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest()
649 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest()
652 env_->UnregisterNatives(jklass_); in SetUpForTest()
655 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest()
656 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest()
666 jclass jklass_; member in art::JniInternalTest
2193 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in TEST_F()
[all …]