Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_internal_test.cc103 void ExpectClassNotFound(const char* name, bool check_jni, const char* check_jni_msg, in ExpectClassNotFound() argument
106 if (!check_jni || check_jni_msg == nullptr) { in ExpectClassNotFound()
114 void FindClassTest(bool check_jni) { in FindClassTest() argument
115 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
120 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in FindClassTest()
131 ExpectClassNotFound("C", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
132 ExpectClassNotFound("V", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
133 ExpectClassNotFound("K", check_jni, nullptr, &check_jni_abort_catcher); in FindClassTest()
135 if (check_jni) { in FindClassTest()
150 ExpectClassNotFound("Ljava.lang.String;", check_jni, "illegal class name 'Ljava.lang.String;'", in FindClassTest()
[all …]
Djni_env_ext.cc296 bool check_jni = env->IsCheckJniEnabled(); in ThreadResetFunctionTable() local
297 env->functions = JNIEnvExt::GetFunctionTable(check_jni); in ThreadResetFunctionTable()
318 const JNINativeInterface* JNIEnvExt::GetFunctionTable(bool check_jni) { in GetFunctionTable() argument
323 return check_jni ? GetCheckJniNativeInterface() : GetJniNativeInterface(); in GetFunctionTable()
Djni_env_ext.h150 static const JNINativeInterface* GetFunctionTable(bool check_jni)
Djava_vm_ext.cc731 bool* check_jni = reinterpret_cast<bool*>(arg); in ThreadEnableCheckJni() local
732 thread->GetJniEnv()->SetCheckJniEnabled(*check_jni); in ThreadEnableCheckJni()
/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()
/art/runtime/
DAndroid.bp155 "jni/check_jni.cc",