Lines Matching refs:action_response
128 const ActionsSuggestionsResponse& action_response, in ActionSuggestionsToJObject() argument
174 JniHelper::NewObjectArray(env, action_response.actions.size(), in ActionSuggestionsToJObject()
176 for (int i = 0; i < action_response.actions.size(); i++) { in ActionSuggestionsToJObject()
181 !action_response.actions[i].serialized_entity_data.empty()) { in ActionSuggestionsToJObject()
185 action_response.actions[i].serialized_entity_data)); in ActionSuggestionsToJObject()
189 if (!action_response.actions[i].serialized_entity_data.empty()) { in ActionSuggestionsToJObject()
193 env, action_response.actions[i].serialized_entity_data.size())); in ActionSuggestionsToJObject()
196 action_response.actions[i].serialized_entity_data.size(), in ActionSuggestionsToJObject()
198 action_response.actions[i].serialized_entity_data.data()))); in ActionSuggestionsToJObject()
205 device_locales, action_response.actions[i], conversation, in ActionSuggestionsToJObject()
219 action_response.actions[i].response_text)); in ActionSuggestionsToJObject()
223 JniHelper::NewStringUTF(env, action_response.actions[i].type.c_str())); in ActionSuggestionsToJObject()
226 if (!action_response.actions[i].slots.empty()) { in ActionSuggestionsToJObject()
229 env, action_response.actions[i].slots.size(), in ActionSuggestionsToJObject()
231 for (int j = 0; j < action_response.actions[i].slots.size(); j++) { in ActionSuggestionsToJObject()
232 const Slot& slot_c = action_response.actions[i].slots[j]; in ActionSuggestionsToJObject()
253 static_cast<jfloat>(action_response.actions[i].score), extras.get(), in ActionSuggestionsToJObject()
269 actions.get(), action_response.is_sensitive)); in ActionSuggestionsToJObject()