Home
last modified time | relevance | path

Searched refs:jstr (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/services/PacProcessor/jni/
Dcom_android_pacprocessor_PacNative.cpp49 String16 jstringToString16(JNIEnv* env, jstring jstr) { in jstringToString16() argument
50 const jchar* str = env->GetStringCritical(jstr, 0); in jstringToString16()
52 env->GetStringLength(jstr)); in jstringToString16()
53 env->ReleaseStringCritical(jstr, str); in jstringToString16()
/frameworks/base/core/jni/android/graphics/
DImageDecoder.cpp63 jstring jstr = nullptr; in throw_exception() local
65 jstr = env->NewStringUTF(msg); in throw_exception()
66 if (!jstr) { in throw_exception()
72 gDecodeException_constructorMethodID, error, jstr, cause, source); in throw_exception()
DBitmapFactory.cpp90 jstring jstr = nullptr; in encodedFormatToString() local
94 jstr = env->NewStringUTF(mimeType); in encodedFormatToString()
96 return jstr; in encodedFormatToString()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp224 ScopedLocalRef<jstring> jstr( in report_java_lang_error_fatal_error() local
229 if (jstr.get() != nullptr) { in report_java_lang_error_fatal_error()
230 ScopedUtfChars jstr_utf(env, jstr.get()); in report_java_lang_error_fatal_error()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp528 static String8 JStringToString8(JNIEnv *env, jstring const &jstr) { in JStringToString8() argument
531 const char *s = env->GetStringUTFChars(jstr, NULL); in JStringToString8()
534 env->ReleaseStringUTFChars(jstr, s); in JStringToString8()