Home
last modified time | relevance | path

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

/art/compiler/jni/
Djni_compiler_test.cc242 const char* method_sig) { in CompileForTest() argument
250 ArtMethod* method = c->FindClassMethod(method_name, method_sig, pointer_size); in CompileForTest()
251 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; in CompileForTest()
252 ASSERT_EQ(direct, method->IsDirect()) << method_name << " " << method_sig; in CompileForTest()
260 << method_name << " " << method_sig; in CompileForTest()
269 const char* method_sig) { in CompileForTestWithCurrentJni() argument
275 CompileForTest(class_loader, direct, method_name, method_sig); in CompileForTestWithCurrentJni()
280 const char* method_sig, in SetUpForTest() argument
293 CompileForTest(class_loader_, direct, method_name, method_sig); in SetUpForTest()
304 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
[all …]
/art/runtime/
Djni_internal_test.cc616 void SetUpForTest(bool direct, const char* method_name, const char* method_sig, in SetUpForTest() argument
629 ArtMethod* method = c->FindClassMethod(method_name, method_sig, pointer_size); in SetUpForTest()
630 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; 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()
649 ASSERT_TRUE(jmethod_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
652 JNINativeMethod methods[] = { { method_name, method_sig, native_fnptr } }; in SetUpForTest()
654 << method_name << " " << method_sig; in SetUpForTest()
661 ASSERT_TRUE(jobj_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()