HomeSort by relevance Sort by last modified time
    Searched refs:ScopedJavaLocalRef (Results 1 - 25 of 30) sorted by null

1 2

  /external/libmojo/base/android/
jni_utils.cc 14 ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env) {
path_utils.cc 20 ScopedJavaLocalRef<jstring> path = Java_PathUtils_getDataDirectory(env);
28 ScopedJavaLocalRef<jstring> path = Java_PathUtils_getDatabaseDirectory(env);
36 ScopedJavaLocalRef<jstring> path = Java_PathUtils_getCacheDirectory(env);
44 ScopedJavaLocalRef<jstring> path =
53 ScopedJavaLocalRef<jstring> path = Java_PathUtils_getDownloadsDirectory(env);
61 ScopedJavaLocalRef<jstring> path =
70 ScopedJavaLocalRef<jstring> path =
jni_utils.h 19 BASE_EXPORT ScopedJavaLocalRef<jobject> GetClassLoader(JNIEnv* env);
jni_array.h 21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
25 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(
30 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
33 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
37 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
41 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(
46 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray(
49 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray(
54 BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray(
57 BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings
    [all...]
content_uri_utils.cc 13 using base::android::ScopedJavaLocalRef;
19 ScopedJavaLocalRef<jstring> j_uri =
27 ScopedJavaLocalRef<jstring> j_uri =
38 ScopedJavaLocalRef<jstring> j_uri =
40 ScopedJavaLocalRef<jstring> j_mime = Java_ContentUriUtils_getMimeType(
java_message_handler_factory.h 23 virtual base::android::ScopedJavaLocalRef<jobject> CreateMessageHandler(
java_runtime.cc 14 base::android::ScopedJavaLocalRef<jobject> runtime =
locale_utils.cc 21 ScopedJavaLocalRef<jstring> locale =
jni_array.cc 28 ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
39 return ScopedJavaLocalRef<jbyteArray>(env, byte_array);
42 ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(
48 ScopedJavaLocalRef<jintArray> ToJavaIntArray(
58 return ScopedJavaLocalRef<jintArray>(env, int_array);
61 ScopedJavaLocalRef<jintArray> ToJavaIntArray(
66 ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
77 return ScopedJavaLocalRef<jlongArray>(env, long_array);
81 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(
88 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray
    [all...]
scoped_java_ref_unittest.cc 70 ScopedJavaLocalRef<jstring> str = ConvertUTF8ToJavaString(env, "string");
74 ScopedJavaLocalRef<jobject> local_obj(global);
88 ScopedJavaLocalRef<jstring> str;
102 ScopedJavaLocalRef<jstring> str2(env, str.Release());
105 ScopedJavaLocalRef<jstring> str3(str2);
110 ScopedJavaLocalRef<jstring> str4((ScopedJavaLocalRef<jstring>(str2)));
115 ScopedJavaLocalRef<jstring> str5;
116 str5 = ScopedJavaLocalRef<jstring>(str2);
scoped_java_ref.h 43 // ScopedJavaLocalRef<jstring> into a function taking const JavaRef<jobject>&
90 // Generic base class for ScopedJavaLocalRef and ScopedJavaGlobalRef. Useful
147 class ScopedJavaLocalRef : public JavaRef<T> {
149 ScopedJavaLocalRef() : env_(nullptr) {}
150 ScopedJavaLocalRef(std::nullptr_t) : env_(nullptr) {}
152 // Non-explicit copy constructor, to allow ScopedJavaLocalRef to be returned
154 ScopedJavaLocalRef(const ScopedJavaLocalRef<T>& other)
159 ScopedJavaLocalRef(ScopedJavaLocalRef<T>&& other) : env_(other.env_)
    [all...]
field_trial_list.cc 16 using base::android::ScopedJavaLocalRef;
18 static ScopedJavaLocalRef<jstring> FindFullName(
jni_weak_ref.h 30 base::android::ScopedJavaLocalRef<jobject> get(JNIEnv* env) const;
47 // ScopedJavaLocalRef.
48 BASE_EXPORT base::android::ScopedJavaLocalRef<jobject> GetRealObject(
jni_weak_ref.cc 56 base::android::ScopedJavaLocalRef<jobject>
61 base::android::ScopedJavaLocalRef<jobject> GetRealObject(
66 return base::android::ScopedJavaLocalRef<jobject>(env, real);
jni_array_unittest.cc 24 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen);
28 ScopedJavaLocalRef<jbyteArray> bytesFromVector =
52 const ScopedJavaLocalRef<jintArray>& ints) {
80 const ScopedJavaLocalRef<jlongArray>& longs) {
106 ScopedJavaLocalRef<jintArray> jints,
120 const ScopedJavaLocalRef<jfloatArray>& floats) {
150 ScopedJavaLocalRef<jintArray> jints(env, env->NewIntArray(kLen));
172 ScopedJavaLocalRef<jlongArray> jlongs(env, env->NewLongArray(kLen));
200 ScopedJavaLocalRef<jlongArray> jlongs(env, env->NewLongArray(kLen));
227 ScopedJavaLocalRef<jfloatArray> jfloats(env, env->NewFloatArray(kLen))
    [all...]
jni_string.cc 63 ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString(
73 return ScopedJavaLocalRef<jstring>(env, ConvertUTF16ToJavaStringImpl(
113 ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString(
116 return ScopedJavaLocalRef<jstring>(env,
jni_string.h 28 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString(
42 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString(
jni_android.cc 22 using base::android::ScopedJavaLocalRef;
91 ScopedJavaLocalRef<jclass> class_loader_clazz =
104 ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, const char* class_name) {
132 return ScopedJavaLocalRef<jclass>(env, clazz);
256 ScopedJavaLocalRef<jclass> throwable_clazz =
264 ScopedJavaLocalRef<jclass> bytearray_output_stream_clazz =
273 ScopedJavaLocalRef<jobject> bytearray_output_stream(env,
278 ScopedJavaLocalRef<jclass> printstream_clazz =
284 ScopedJavaLocalRef<jobject> printstream(env,
293 ScopedJavaLocalRef<jstring> exception_string
    [all...]
command_line_android.cc 16 using base::android::ScopedJavaLocalRef;
47 static ScopedJavaLocalRef<jstring> GetSwitchValue(
55 return ScopedJavaLocalRef<jstring>();
apk_assets.cc 24 ScopedJavaLocalRef<jlongArray> jarr = Java_ApkAssets_open(
  /external/libmojo/base/android/jni_generator/
sample_for_tests.cc 20 using base::android::ScopedJavaLocalRef;
72 ScopedJavaLocalRef<jstring> CPPClass::ReturnAString(
97 static ScopedJavaLocalRef<jobject> GetNonPODDatatype(
100 return ScopedJavaLocalRef<jobject>();
120 ScopedJavaLocalRef<jobject> my_java_object;
128 ScopedJavaLocalRef<jobject> struct_a =
sample_for_tests.h 113 base::android::ScopedJavaLocalRef<jstring> ReturnAString(
  /external/libmojo/mojo/android/javatests/
validation_test_util.cc 18 using base::android::ScopedJavaLocalRef;
27 ScopedJavaLocalRef<jobject> ParseData(
38 ScopedJavaLocalRef<jstring> j_error_message =
  /external/libchrome/base/test/
multiprocess_test_android.cc 44 android::ScopedJavaLocalRef<jobjectArray> fds =
54 android::ScopedJavaLocalRef<jobjectArray> j_argv =
70 base::android::ScopedJavaLocalRef<jobject> result_code =
  /external/libmojo/mojo/android/system/
core_impl.cc 22 using base::android::ScopedJavaLocalRef;
64 static ScopedJavaLocalRef<jobject> CreateMessagePipe(
84 static ScopedJavaLocalRef<jobject> CreateDataPipe(
104 static ScopedJavaLocalRef<jobject> CreateSharedBuffer(
174 static ScopedJavaLocalRef<jobject> ReadMessage(
202 static ScopedJavaLocalRef<jobject> ReadData(
222 static ScopedJavaLocalRef<jobject> BeginReadData(
247 static ScopedJavaLocalRef<jobject> WriteData(
264 static ScopedJavaLocalRef<jobject> BeginWriteData(
288 static ScopedJavaLocalRef<jobject> Duplicate
    [all...]

Completed in 501 milliseconds

1 2