Home
last modified time | relevance | path

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

/art/runtime/jni/
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 …]
Dlocal_reference_table_test.cc41 void BasicTest(bool check_jni, size_t max_count);
42 void BasicHolesTest(bool check_jni, size_t max_count);
43 void BasicResizeTest(bool check_jni, size_t max_count);
44 void TestAddRemove(bool check_jni, size_t max_count, size_t fill_count = 0u);
66 void LocalReferenceTableTest::BasicTest(bool check_jni, size_t max_count) { in BasicTest() argument
84 LocalReferenceTable lrt(check_jni); in BasicTest()
90 if (check_jni) { in BasicTest()
157 if (check_jni) { in BasicTest()
220 if (check_jni) { in BasicTest()
294 void LocalReferenceTableTest::BasicHolesTest(bool check_jni, size_t max_count) { in BasicHolesTest() argument
[all …]
Djni_env_ext.cc292 bool check_jni = env->IsCheckJniEnabled(); in ThreadResetFunctionTable() local
293 env->functions = JNIEnvExt::GetFunctionTable(check_jni); in ThreadResetFunctionTable()
314 const JNINativeInterface* JNIEnvExt::GetFunctionTable(bool check_jni) { in GetFunctionTable() argument
319 return check_jni ? GetCheckJniNativeInterface() : GetJniNativeInterface(); in GetFunctionTable()
Djni_env_ext.h143 EXPORT static const JNINativeInterface* GetFunctionTable(bool check_jni)
Dlocal_reference_table.h246 explicit LocalReferenceTable(bool check_jni);
Dlocal_reference_table.cc141 LocalReferenceTable::LocalReferenceTable(bool check_jni) in LocalReferenceTable() argument
146 FirstFreeField::Update(kFreeListEnd, check_jni ? 1u << kFlagCheckJni : 0u)), in LocalReferenceTable()
Djava_vm_ext.cc778 bool* check_jni = reinterpret_cast<bool*>(arg); in ThreadEnableCheckJni() local
779 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.bp318 "jni/check_jni.cc",