Home
last modified time | relevance | path

Searched refs:check_jni (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Djni_internal_test.cc104 void ExpectClassNotFound(const char* name, bool check_jni, const char* check_jni_msg, in ExpectClassNotFound() argument
107 if (!check_jni || check_jni_msg == nullptr) { in ExpectClassNotFound()
115 void FindClassTest(bool check_jni) { in FindClassTest() argument
116 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
121 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in FindClassTest()
132 ExpectClassNotFound("C", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
133 ExpectClassNotFound("V", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
134 ExpectClassNotFound("K", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
136 if (check_jni) { in FindClassTest()
151 ExpectClassNotFound("Ljava.lang.String;", check_jni, "illegal class name 'Ljava.lang.String;'", in FindClassTest()
[all …]
Djni_env_ext.cc295 bool check_jni = env->IsCheckJniEnabled(); in ThreadResetFunctionTable() local
296 env->functions = JNIEnvExt::GetFunctionTable(check_jni); in ThreadResetFunctionTable()
313 const JNINativeInterface* JNIEnvExt::GetFunctionTable(bool check_jni) { in GetFunctionTable() argument
318 return check_jni ? GetCheckJniNativeInterface() : GetJniNativeInterface(); in GetFunctionTable()
Djni_env_ext.h143 static const JNINativeInterface* GetFunctionTable(bool check_jni)
Djava_vm_ext.cc694 bool* check_jni = reinterpret_cast<bool*>(arg); in ThreadEnableCheckJni() local
695 thread->GetJniEnv()->SetCheckJniEnabled(*check_jni); in ThreadEnableCheckJni()
DAndroid.bp43 "check_jni.cc",
/art/openjdkjvmti/
Dti_jni.cc65 bool check_jni = false; in GetJNIFunctionTable() local
68 check_jni = runtime->GetJavaVM()->IsCheckJniEnabled(); in GetJNIFunctionTable()
75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()