Searched refs:jstring (Results 1 – 9 of 9) sorted by relevance
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_string_chars.h | 34 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars() 66 const jstring string_;
|
D | scoped_utf_chars.h | 36 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() 88 jstring string_;
|
/libnativehelper/ |
D | JNIHelp.cpp | 86 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/ |
D | jni.h | 64 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/ |
D | JNIHelp.h | 110 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()
|
D | toStringArray.h | 36 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i))); in toStringArray()
|
D | libnativehelper_api.h | 168 jstring jniCreateString(C_JNIEnv* env, const jchar* unicodeChars, jsize len);
|
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 238 …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/ |
D | signature_checker.h | 785 TYPE_TRAIT_FN(jstring, "Ljava/lang/String;", kFastNative, kFinal, kSecondOrLate…
|