/external/libchrome/base/android/ |
D | scoped_java_ref.h | 39 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 …]
|
D | scoped_java_ref.cc | 36 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()
|
D | jni_string.h | 23 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);
|
D | jni_string.cc | 55 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()
|
D | scoped_java_ref_unittest.cc | 75 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()
|
D | jni_android.h | 90 const JavaRef<jobject>& class_loader);
|
D | jni_android.cc | 95 const JavaRef<jobject>& class_loader) { in InitReplacementClassLoader()
|
/external/libchrome/base/android/jni_generator/ |
D | testConstantsFromJavaP.golden | 128 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 …]
|
D | testFromJavaP.golden | 42 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 …]
|
D | testCalledByNatives.golden | 53 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 …]
|
D | testFromJavaPGenerics.golden | 41 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) {
|
D | testMultipleJNIAdditionalImport.golden | 54 static void Java_Foo_calledByNative(JNIEnv* env, const base::android::JavaRef<jobject>& callback1, 55 const base::android::JavaRef<jobject>& callback2) {
|
D | testSingleJNIAdditionalImport.golden | 51 static void Java_Foo_calledByNative(JNIEnv* env, const base::android::JavaRef<jobject>& callback) {
|
D | testTracing.golden | 80 static void Java_Foo_callbackFromNative(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
|