Home
last modified time | relevance | path

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

/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/
DLabeledIntentTest.java66 assertThat(result.remoteAction.getTitle().toString()).isEqualTo(TITLE_WITH_ENTITY); in resolve_preferTitleWithEntity()
67 assertThat(result.remoteAction.getContentDescription().toString()).isEqualTo(DESCRIPTION); in resolve_preferTitleWithEntity()
81 assertThat(result.remoteAction.getTitle().toString()).isEqualTo(TITLE_WITHOUT_ENTITY); in resolve_useAvailableTitle()
82 assertThat(result.remoteAction.getContentDescription().toString()).isEqualTo(DESCRIPTION); in resolve_useAvailableTitle()
97 assertThat(result.remoteAction.getTitle().toString()).isEqualTo("chooser"); in resolve_titleChooser()
98 assertThat(result.remoteAction.getContentDescription().toString()).isEqualTo(DESCRIPTION); in resolve_titleChooser()
113 assertThat(result.remoteAction.getTitle().toString()).isEqualTo(TITLE_WITHOUT_ENTITY); in resolve_titleChooserReturnsNull()
114 assertThat(result.remoteAction.getContentDescription().toString()).isEqualTo(DESCRIPTION); in resolve_titleChooserReturnsNull()
154 assertThat(result.remoteAction.getContentDescription().toString()) in resolve_descriptionWithAppName()
178 assertThat(result.remoteAction.getTitle().toString()).isEqualTo(TITLE_WITH_ENTITY); in resolve_noVisibilityToWebIntentHandler()
[all …]
/external/libtextclassifier/notification/src/com/android/textclassifier/notification/
DSmartSuggestionsHelper.java145 RemoteAction remoteAction = conversationAction.getAction(); in onNotificationEnqueued() local
146 if (remoteAction == null) { in onNotificationEnqueued()
151 remoteAction, in onNotificationEnqueued()
216 RemoteAction remoteAction = in createCopyCodeAction() local
228 remoteAction, TYPE_COPY, conversationAction.getConfidenceScore()); in createCopyCodeAction()
380 RemoteAction remoteAction, String actionType, float score) { in createNotificationActionFromRemoteAction() argument
382 remoteAction.shouldShowIcon() in createNotificationActionFromRemoteAction()
383 ? remoteAction.getIcon() in createNotificationActionFromRemoteAction()
389 icon, remoteAction.getTitle(), remoteAction.getActionIntent()) in createNotificationActionFromRemoteAction()
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DLabeledIntent.java248 public final RemoteActionCompat remoteAction; field in LabeledIntent.Result
250 public Result(Intent resolvedIntent, RemoteActionCompat remoteAction) { in Result() argument
252 this.remoteAction = Preconditions.checkNotNull(remoteAction); in Result()
/external/libtextclassifier/java/src/com/android/textclassifier/
DActionsSuggestionsHelper.java195 RemoteAction remoteAction = conversationAction.getAction();
196 if (remoteAction == null) {
DTextClassifierImpl.java455 RemoteAction remoteAction = null; in createConversationActionResult() local
458 remoteAction = labeledIntentResult.remoteAction.toRemoteAction(); in createConversationActionResult()
469 .setAction(remoteAction) in createConversationActionResult()
635 final RemoteAction action = result.remoteAction.toRemoteAction(); in createClassificationResult()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java293 assertThat(labeledIntentResult.remoteAction.getTitle().toString()).isEqualTo("title"); in createLabeledIntentResult()