Searched refs:jstring (Results 1 – 10 of 10) sorted by relevance
/libnativehelper/tests_mts/jni/ |
D | jni_helper_jni.cpp | 48 ScopedLocalRef<jstring> message(env, env->NewStringUTF(messageBuffer)); in AssertionError() 53 static void throwException(JNIEnv* env, jclass /*clazz*/, jstring className, jstring message) { in throwException() 61 jstring className, in throwExceptionWithIntFormat() 62 jstring format, in throwExceptionWithIntFormat() 71 jstring message) { in throwNullPointerException() 76 static void throwRuntimeException(JNIEnv* env, jclass /*clazz*/, jstring message) { in throwRuntimeException() 184 static jstring createString(JNIEnv* env, jclass /*clazz*/, jstring value) { in createString()
|
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_string_chars.h | 36 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars() 68 const jstring string_;
|
D | scoped_utf_chars.h | 37 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() 89 jstring string_;
|
/libnativehelper/ |
D | JNIHelp.c | 64 static bool AppendJString(JNIEnv* env, jstring text, struct ExpandableString* dst) { in AppendJString() 83 jstring className = (jstring) (*env)->CallObjectMethod(env, exceptionClass, getName); in GetExceptionSummary() 104 jstring message = (jstring) (*env)->CallObjectMethod(env, thrown, getMessage); in GetExceptionSummary() 135 static jstring StringWriterToString(JNIEnv* env, jobject stringWriter) { in StringWriterToString() 138 return (jstring) (*env)->CallObjectMethod(env, stringWriter, toString); in StringWriterToString() 171 jstring trace = StringWriterToString(env, sw); in GetStackTrace() 325 jstring jniCreateString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString()
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 104 jstring jniCreateString(C_JNIEnv* env, const jchar* unicodeChars, jsize len); 164 inline jstring jniCreateString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString() 168 inline jstring jniCreateString(JNIEnv* env, const char16_t* unicodeChars, jsize len) { in jniCreateString()
|
D | toStringArray.h | 35 ScopedLocalRef<jstring> s(env, env->NewStringUTF(visitor(i))); in toStringArray()
|
/libnativehelper/tests/ |
D | scoped_utf_chars_test.cpp | 21 void TestCompilationScopedUtfChars(JNIEnv* env, jstring s) { in TestCompilationScopedUtfChars()
|
D | JniSafeRegisterNativeMethods_test.cpp | 237 …ID_JNI_ARGUMENT_TYPE(false,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jstring>::value)); in TEST() 264 static void v_et(JNIEnv*, jstring) {} in v_et() 317 FN0(fr,NORMAL ,jstring) \ 339 FN(afr,NORMAL ,jstring,jstring) \ 639 EXPECT_EQUALISH_JNI_DESCRIPTORS("Ljava/lang/String;", jstring); in TEST() 917 jstring val) {} in android_os_Parcel_writeString() 946 static jstring android_os_Parcel_readString(JNIEnv* env, in android_os_Parcel_readString() 961 jstring name, in android_os_Parcel_openFileDescriptor() 1024 jstring name) {} in android_os_Parcel_writeInterfaceToken() 1030 jstring name) {} in android_os_Parcel_enforceInterface()
|
/libnativehelper/include_jni/ |
D | jni.h | 63 typedef _jstring* jstring; typedef 85 typedef jobject jstring; typedef 370 jstring (*NewString)(JNIEnv*, const jchar*, jsize); 371 jsize (*GetStringLength)(JNIEnv*, jstring); 372 const jchar* (*GetStringChars)(JNIEnv*, jstring, jboolean*); 373 void (*ReleaseStringChars)(JNIEnv*, jstring, const jchar*); 374 jstring (*NewStringUTF)(JNIEnv*, const char*); 375 jsize (*GetStringUTFLength)(JNIEnv*, jstring); 377 const char* (*GetStringUTFChars)(JNIEnv*, jstring, jboolean*); 378 void (*ReleaseStringUTFChars)(JNIEnv*, jstring, const char*); [all …]
|
/libnativehelper/include_platform_header_only/nativehelper/detail/ |
D | signature_checker.h | 784 TYPE_TRAIT_FN(jstring, "Ljava/lang/String;", kFastNative, kFinal, kSecondOrLate…
|