Home
last modified time | relevance | path

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

/external/libtextclassifier/actions/
Dactions_jni.cc123 const std::vector<ActionSuggestion>& action_result, in ActionSuggestionsToJObjectArray() argument
141 env->NewObjectArray(action_result.size(), result_class.get(), nullptr); in ActionSuggestionsToJObjectArray()
142 for (int i = 0; i < action_result.size(); i++) { in ActionSuggestionsToJObjectArray()
148 !action_result[i].serialized_entity_data.empty()) { in ActionSuggestionsToJObjectArray()
150 actions_entity_data_schema, action_result[i].serialized_entity_data); in ActionSuggestionsToJObjectArray()
154 if (!action_result[i].serialized_entity_data.empty()) { in ActionSuggestionsToJObjectArray()
156 env->NewByteArray(action_result[i].serialized_entity_data.size()); in ActionSuggestionsToJObjectArray()
159 action_result[i].serialized_entity_data.size(), in ActionSuggestionsToJObjectArray()
161 action_result[i].serialized_entity_data.data())); in ActionSuggestionsToJObjectArray()
168 device_locales, action_result[i], conversation, app_context, in ActionSuggestionsToJObjectArray()
[all …]