Home
last modified time | relevance | path

Searched refs:NewStringUTF (Results 1 – 25 of 35) sorted by relevance

12

/external/libtextclassifier/annotator/
Dannotator_jni.cc124 env->NewStringUTF(classification_result.collection.c_str()); in ClassificationResultWithIntentsToJObject()
149 env->NewStringUTF(classification_result.contact_name.c_str()); in ClassificationResultWithIntentsToJObject()
155 env->NewStringUTF(classification_result.contact_given_name.c_str()); in ClassificationResultWithIntentsToJObject()
161 env->NewStringUTF(classification_result.contact_nickname.c_str()); in ClassificationResultWithIntentsToJObject()
167 env->NewStringUTF(classification_result.contact_email_address.c_str()); in ClassificationResultWithIntentsToJObject()
173 env->NewStringUTF(classification_result.contact_phone_number.c_str()); in ClassificationResultWithIntentsToJObject()
178 contact_id = env->NewStringUTF(classification_result.contact_id.c_str()); in ClassificationResultWithIntentsToJObject()
183 app_name = env->NewStringUTF(classification_result.app_name.c_str()); in ClassificationResultWithIntentsToJObject()
189 env->NewStringUTF(classification_result.app_package_name.c_str()); in ClassificationResultWithIntentsToJObject()
359 return env->NewStringUTF(""); in GetLocalesFromMmap()
[all …]
/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()
DtcuAndroidExecService.cpp96 logFileName = env->NewStringUTF(LOG_FILE_NAME); in TestProcess()
170 nameStr = env->NewStringUTF(name); in start()
173 paramsStr = env->NewStringUTF(params); in start()
176 caseListStr = env->NewStringUTF(caseList); in start()
DtcuAndroidUtil.cpp171 const LocalRef extraName (env, env->NewStringUTF(name)); in getIntentStringExtra()
398 const LocalRef nameStr (env, env->NewStringUTF(name)); in hasSystemFeature()
/external/libtextclassifier/actions/
Dactions_jni.cc182 env->NewStringUTF(action_result[i].type.c_str()), in ActionSuggestionsToJObjectArray()
270 return env->NewStringUTF(""); in GetLocalesFromMmap()
275 return env->NewStringUTF(""); in GetLocalesFromMmap()
277 return env->NewStringUTF(model->locales()->c_str()); in GetLocalesFromMmap()
294 return env->NewStringUTF(""); in GetNameFromMmap()
299 return env->NewStringUTF(""); in GetNameFromMmap()
301 return env->NewStringUTF(model->name()->c_str()); in GetNameFromMmap()
/external/libtextclassifier/utils/calendar/
Dcalendar-javaicu.cc90 jenv_->NewStringUTF(time_zone.c_str())); in Initialize()
104 jenv_->NewStringUTF(locale.c_str())); in Initialize()
111 jenv_->NewStringUTF(GetFirstBcp47Tag(locale).c_str())); in Initialize()
/external/tensorflow/tensorflow/java/src/main/native/
Doperation_jni.cc50 return env->NewStringUTF(TF_OperationName(op)); in Java_org_tensorflow_Operation_name()
58 return env->NewStringUTF(TF_OperationOpType(op)); in Java_org_tensorflow_Operation_type()
Dtensorflow_jni.cc24 return env->NewStringUTF(TF_Version()); in Java_org_tensorflow_TensorFlow_version()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensorflow_lite_jni.cc25 return env->NewStringUTF(buf); in Java_org_tensorflow_lite_TensorFlowLite_version()
Dnativeinterpreterwrapper_jni.cc147 env->NewObjectArray(size, string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames()
150 env->NewStringUTF(interpreter->GetInputName(i))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames()
222 env->NewObjectArray(size, string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames()
225 names, i, env->NewStringUTF(interpreter->GetOutputName(i))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames()
/external/libtextclassifier/utils/java/
Dstring_utils.cc54 jstring encoding = env->NewStringUTF("UTF-8"); in JStringToUtf8String()
Djni-cache.cc129 result->string_utf8 = MakeGlobalRef(env->NewStringUTF("UTF-8"), env, jvm); in Create()
/external/tensorflow/tensorflow/contrib/android/jni/
Drun_stats_jni.cc80 return env->NewStringUTF(ret.str().c_str()); in RUN_STATS_METHOD()
/external/skqp/tools/sk_app/android/
Dsurface_glue_android.cpp96 jstring titleString = fPThreadEnv->NewStringUTF(title); in setTitle()
102 jstring jstr = fPThreadEnv->NewStringUTF(state); in setUIState()
/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp96 jstring titleString = fPThreadEnv->NewStringUTF(title); in setTitle()
102 jstring jstr = fPThreadEnv->NewStringUTF(state); in setUIState()
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc126 return env->NewStringUTF(reply.c_str()); in Java_io_grpc_helloworldexample_cpp_HelloworldActivity_sayHello()
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/
Dsmartreply_jni.cc111 CheckNotNull(env, env->NewStringUTF(responses[i].GetText().data())); in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc148 MakeGlobalRef(jenv_->NewStringUTF("string"), jenv_, jni_cache_->jvm); in Initialize()
150 MakeGlobalRef(jenv_->NewStringUTF("android"), jenv_, jni_cache_->jvm); in Initialize()
528 ScopedLocalRef<jstring> service(jenv_->NewStringUTF("user")); in RetrieveUserManager()
/external/libtextclassifier/lang_id/
Dlang-id_jni.cc58 env->NewStringUTF(predictions[i].first.c_str()), in LangIdResultToJObjectArray()
/external/skia/tools/skqp/src/
Djni_skqp.cpp67 jstring jstr = env->NewStringUTF(s); in set_string_array_element()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp67 jstring jstr = env->NewStringUTF(s); in set_string_array_element()
/external/javasqlite/src/main/native/
Dsqlite_jni.c423 dest->jstr = (*env)->NewStringUTF(env, src); in trans2utf()
921 return (*env)->NewStringUTF(env, sqlite_libversion()); in Java_SQLite_Database_version()
924 return (*env)->NewStringUTF(env, sqlite_libversion()); in Java_SQLite_Database_version()
926 return (*env)->NewStringUTF(env, sqlite3_libversion()); in Java_SQLite_Database_version()
939 return (*env)->NewStringUTF(env, sqlite3_libversion()); in Java_SQLite_Database_dbversion()
941 return (*env)->NewStringUTF(env, sqlite_libversion()); in Java_SQLite_Database_dbversion()
945 return (*env)->NewStringUTF(env, sqlite_libversion()); in Java_SQLite_Database_dbversion()
947 return (*env)->NewStringUTF(env, sqlite3_libversion()); in Java_SQLite_Database_dbversion()
951 return (*env)->NewStringUTF(env, "unknown"); in Java_SQLite_Database_dbversion()
2249 return (*env)->NewStringUTF(env, sqlite_error_string((int) err)); in Java_SQLite_Database_error_1string()
[all …]
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc230 jstring jstr = jni->NewStringUTF(native.c_str()); in JavaStringFromStdString()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/jni/staticjvmtiagent/
Dagent.cc110 jstring nameStr = env->NewStringUTF(name); in Transform()
831 return env->NewStringUTF(calledClass.c_str()); in Java_com_android_dx_mockito_inline_StaticMockMethodAdvice_nativeGetCalledClassName()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc151 jstring j_path = env->NewStringUTF(path.c_str()); in LoadPngFromAssetManager()

12