Searched refs:jvmti_env (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 57 jvmtiError ret = jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, 60 if (JvmtiErrorToException(env, jvmti_env, ret)) { 63 ret = jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, 66 JvmtiErrorToException(env, jvmti_env, ret); 74 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); 75 if (JvmtiErrorToException(env, jvmti_env, ret)) { 79 ret = jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, 82 if (JvmtiErrorToException(env, jvmti_env, ret)) { 85 ret = jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, 88 JvmtiErrorToException(env, jvmti_env, ret); [all …]
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tagging.cpp | 32 jvmtiError ret = jvmti_env->SetTag(obj, tag); in Java_android_jvmti_cts_JniBindings_setTag() 33 JvmtiErrorToException(env, jvmti_env, ret); in Java_android_jvmti_cts_JniBindings_setTag() 39 jvmtiError ret = jvmti_env->GetTag(obj, &tag); in Java_android_jvmti_cts_JniBindings_getTag() 40 if (JvmtiErrorToException(env, jvmti_env, ret)) { in Java_android_jvmti_cts_JniBindings_getTag() 68 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(), in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 73 if (JvmtiErrorToException(env, jvmti_env, ret)) { in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 90 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, result_object_array)); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 102 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, result_tag_array)); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
|
D | cts_agent.cpp | 62 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad() 66 SetStandardCapabilities(jvmti_env); in Agent_OnLoad() 77 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnAttach() 81 SetStandardCapabilities(jvmti_env); in Agent_OnAttach() 82 InformMainAttach(jvmti_env, env, kMainClass, kMainClassStartup); in Agent_OnAttach()
|
D | redefine.cpp | 41 jvmtiError res =jvmti_env->Allocate(def.class_byte_count, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 49 res = jvmti_env->RedefineClasses(1, &def); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 55 return jvmti_env->RetransformClasses(1, &target); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_retransformClass() 138 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEventCallbacks(&cb, sizeof(cb)))) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 142 jvmti_env, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 143 jvmti_env->SetEventNotificationMode( in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
|
D | tracking.cpp | 67 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 68 JvmtiErrorToException(env, jvmti_env, ret); in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 73 jvmtiError ret = jvmti_env->SetEventNotificationMode( in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() 77 JvmtiErrorToException(env, jvmti_env, ret); in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
|
/cts/tests/signature/api-check/src/jni/ |
D | classdescriptors.cpp | 32 static jvmtiEnv* jvmti_env; variable 37 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(t)); in Dealloc() 91 jint jvmError = vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_2); in Agent_OnAttach() 107 jvmtiError error = get_descriptor_list(jvmti_env, loader, &cnt, &classes); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors() 135 jvmtiError err = jvmti_env->GetExtensionFunctions(&functionInfosCount, &functionInfos); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize() 169 error = (getFields != JNI_FALSE) ? jvmti_env->GetClassFields(klass, &count, fids.GetPtr()) in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() 170 : jvmti_env->GetClassMethods(klass, &count, mids.GetPtr()); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() 193 ? jvmti_env->GetFieldName(klass, fids.Get()[i], name.GetPtr(), type.GetPtr(), nullptr) in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() 194 : jvmti_env->GetMethodName(mids.Get()[i], name.GetPtr(), type.GetPtr(), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
|