Home
last modified time | relevance | path

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

/external/libchrome/base/android/
Dscoped_java_ref.h39 template<typename T> class JavaRef; variable
45 class BASE_EXPORT JavaRef<jobject> {
48 constexpr JavaRef() : obj_(nullptr) {} in JavaRef() function
53 constexpr JavaRef(std::nullptr_t) : JavaRef() {} in JavaRef() function
57 ~JavaRef() {} in ~JavaRef()
68 JavaRef(JNIEnv* env, jobject obj);
71 JavaRef(JNIEnv* env, jobject obj) : obj_(obj) {}
74 void swap(JavaRef& other) { std::swap(obj_, other.obj_); } in swap()
87 DISALLOW_COPY_AND_ASSIGN(JavaRef);
94 class JavaRef : public JavaRef<jobject> {
[all …]
Dscoped_java_ref.cc36 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef() function in base::android::JavaRef
43 JNIEnv* JavaRef<jobject>::SetNewLocalRef(JNIEnv* env, jobject obj) { in SetNewLocalRef()
57 void JavaRef<jobject>::SetNewGlobalRef(JNIEnv* env, jobject obj) { in SetNewGlobalRef()
70 void JavaRef<jobject>::ResetLocalRef(JNIEnv* env) { in ResetLocalRef()
78 void JavaRef<jobject>::ResetGlobalRef() { in ResetGlobalRef()
85 jobject JavaRef<jobject>::ReleaseInternal() { in ReleaseInternal()
Djni_string.h23 BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str);
25 const JavaRef<jstring>& str);
37 BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str);
39 const JavaRef<jstring>& str);
Djni_string.cc55 std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8()
59 std::string ConvertJavaStringToUTF8(JNIEnv* env, const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8()
105 string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str) { in ConvertJavaStringToUTF16()
109 string16 ConvertJavaStringToUTF16(JNIEnv* env, const JavaRef<jstring>& str) { in ConvertJavaStringToUTF16()
Dscoped_java_ref_unittest.cc75 const JavaRef<jobject>& obj_ref1(str); in TEST_F()
76 const JavaRef<jobject>& obj_ref2(global); in TEST_F()
81 const JavaRef<jstring>& str_ref = str; in TEST_F()
Djni_android.h90 const JavaRef<jobject>& class_loader);
Djni_android.cc95 const JavaRef<jobject>& class_loader) { in InitReplacementClassLoader()
/external/libchrome/base/android/jni_generator/
DtestConstantsFromJavaP.golden128 static void Java_MotionEvent_finalize(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
130 static void Java_MotionEvent_finalize(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
152 const base::android::JavaRef<jobjectArray>& p4,
153 const base::android::JavaRef<jobjectArray>& p5,
167 const base::android::JavaRef<jobjectArray>& p4,
168 const base::android::JavaRef<jobjectArray>& p5,
201 const base::android::JavaRef<jintArray>& p4,
202 const base::android::JavaRef<jobjectArray>& p5,
215 const base::android::JavaRef<jintArray>& p4,
216 const base::android::JavaRef<jobjectArray>& p5,
[all …]
DtestFromJavaP.golden42 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
44 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
62 static void Java_InputStream_close(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
64 static void Java_InputStream_close(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
80 static void Java_InputStream_mark(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
82 static void Java_InputStream_mark(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
99 static jboolean Java_InputStream_markSupported(JNIEnv* env, const base::android::JavaRef<jobject>&
101 static jboolean Java_InputStream_markSupported(JNIEnv* env, const base::android::JavaRef<jobject>&
120 static jint Java_InputStream_readI(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
122 static jint Java_InputStream_readI(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
[all …]
DtestCalledByNatives.golden53 base::android::JavaRef<jobject>& obj, JniIntWrapper nativeInfoBar,
54 const base::android::JavaRef<jstring>& buttonOk,
55 const base::android::JavaRef<jstring>& buttonCancel,
56 const base::android::JavaRef<jstring>& title,
57 const base::android::JavaRef<jobject>& icon) {
77 const base::android::JavaRef<jobject>& obj, JniIntWrapper nativeInfoBar,
78 const base::android::JavaRef<jstring>& realm,
79 const base::android::JavaRef<jstring>& account,
80 const base::android::JavaRef<jstring>& args) {
98 static void Java_InfoBar_dismiss(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
[all …]
DtestFromJavaPGenerics.golden41 static void Java_HashSet_dummy(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
43 static void Java_HashSet_dummy(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
60 base::android::JavaRef<jobject>& obj) __attribute__ ((unused));
62 base::android::JavaRef<jobject>& obj) {
DtestMultipleJNIAdditionalImport.golden54 static void Java_Foo_calledByNative(JNIEnv* env, const base::android::JavaRef<jobject>& callback1,
55 const base::android::JavaRef<jobject>& callback2) {
DtestSingleJNIAdditionalImport.golden51 static void Java_Foo_calledByNative(JNIEnv* env, const base::android::JavaRef<jobject>& callback) {
DtestTracing.golden80 static void Java_Foo_callbackFromNative(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {