Searched refs:jni_env (Results 1 – 4 of 4) 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()
|
/cts/tests/tests/text/jni/ |
D | android_text_format_cts_NativeTimeFunctions.cpp | 42 #define SET_TZ(jni_env, javaTzId) \ argument 49 ScopedUtfChars _tzId(jni_env, javaTzId); \
|