Home
last modified time | relevance | path

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

/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/
Dandroid_virtualdevice_cts_camera_util_NativeCameraManager.cc63 static void executeInJvm(JavaVM* jvm, jniEnvCallable callable) { in executeInJvm() argument
64 if (jvm == nullptr) { in executeInJvm()
71 int status = jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_4); in executeInJvm()
75 int err = jvm->AttachCurrentThread(&env, /*thr_ags=*/nullptr); in executeInJvm()
89 jvm->DetachCurrentThread(); in executeInJvm()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c54 JavaVM *jvm; variable
93 (*jvm)->AttachCurrentThread(jvm, &env, NULL); in jni_attach_thread()
1910 (*e)->GetJavaVM(e, &jvm); in Java_android_security_cts_ExploitThread_runxpl()