Lines Matching refs:jvmtiEnv
40 static jvmtiEnv* localJvmtiEnv;
62 Transform(jvmtiEnv* jvmti_env, in Transform()
689 InspectClass(jvmtiEnv* jvmtiEnv, in InspectClass() argument
705 jvmtiError error = jvmtiEnv->GetMethodName(frameToInspect->method, &calledMethodName, in InspectClass()
759 jvmtiEnv *jvmtiEnv; in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName() local
760 jvmError = vm->GetEnv(reinterpret_cast<void**>(&jvmtiEnv), JVMTI_VERSION_1_2); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
769 jvmtiError error = jvmtiEnv->AddCapabilities(&caps); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
778 error = jvmtiEnv->GetStackTrace(nullptr, 0, REALMETHOD_CALL_STACK_FRAME + 1, frameInfo, in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
792 jvmtiEnv->GetMethodName(frameInfo[DIRECT_CALL_STACK_FRAME].method, in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
802 error = jvmtiEnv->GetMethodDeclaringClass(frameInfo[callingFrameNum].method, &callingClass); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
805 error = jvmtiEnv->SetEventCallbacks(&cb, sizeof(cb)); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
808 error = jvmtiEnv->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_CLASS_FILE_LOAD_HOOK, in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
813 error = jvmtiEnv->RetransformClasses(1, &callingClass); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
817 jvmtiEnv->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_CLASS_FILE_LOAD_HOOK, in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
822 jvmtiEnv->SetEventCallbacks(&cb, sizeof(cb)); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
825 jvmtiEnv->DisposeEnvironment(); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()