Home
last modified time | relevance | path

Searched refs:GetEnv (Results 1 – 25 of 37) 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/tools/jvmti-agents/jit-load/
Djitload.cc94 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0) != JNI_OK && in SetupJvmti()
95 vm->GetEnv(reinterpret_cast<void**>(&jvmti), kArtTiVersion) != JNI_OK) { in SetupJvmti()
129 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)); in Agent_OnAttach()
/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/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/900-hello-plugin/
Dexpected-stdout.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/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/936-search-onload/
Dsearch_onload.cc39 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
/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/993-breakpoints-non-debuggable/
Donload.cc71 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), kArtTiVersion) != 0) { in OnLoad()
/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/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/benchmark/golem-tiagent/
Dgolem-tiagent.cc63 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad()
/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.cc277 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
434 vm->GetEnv(reinterpret_cast<void**>(&real_env), JVMTI_VERSION_1_0) != 0) { in Java_art_Redefinition_doCommonClassRetransformation()
453 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
469 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
Dframe_pop_helper.cc111 vm->GetEnv(reinterpret_cast<void**>(&out_jvmti_env), JVMTI_VERSION_1_0) != JNI_OK) { in Java_art_FramePop_makeJvmtiEnvForFramePop()
Dcommon_load.cc63 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in MinimalOnLoad()
/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.cc267 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1) != JNI_OK || in AgentStart()
297 vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_2); in AgentStart()
/art/tools/jvmti-agents/simple-profile/
Dsimple_profile.cc409 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv()
413 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
493 res = vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_2); in AgentStart()

12