Searched refs:method_sig (Results 1 – 2 of 2) sorted by relevance
/art/compiler/jni/ |
D | jni_compiler_test.cc | 67 const char* method_name, const char* method_sig) { in CompileForTest() argument 75 ArtMethod* method = direct ? c->FindDirectMethod(method_name, method_sig, pointer_size) : in CompileForTest() 76 c->FindVirtualMethod(method_name, method_sig, pointer_size); in CompileForTest() 77 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; in CompileForTest() 85 << method_name << " " << method_sig; in CompileForTest() 90 void SetUpForTest(bool direct, const char* method_name, const char* method_sig, in SetUpForTest() argument 98 CompileForTest(class_loader_, direct, method_name, method_sig); 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() [all …]
|
/art/runtime/ |
D | jni_internal_test.cc | 612 void SetUpForTest(bool direct, const char* method_name, const char* method_sig, in SetUpForTest() argument 625 ArtMethod* method = direct ? c->FindDirectMethod(method_name, method_sig, pointer_size) : in SetUpForTest() 626 c->FindVirtualMethod(method_name, method_sig, pointer_size); in SetUpForTest() 627 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; 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() 645 ASSERT_TRUE(jmethod_ != nullptr) << method_name << " " << method_sig; in SetUpForTest() 648 JNINativeMethod methods[] = { { method_name, method_sig, native_fnptr } }; in SetUpForTest() 650 << method_name << " " << method_sig; in SetUpForTest() [all …]
|