Searched refs:jklass_ (Results 1 – 2 of 2) sorted by relevance
/art/compiler/jni/ |
D | jni_compiler_test.cc | 307 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest() 308 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest() 311 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest() 313 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest() 325 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest() 328 env_->UnregisterNatives(jklass_); in SetUpForTest() 331 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest() 332 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest() 338 static jclass jklass_; member in art::JniCompilerTest 397 jclass JniCompilerTest::jklass_; member in art::JniCompilerTest [all …]
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 640 jklass_ = env_->FindClass("MyClassNatives"); in SetUpForTest() 641 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest() 644 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig); in SetUpForTest() 646 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig); in SetUpForTest() 652 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest() 655 env_->UnregisterNatives(jklass_); in SetUpForTest() 658 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); in SetUpForTest() 659 jobj_ = env_->NewObject(jklass_, constructor); in SetUpForTest() 669 jclass jklass_; member in art::JniInternalTest 2388 env_->CallNonvirtualVoidMethod(jobj_, jklass_, jmethod_); in TEST_F() [all …]
|