Home
last modified time | relevance | path

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

123

/external/javasqlite/src/main/native/
Dsqlite_jni.h16 (JNIEnv *, jobject, jstring, jint);
24 (JNIEnv *, jobject, jstring);
48 (JNIEnv *, jobject, jstring, jobject);
56 (JNIEnv *, jobject, jstring, jobject, jobjectArray);
104 (JNIEnv *, jclass, jstring);
111 JNIEXPORT jstring JNICALL Java_SQLite_Database_version
119 JNIEXPORT jstring JNICALL Java_SQLite_Database_dbversion
128 (JNIEnv *, jobject, jstring, jint, jobject);
136 (JNIEnv *, jobject, jstring, jint, jobject);
144 (JNIEnv *, jobject, jstring, jint);
[all …]
/external/libmojo/base/android/
Djni_string.cc14 jstring ConvertUTF16ToJavaStringImpl(JNIEnv* env, in ConvertUTF16ToJavaStringImpl()
16 jstring result = env->NewString(str.data(), str.length()); in ConvertUTF16ToJavaStringImpl()
26 void ConvertJavaStringToUTF8(JNIEnv* env, jstring str, std::string* result) { in ConvertJavaStringToUTF8()
49 std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str) { in ConvertJavaStringToUTF8()
55 std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8()
59 std::string ConvertJavaStringToUTF8(JNIEnv* env, const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8()
63 ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( in ConvertUTF8ToJavaString()
73 return ScopedJavaLocalRef<jstring>(env, ConvertUTF16ToJavaStringImpl( in ConvertUTF8ToJavaString()
77 void ConvertJavaStringToUTF16(JNIEnv* env, jstring str, string16* result) { in ConvertJavaStringToUTF16()
99 string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str) { in ConvertJavaStringToUTF16()
[all …]
Djni_string.h20 jstring str,
22 BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str);
23 BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str);
25 const JavaRef<jstring>& str);
28 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString(
34 jstring str,
36 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str);
37 BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str);
39 const JavaRef<jstring>& str);
42 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString(
Dtrace_event_binding.cc30 TraceEventDataConverter(JNIEnv* env, jstring jname, jstring jarg) in TraceEventDataConverter()
85 const JavaParamRef<jstring>& jname, in Instant()
86 const JavaParamRef<jstring>& jarg) { in Instant()
100 const JavaParamRef<jstring>& jname, in Begin()
101 const JavaParamRef<jstring>& jarg) { in Begin()
113 const JavaParamRef<jstring>& jname, in End()
114 const JavaParamRef<jstring>& jarg) { in End()
134 const JavaParamRef<jstring>& jname, in StartAsync()
142 const JavaParamRef<jstring>& jname, in FinishAsync()
Dpath_utils.cc20 ScopedJavaLocalRef<jstring> path = in GetDataDirectory()
29 ScopedJavaLocalRef<jstring> path = in GetDatabaseDirectory()
38 ScopedJavaLocalRef<jstring> path = in GetCacheDirectory()
47 ScopedJavaLocalRef<jstring> path = in GetThumbnailCacheDirectory()
56 ScopedJavaLocalRef<jstring> path = in GetDownloadsDirectory()
65 ScopedJavaLocalRef<jstring> path = in GetNativeLibraryDirectory()
74 ScopedJavaLocalRef<jstring> path = in GetExternalStorageDirectory()
Drecord_histogram.cc53 jstring j_histogram_name, in CheckHistogramArgs()
66 jstring j_histogram_name, in BooleanHistogram()
80 jstring j_histogram_name, in EnumeratedHistogram()
100 jstring j_histogram_name, in CustomCountHistogram()
124 jstring j_histogram_name, in LinearCountHistogram()
148 jstring j_histogram_name, in SparseHistogram()
162 jstring j_histogram_name, in CustomTimesHistogram()
204 const JavaParamRef<jstring>& j_histogram_name, in RecordBooleanHistogram()
216 const JavaParamRef<jstring>& j_histogram_name, in RecordEnumeratedHistogram()
230 const JavaParamRef<jstring>& j_histogram_name, in RecordCustomCountHistogram()
[all …]
Dcommand_line_android.cc40 const JavaParamRef<jstring>& jswitch) { in HasSwitch()
45 static ScopedJavaLocalRef<jstring> GetSwitchValue( in GetSwitchValue()
48 const JavaParamRef<jstring>& jswitch) { in GetSwitchValue()
53 return ScopedJavaLocalRef<jstring>(); in GetSwitchValue()
59 const JavaParamRef<jstring>& jswitch) { in AppendSwitch()
66 const JavaParamRef<jstring>& jswitch, in AppendSwitchWithValue()
67 const JavaParamRef<jstring>& jvalue) { in AppendSwitchWithValue()
Dscoped_java_ref_unittest.cc70 ScopedJavaLocalRef<jstring> str = ConvertUTF8ToJavaString(env, "string"); in TEST_F()
71 ScopedJavaGlobalRef<jstring> global(str); in TEST_F()
81 const JavaRef<jstring>& str_ref = str; in TEST_F()
88 ScopedJavaLocalRef<jstring> str; in TEST_F()
97 ScopedJavaGlobalRef<jstring> global_str(str); in TEST_F()
102 ScopedJavaLocalRef<jstring> str2(env, str.Release()); in TEST_F()
105 ScopedJavaLocalRef<jstring> str3(str2); in TEST_F()
Dcontent_uri_utils.cc22 ScopedJavaLocalRef<jstring> j_uri = in ContentUriExists()
30 ScopedJavaLocalRef<jstring> j_uri = in OpenContentUriForRead()
41 ScopedJavaLocalRef<jstring> j_uri = in GetContentUriMimeType()
43 ScopedJavaLocalRef<jstring> j_mime = in GetContentUriMimeType()
Dfield_trial_list.cc16 static ScopedJavaLocalRef<jstring> FindFullName( in FindFullName()
19 const JavaParamRef<jstring>& jtrial_name) { in FindFullName()
27 const JavaParamRef<jstring>& jtrial_name) { in TrialExists()
/external/libmojo/base/android/jni_generator/
DtestNatives.golden48 jstring url,
49 jstring title,
56 JavaParamRef<jstring>(env, url), JavaParamRef<jstring>(env, title),
60 static ScopedJavaLocalRef<jstring> GetDomainAndRegistry(JNIEnv* env, const
62 const JavaParamRef<jstring>& url);
64 static jstring Java_org_chromium_TestJni_nativeGetDomainAndRegistry(JNIEnv* env,
66 jstring url) {
68 JavaParamRef<jstring>(env, url)).Release();
121 jstring url,
126 jstring title,
[all …]
DtestNativeExportsOption.golden98 static ScopedJavaLocalRef<jstring>
116 jstring ret =
117 static_cast<jstring>(env->CallObjectMethod(obj,
120 return ScopedJavaLocalRef<jstring>(env, ret);
173 static ScopedJavaLocalRef<jstring>
189 jstring ret =
190 static_cast<jstring>(env->CallStaticObjectMethod(SampleForTests_clazz(env),
193 return ScopedJavaLocalRef<jstring>(env, ret);
DtestNativeExportsOptionalOption.golden98 static ScopedJavaLocalRef<jstring>
116 jstring ret =
117 static_cast<jstring>(env->CallObjectMethod(obj,
120 return ScopedJavaLocalRef<jstring>(env, ret);
173 static ScopedJavaLocalRef<jstring>
189 jstring ret =
190 static_cast<jstring>(env->CallStaticObjectMethod(SampleForTests_clazz(env),
193 return ScopedJavaLocalRef<jstring>(env, ret);
Dgolden_sample_for_tests_jni.h45 const JavaParamRef<jstring>& param);
50 jstring param) { in Java_org_chromium_example_jni_1generator_SampleForTests_nativeInit()
52 JavaParamRef<jstring>(env, param)); in Java_org_chromium_example_jni_1generator_SampleForTests_nativeInit()
147 static jstring
257 jstring s) { in Java_InnerStructA_create()
353 static ScopedJavaLocalRef<jstring> Java_InnerStructB_getValue(JNIEnv* env, in Java_InnerStructB_getValue()
369 jstring ret = in Java_InnerStructB_getValue()
370 static_cast<jstring>(env->CallObjectMethod(obj, in Java_InnerStructB_getValue()
373 return ScopedJavaLocalRef<jstring>(env, ret); in Java_InnerStructB_getValue()
DtestCalledByNatives.golden37 jstring buttonOk,
38 jstring buttonCancel,
39 jstring title,
71 jstring realm,
72 jstring account,
73 jstring args) {
123 jstring realm,
124 jstring account,
125 jstring args) {
152 static ScopedJavaLocalRef<jobject> Java_TestJni_openUrl(JNIEnv* env, jstring
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp83 char* JNU_GetStringNativeChars(JNIEnv* env, jstring jstr) { in JNU_GetStringNativeChars()
122 JNIEnv* env, jclass clazz, jstring cmd, jobjectArray argArray, jobjectArray varArray, in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
123 jstring workingDirectory, in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
135 jstring arg = (jstring) env->GetObjectArrayElement(argArray, i); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
147 jstring var = (jstring) env->GetObjectArrayElement(varArray, i); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
Dcom_googlecode_android_scripting_Exec.h16 (JNIEnv *, jclass, jstring, jobjectArray, jobjectArray, jstring, jintArray);
/external/libtextclassifier/
Dtextclassifier_jni.cc33 bool JStringToUtf8String(JNIEnv* env, const jstring& jstr, in JStringToUtf8String()
44 jstring encoding = env->NewStringUTF("UTF-8"); in JStringToUtf8String()
62 std::string ToStlString(JNIEnv* env, const jstring& str) { in ToStlString()
79 jstring row_string = in ScoredStringsToJObjectArray()
172 JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin, in Java_android_view_textclassifier_SmartSelection_nativeSuggest()
192 JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin, in Java_android_view_textclassifier_SmartSelection_nativeClassifyText()
219 JNIEXPORT jstring JNICALL
247 jstring text) { in Java_android_view_textclassifier_LangId_nativeFindLanguages()
Dtextclassifier_jni.h37 JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
42 JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
50 JNIEXPORT jstring JNICALL
68 jstring text);
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc218 jstring j_mid = JavaStringFromStdString(jni(), candidate->sdp_mid()); in OnIceCandidate()
219 jstring j_sdp = JavaStringFromStdString(jni(), sdp); in OnIceCandidate()
284 jstring id = JavaStringFromStdString(jni(), track->id()); in OnAddStream()
307 jstring id = JavaStringFromStdString(jni(), track->id()); in OnAddStream()
456 jstring j_key = reinterpret_cast<jstring>( in PopulateConstraintsFromJavaPairList()
461 jstring j_value = reinterpret_cast<jstring>( in PopulateConstraintsFromJavaPairList()
478 jstring j_description = JavaStringFromStdString(jni, sdp); in JavaSdpFromNativeSdp()
485 jstring j_type_string = JavaStringFromStdString(jni, desc->type()); in JavaSdpFromNativeSdp()
537 jstring j_error_string = JavaStringFromStdString(jni(), error); in DoOnFailure()
672 jstring j_id = JavaStringFromStdString(jni, report->id()->ToString()); in ReportsToJava()
[all …]
Djni_helpers.h85 jstring GetStringField(JNIEnv* jni, jobject object, jfieldID id);
98 jstring JavaStringFromStdString(JNIEnv* jni, const std::string& native);
101 std::string JavaToStdString(JNIEnv* jni, const jstring& j_string);
Djni_helpers.cc199 jstring GetStringField(JNIEnv* jni, jobject object, jfieldID id) { in GetStringField()
200 return static_cast<jstring>(GetObjectField(jni, object, id)); in GetStringField()
229 jstring JavaStringFromStdString(JNIEnv* jni, const std::string& native) { in JavaStringFromStdString()
230 jstring jstr = jni->NewStringUTF(native.c_str()); in JavaStringFromStdString()
236 std::string JavaToStdString(JNIEnv* jni, const jstring& j_string) { in JavaToStdString()
/external/svox/pico/compat/jni/
Dcom_android_tts_compat_SynthProxy.cpp336 jstring nativeSoLib, jstring engConfig) in com_android_tts_compat_SynthProxy_native_setup()
406 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_isLanguageAvailable()
434 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_setLanguage()
465 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_loadLanguage()
493 jstring name, jstring value) in com_android_tts_compat_SynthProxy_setProperty()
521 jstring textJavaString, jobject request) in com_android_tts_compat_SynthProxy_speak()
/external/deqp/framework/platform/android/
DtcuTestLogParserJNI.cpp120 jstring jName = m_env->NewStringUTF(name); in sessionInfo()
121 jstring jValue = m_env->NewStringUTF(value); in sessionInfo()
130 jstring jTestCasePath = m_env->NewStringUTF(testCasePath); in beginTestCase()
143 jstring jReason = m_env->NewStringUTF(reason); in terminateTestCase()
151 jstring jStatusCode = m_env->NewStringUTF(statusCode); in testCaseResult()
152 jstring jDetails = m_env->NewStringUTF(details); in testCaseResult()
161 jstring logData = m_env->NewStringUTF(data); in testLogData()
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
Dorg_webrtc_voiceengine_test_AndroidTest.h88 (JNIEnv *, jobject, jint, jint, jstring);
144 (JNIEnv *, jobject, jint, jstring, jboolean);
160 (JNIEnv *, jobject, jint, jstring, jboolean);
176 (JNIEnv *, jobject, jint, jstring, jboolean);

123