Home
last modified time | relevance | path

Searched refs:jni_env (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp31 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() argument
32 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName()
33 jmethodID mid = jni_env->GetMethodID(class_class.get(), "getName", "()Ljava/lang/String;"); in GetClassName()
35 jni_env, reinterpret_cast<jstring>(jni_env->CallObjectMethod(cls, mid))); in GetClassName()
36 ScopedUtfChars utf_chars(jni_env, str.get()); in GetClassName()
44 JNIEnv* jni_env, in ObjectAllocated() argument
49 std::string object_klass_descriptor = GetClassName(jni_env, object_klass); in ObjectAllocated()
50 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in ObjectAllocated()
51 std::string object_klass_descriptor2 = GetClassName(jni_env, object_klass2.get()); in ObjectAllocated()
Dredefine.cpp107 JNIEnv* jni_env ATTRIBUTE_UNUSED, in CommonClassFileLoadHookRetransformable()