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 | 31 jvmtiError ret = jvmti_env->SetTag(obj, tag); in Java_android_jvmti_cts_JniBindings_setTag() 32 JvmtiErrorToException(env, jvmti_env, ret); in Java_android_jvmti_cts_JniBindings_setTag() 38 jvmtiError ret = jvmti_env->GetTag(obj, &tag); in Java_android_jvmti_cts_JniBindings_getTag() 39 if (JvmtiErrorToException(env, jvmti_env, ret)) { in Java_android_jvmti_cts_JniBindings_getTag() 67 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(), in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 72 if (JvmtiErrorToException(env, jvmti_env, ret)) { in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 89 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, result_object_array)); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects() 101 CheckJvmtiError(jvmti_env, Deallocate(jvmti_env, result_tag_array)); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
|
D | cts_agent.cpp | 48 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad() 52 SetStandardCapabilities(jvmti_env); in Agent_OnLoad() 63 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnAttach() 67 SetStandardCapabilities(jvmti_env); in Agent_OnAttach() 68 InformMainAttach(jvmti_env, env, kMainClass, kMainClassStartup); in Agent_OnAttach()
|
D | redefine.cpp | 40 jvmtiError res =jvmti_env->Allocate(def.class_byte_count, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 48 res = jvmti_env->RedefineClasses(1, &def); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 54 return jvmti_env->RetransformClasses(1, &target); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_retransformClass() 137 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEventCallbacks(&cb, sizeof(cb)))) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 141 jvmti_env, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent() 142 jvmti_env->SetEventNotificationMode( in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
|
D | tracking.cpp | 66 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 67 JvmtiErrorToException(env, jvmti_env, ret); in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 72 jvmtiError ret = jvmti_env->SetEventNotificationMode( in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() 76 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()
|