Home
last modified time | relevance | path

Searched refs:GetEnv (Results 1 – 25 of 34) sorted by relevance

12

/art/test/909-attach-agent/
Dattach.cc52 if (vm->GetEnv(reinterpret_cast<void**>(&env), kArtTiVersion) == JNI_OK) { in OnAttach()
60 if (vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0) != JNI_OK) { in OnAttach()
64 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnAttach()
/art/test/904-object-allocation/
Dtracking.cc54 : obj_(GetEnv()->NewGlobalRef(src.obj_)) {} in ScopedGlobalRef()
60 GetEnv()->DeleteGlobalRef(obj_); in ~ScopedGlobalRef()
68 JNIEnv* GetEnv() const { in GetEnv() function in art::Test904ObjectAllocation::ScopedGlobalRef
70 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), 0); in GetEnv()
/art/benchmark/
Djni_loader.cc23 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/art/tools/jvmti-agents/jit-load/
Djitload.cc96 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0) != JNI_OK && in SetupJvmti()
97 vm->GetEnv(reinterpret_cast<void**>(&jvmti), kArtTiVersion) != JNI_OK) { in SetupJvmti()
131 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)); in Agent_OnAttach()
/art/test/900-hello-plugin/
Dexpected.txt5 GetEnv returned '900' environment!
Dload_unload.cc62 jint res = vm->GetEnv(reinterpret_cast<void**>(&env), TEST_900_ENV_VERSION_NUMBER); in Agent_OnLoad()
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc79 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
83 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
94 CHECK_EQ(java_vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in DataDumpRequestCb()
193 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in AgentStart()
/art/test/936-search-onload/
Dsearch_onload.cc39 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
/art/test/901-hello-ti-agent/
Dbasics.cc101 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0)); in OnLoad()
102 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnLoad()
137 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
/art/tools/jvmti-agents/dump-jvmti-state/
Ddump-jvmti.cc49 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
53 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc81 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
85 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
/art/test/1941-dispose-stress/
Ddispose_stress.cc52 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) { in Java_art_Test1941_AllocEnv()
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc81 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
85 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
96 CHECK_EQ(java_vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in DataDumpRequestCb()
251 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in AgentStart()
/art/test/1909-per-agent-tls/
Dagent_tls.cc66 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) { in Java_art_Test1909_newJvmtiEnv()
/art/tools/jvmti-agents/list-extensions/
Dlist-extensions.cc88 res = vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
92 res = vm->GetEnv(reinterpret_cast<void**>(&env), kArtTiVersion); in SetupJvmtiEnv()
/art/test/ti-agent/
Dredefinition_helper.cc264 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
420 vm->GetEnv(reinterpret_cast<void**>(&real_env), JVMTI_VERSION_1_0) != 0) { in Java_art_Redefinition_doCommonClassRetransformation()
439 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
455 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
Dcommon_load.cc62 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in MinimalOnLoad()
Dframe_pop_helper.cc111 vm->GetEnv(reinterpret_cast<void**>(&out_jvmti_env), JVMTI_VERSION_1_0) != JNI_OK) { in Java_art_FramePop_makeJvmtiEnvForFramePop()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc106 return vm->real_vm->GetEnv(out_env, version); in WrapGetEnv()
117 out->GetEnv = reinterpret_cast<jint(*)(JavaVM*, void**, jint)>(WrapGetEnv); in CreateInvokeInterface()
236 jint res = vm->real_vm->GetEnv(out_env, version); in CreateJvmtiEnv()
/art/tools/jvmti-agents/titrace/
Dtitrace.cc247 res = jvm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1); in Agent_OnLoad()
250 res = jvm->GetEnv(reinterpret_cast<void**>(&jvmti), kArtTiVersion); in Agent_OnLoad()
/art/test/905-object-free/
Dtracking_free.cc71 CHECK_EQ(jvm->GetEnv(reinterpret_cast<void**>(&jvmti_env2), JVMTI_VERSION_1_2), 0); in Java_art_Test905_setupObjectFreeCallback()
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc269 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1) != JNI_OK || in AgentStart()
299 vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_2); in AgentStart()
/art/test/1900-track-alloc/
Dalloc.cc107 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) { in Java_art_Test1900_newJvmtiEnv()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc358 jint res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
361 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
/art/test/903-hello-tagging/
Dtagging.cc113 CHECK_EQ(0, jvm->GetEnv(reinterpret_cast<void**>(&new_jvmti_env), JVMTI_VERSION_1_0)); in CreateJvmtiEnv()

12