Searched refs:jstr (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/services/PacProcessor/jni/ |
D | com_android_pacprocessor_PacNative.cpp | 49 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/ |
D | ImageDecoder.cpp | 63 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()
|
D | BitmapFactory.cpp | 90 jstring jstr = nullptr; in encodedFormatToString() local 94 jstr = env->NewStringUTF(mimeType); in encodedFormatToString() 96 return jstr; in encodedFormatToString()
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 224 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/ |
D | android_media_MediaDrm.cpp | 528 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()
|