Home
last modified time | relevance | path

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

/third_party/flutter/engine/flutter/fml/platform/android/
Dscoped_java_ref.h35 class JavaRef; variable
41 class JavaRef<jobject> {
49 JavaRef();
53 JavaRef(JNIEnv* env, jobject obj);
55 ~JavaRef();
68 FML_DISALLOW_COPY_AND_ASSIGN(JavaRef);
75 class JavaRef : public JavaRef<jobject> {
77 T obj() const { return static_cast<T>(JavaRef<jobject>::obj()); } in obj()
80 JavaRef() {} in JavaRef() function
81 ~JavaRef() {} in ~JavaRef()
[all …]
Dscoped_java_ref.cc30 JavaRef<jobject>::JavaRef() : obj_(NULL) {} in JavaRef() function in fml::jni::JavaRef
32 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef() function in fml::jni::JavaRef
38 JavaRef<jobject>::~JavaRef() = default;
40 JNIEnv* JavaRef<jobject>::SetNewLocalRef(JNIEnv* env, jobject obj) { in SetNewLocalRef()
54 void JavaRef<jobject>::SetNewGlobalRef(JNIEnv* env, jobject obj) { in SetNewGlobalRef()
67 void JavaRef<jobject>::ResetLocalRef(JNIEnv* env) { in ResetLocalRef()
75 void JavaRef<jobject>::ResetGlobalRef() { in ResetGlobalRef()
82 jobject JavaRef<jobject>::ReleaseInternal() { in ReleaseInternal()