Searched refs:GetEnv (Results 1 - 23 of 23) sorted by relevance

/art/benchmark/
H A Djni_loader.cc23 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) {
/art/test/909-attach-agent/
H A Dattach.cc52 if (vm->GetEnv(reinterpret_cast<void**>(&env), kArtTiVersion) == JNI_OK) {
60 if (vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0) != JNI_OK) {
64 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0));
66 Println("GetEnv returned same environment twice!");
/art/test/1941-dispose-stress/
H A Ddispose_stress.cc52 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
/art/test/936-search-onload/
H A Dsearch_onload.cc39 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
/art/test/1909-per-agent-tls/
H A Dagent_tls.cc66 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
/art/test/900-hello-plugin/
H A Dload_unload.cc62 jint res = vm->GetEnv(reinterpret_cast<void**>(&env), TEST_900_ENV_VERSION_NUMBER);
64 printf("GetEnv(TEST_900_ENV_VERSION_NUMBER) returned non-zero\n");
66 printf("GetEnv returned '%" PRIdPTR "' environment!\n", env);
/art/test/901-hello-ti-agent/
H A Dbasics.cc101 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0));
102 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0));
104 printf("GetEnv returned same environment twice!\n");
137 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
/art/test/905-object-free/
H A Dtracking_free.cc64 CHECK_EQ(jvm->GetEnv(reinterpret_cast<void**>(&jvmti_env2), JVMTI_VERSION_1_2), 0);
/art/test/ti-agent/
H A Dcommon_load.cc62 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) {
H A Dframe_pop_helper.cc111 vm->GetEnv(reinterpret_cast<void**>(&out_jvmti_env), JVMTI_VERSION_1_0) != JNI_OK) {
H A Dredefinition_helper.cc174 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
330 vm->GetEnv(reinterpret_cast<void**>(&real_env), JVMTI_VERSION_1_0) != 0) {
349 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
365 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
/art/tools/wrapagentproperties/
H A Dwrapagentproperties.cc106 return vm->real_vm->GetEnv(out_env, version);
117 out->GetEnv = reinterpret_cast<jint(*)(JavaVM*, void**, jint)>(WrapGetEnv);
234 jint res = vm->real_vm->GetEnv(out_env, version);
/art/test/1900-track-alloc/
H A Dalloc.cc107 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
/art/test/903-hello-tagging/
H A Dtagging.cc113 CHECK_EQ(0, jvm->GetEnv(reinterpret_cast<void**>(&new_jvmti_env), JVMTI_VERSION_1_0));
/art/tools/breakpoint-logger/
H A Dbreakpoint_logger.cc358 res = vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1);
418 res = vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_2);
/art/openjdkjvmti/
H A Dart_jvmti.h125 jint res = reinterpret_cast<ArtJvmTiEnv*>(env)->art_vm->GetEnv(
H A Dtransform.cc337 jint ret = env->art_vm->GetEnv(reinterpret_cast<void**>(&jni_env), JNI_VERSION_1_1);
/art/test/1919-vminit-thread-start-timing/
H A Dvminit.cc140 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) {
/art/tools/titrace/
H A Dtitrace.cc245 res = jvm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1);
/art/test/ti-stress/
H A Dstress.cc738 if (vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)) {
775 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0)) {
/art/test/115-native-bridge/
H A Dnativebridge.cc51 vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6);
/art/runtime/
H A Djava_vm_ext.cc382 static jint GetEnv(JavaVM* vm, void** env, jint version) { function in class:art::JII
448 JII::GetEnv,
505 LOG(ERROR) << "Error returned from a plugin GetEnv handler! " << res;
509 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version;
513 // Add a hook to handle getting environments from the GetEnv call.
H A Dcheck_jni.cc537 // use DetachCurrentThread or GetEnv on a thread that's not yet attached.
585 // use DetachCurrentThread or GetEnv on a thread that's not yet attached.
4045 static jint GetEnv(JavaVM* vm, void** p_env, jint version) { function in class:art::__anon84::CheckJII
4050 result.i = BaseVm(vm)->GetEnv(vm, p_env, version);
4068 CheckJII::GetEnv,

Completed in 1894 milliseconds