Searched refs:jni_env (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 31 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()
|
D | redefine.cpp | 107 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()
|