Home
last modified time | relevance | path

Searched refs:jstring (Results 1 – 9 of 9) sorted by relevance

/libnativehelper/header_only_include/nativehelper/
Dscoped_string_chars.h34 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
66 const jstring string_;
Dscoped_utf_chars.h36 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
88 jstring string_;
/libnativehelper/
DJNIHelp.cpp86 scoped_local_ref<jstring> classNameStr(env, in getExceptionSummary()
87 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary()
105 scoped_local_ref<jstring> messageStr(env, in getExceptionSummary()
106 (jstring) (*env)->CallObjectMethod(e, exception, getMessage)); in getExceptionSummary()
169 scoped_local_ref<jstring> messageStr(env, in getStackTrace()
170 (jstring) (*env)->CallObjectMethod(e, stringWriter.get(), stringWriterToStringMethod)); in getStackTrace()
405 jstring jniCreateString(C_JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString()
/libnativehelper/include_jni/
Djni.h64 typedef _jstring* jstring; typedef
86 typedef jobject jstring; typedef
371 jstring (*NewString)(JNIEnv*, const jchar*, jsize);
372 jsize (*GetStringLength)(JNIEnv*, jstring);
373 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*);
374 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*);
375 jstring (*NewStringUTF)(JNIEnv*, const char*);
376 jsize (*GetStringUTFLength)(JNIEnv*, jstring);
378 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*);
379 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*);
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h110 inline jstring jniCreateString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString()
114 inline jstring jniCreateString(JNIEnv* env, const char16_t* unicodeChars, jsize len) { in jniCreateString()
DtoStringArray.h36 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i))); in toStringArray()
Dlibnativehelper_api.h168 jstring jniCreateString(C_JNIEnv* env, const jchar* unicodeChars, jsize len);
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp238 …ID_JNI_ARGUMENT_TYPE(false,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jstring>::value)); in TEST()
265 static void v_et(JNIEnv*, jstring) {} in v_et()
318 FN0(fr,NORMAL ,jstring) \
340 FN(afr,NORMAL ,jstring,jstring) \
640 EXPECT_EQUALISH_JNI_DESCRIPTORS("Ljava/lang/String;", jstring); in TEST()
918 jstring val) {} in android_os_Parcel_writeString()
947 static jstring android_os_Parcel_readString(JNIEnv* env, in android_os_Parcel_readString()
962 jstring name, in android_os_Parcel_openFileDescriptor()
1025 jstring name) {} in android_os_Parcel_writeInterfaceToken()
1031 jstring name) {} in android_os_Parcel_enforceInterface()
/libnativehelper/platform_include/nativehelper/detail/
Dsignature_checker.h785 TYPE_TRAIT_FN(jstring, "Ljava/lang/String;", kFastNative, kFinal, kSecondOrLate…