Searched refs:conversationActions (Results 1 – 6 of 6) sorted by relevance
199 List<ConversationAction> conversationActions = in testDeduplicateActions() local205 assertThat(conversationActions).hasSize(3); in testDeduplicateActions()206 assertThat(conversationActions.get(0).getAction().getContentDescription()).isEqualTo("4"); in testDeduplicateActions()207 assertThat(conversationActions.get(1).getAction().getContentDescription()).isEqualTo("5"); in testDeduplicateActions()208 assertThat(conversationActions.get(2).getAction()).isNull(); in testDeduplicateActions()234 List<ConversationAction> conversationActions = in testDeduplicateActions_nullComponent() local238 assertThat(conversationActions).isEmpty(); in testDeduplicateActions_nullComponent()
435 ConversationActions conversationActions = mClassifier.suggestConversationActions(request); in testSuggestConversationActions_textReplyOnly_maxOne() local436 Truth.assertThat(conversationActions.getConversationActions()).hasSize(1); in testSuggestConversationActions_textReplyOnly_maxOne()437 ConversationAction conversationAction = conversationActions.getConversationActions().get(0); in testSuggestConversationActions_textReplyOnly_maxOne()462 ConversationActions conversationActions = mClassifier.suggestConversationActions(request); in testSuggestConversationActions_textReplyOnly_noMax() local463 assertTrue(conversationActions.getConversationActions().size() > 1); in testSuggestConversationActions_textReplyOnly_noMax()465 conversationActions.getConversationActions()) { in testSuggestConversationActions_textReplyOnly_noMax()490 ConversationActions conversationActions = mClassifier.suggestConversationActions(request); in testSuggestConversationActions_openUrl() local491 Truth.assertThat(conversationActions.getConversationActions()).hasSize(1); in testSuggestConversationActions_openUrl()492 ConversationAction conversationAction = conversationActions.getConversationActions().get(0); in testSuggestConversationActions_openUrl()519 ConversationActions conversationActions = mClassifier.suggestConversationActions(request); in testSuggestConversationActions_copy() local[all …]
176 List<ConversationAction> conversationActions) {180 for (ConversationAction conversationAction : conversationActions) {189 for (ConversationAction conversationAction : conversationActions) {
465 List<ConversationAction> conversationActions = new ArrayList<>(); in createConversationActionResult() local486 conversationActions.add( in createConversationActionResult()494 conversationActions = in createConversationActionResult()495 ActionsSuggestionsHelper.removeActionsWithDuplicates(conversationActions); in createConversationActionResult()497 && conversationActions.size() > request.getMaxSuggestions()) { in createConversationActionResult()498 conversationActions = conversationActions.subList(0, request.getMaxSuggestions()); in createConversationActionResult()505 return new ConversationActions(conversationActions, resultId); in createConversationActionResult()
211 final ConversationActions conversationActions = callback.get(); in suggestConversationActions() local212 if (conversationActions != null) { in suggestConversationActions()213 return conversationActions; in suggestConversationActions()
67 @NonNull List<ConversationAction> conversationActions, @Nullable String id) { in ConversationActions()69 Collections.unmodifiableList(Preconditions.checkNotNull(conversationActions)); in ConversationActions()