Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc46 const std::vector<Locale>& device_locales, in AnnotatorJniEnvironment() argument
51 : JniLuaEnvironment(resources, jni_cache, context, device_locales), in AnnotatorJniEnvironment()
80 const jobject context, const std::vector<Locale>& device_locales, in ActionsJniLuaEnvironment() argument
84 : JniLuaEnvironment(resources, jni_cache, context, device_locales), in ActionsJniLuaEnvironment()
153 const jstring device_locales) const { in ParseDeviceLocales()
154 if (device_locales == nullptr) { in ParseDeviceLocales()
159 JStringToUtf8String(jni_cache_->GetEnv(), device_locales); in ParseDeviceLocales()
174 const jstring device_locales, const ClassificationResult& classification, in GenerateIntents() argument
197 ParseDeviceLocales(device_locales), entity_text, classification, in GenerateIntents()
209 const jstring device_locales, const ActionSuggestion& action, in GenerateIntents() argument
[all …]
Dintent-generator.h51 bool GenerateIntents(const jstring device_locales,
63 bool GenerateIntents(const jstring device_locales,
78 std::vector<Locale> ParseDeviceLocales(const jstring device_locales) const;
Djni-lua.h40 const std::vector<Locale>& device_locales);
Djni-lua.cc48 const std::vector<Locale>& device_locales) in JniLuaEnvironment() argument
54 device_locales_(device_locales), in JniLuaEnvironment()
Dintent-generator-test-lib.cc219 string_value = external.android.device_locales[1].language }, in TEST_F()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc130 const jstring device_locales, const ClassificationOptions* options, in ClassificationResultWithIntentsToJObject() argument
275 device_locales, classification_result, in ClassificationResultWithIntentsToJObject()
305 const jstring device_locales, const ClassificationOptions* options, in ClassificationResultsWithIntentsToJObjectArray() argument
356 datetime_parse_class_constructor, device_locales, options, context, in ClassificationResultsWithIntentsToJObjectArray()
655 jstring device_locales) { in TC3_JNI_METHOD()
677 env, model_context, app_context, device_locales, in TC3_JNI_METHOD()
Dannotator_jni.h69 jstring device_locales);
/external/libtextclassifier/native/actions/
Dactions_jni.cc129 const Conversation& conversation, const jstring device_locales, in ActionSuggestionsToJObject() argument
205 device_locales, action_response.actions[i], conversation, in ActionSuggestionsToJObject()
500 jlong annotatorPtr, jobject app_context, jstring device_locales, in TC3_JNI_METHOD()
523 conversation, device_locales, generate_intents)); in TC3_JNI_METHOD()
Dactions_jni.h50 jlong annotatorPtr, jobject app_context, jstring device_locales,