Home | History | Annotate | Download | only in android

Lines Matching refs:ScopedJavaLocalRef

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(
98 return ScopedJavaLocalRef<jfloatArray>(env, float_array);
101 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray(
107 ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray(
109 ScopedJavaLocalRef<jclass> byte_array_clazz = GetClass(env, "[B");
115 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray(
119 return ScopedJavaLocalRef<jobjectArray>(env, joa);
122 ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings(
124 ScopedJavaLocalRef<jclass> string_clazz = GetClass(env, "java/lang/String");
129 ScopedJavaLocalRef<jstring> item = ConvertUTF8ToJavaString(env, v[i]);
132 return ScopedJavaLocalRef<jobjectArray>(env, joa);
135 ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings(
137 ScopedJavaLocalRef<jclass> string_clazz = GetClass(env, "java/lang/String");
142 ScopedJavaLocalRef<jstring> item = ConvertUTF16ToJavaString(env, v[i]);
145 return ScopedJavaLocalRef<jobjectArray>(env, joa);
158 ScopedJavaLocalRef<jstring> str(env,
174 ScopedJavaLocalRef<jstring> str(env,
257 ScopedJavaLocalRef<jbyteArray> bytes_array(
275 ScopedJavaLocalRef<jintArray> int_array(