Searched refs:jni_env (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 32 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() argument 33 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName() 34 jmethodID mid = jni_env->GetMethodID(class_class.get(), "getName", "()Ljava/lang/String;"); in GetClassName() 36 jni_env, reinterpret_cast<jstring>(jni_env->CallObjectMethod(cls, mid))); in GetClassName() 37 ScopedUtfChars utf_chars(jni_env, str.get()); in GetClassName() 45 JNIEnv* jni_env, in ObjectAllocated() argument 50 std::string object_klass_descriptor = GetClassName(jni_env, object_klass); in ObjectAllocated() 51 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in ObjectAllocated() 52 std::string object_klass_descriptor2 = GetClassName(jni_env, object_klass2.get()); in ObjectAllocated()
|
D | redefine.cpp | 108 JNIEnv* jni_env ATTRIBUTE_UNUSED, in CommonClassFileLoadHookRetransformable()
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 34 static std::string GetClassName(jvmtiEnv* jenv, JNIEnv* jni_env, jclass klass) { in GetClassName() argument 38 if (jni_env != nullptr) { in GetClassName() 39 JvmtiErrorToException(jni_env, jenv, result); in GetClassName() 92 JNIEnv* jni_env, in ClassPrepareCallback() argument 95 std::string name = GetClassName(jenv, jni_env, klass); in ClassPrepareCallback()
|