Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsSuggestionsHelperTest.java19 import static android.view.textclassifier.ConversationActions.Message.PERSON_USER_OTHERS;
20 import static android.view.textclassifier.ConversationActions.Message.PERSON_USER_SELF;
72 ConversationActions.Message messageWithoutText = in testToNativeMessages_noTextMessages()
73 new ConversationActions.Message.Builder(PERSON_USER_OTHERS).build(); in testToNativeMessages_noTextMessages()
87 ConversationActions.Message firstMessage = in testToNativeMessages_userIdEncoding()
88 new ConversationActions.Message.Builder(userB) in testToNativeMessages_userIdEncoding()
91 ConversationActions.Message secondMessage = in testToNativeMessages_userIdEncoding()
92 new ConversationActions.Message.Builder(userA) in testToNativeMessages_userIdEncoding()
95 ConversationActions.Message thirdMessage = in testToNativeMessages_userIdEncoding()
96 new ConversationActions.Message.Builder(PERSON_USER_SELF) in testToNativeMessages_userIdEncoding()
[all …]
DTextClassifierTest.java419 ConversationActions.Message message = in testSuggestConversationActions_textReplyOnly_maxOne()
420 new ConversationActions.Message.Builder( in testSuggestConversationActions_textReplyOnly_maxOne()
421 ConversationActions.Message.PERSON_USER_OTHERS) in testSuggestConversationActions_textReplyOnly_maxOne()
429 ConversationActions.Request request = in testSuggestConversationActions_textReplyOnly_maxOne()
430 new ConversationActions.Request.Builder(Collections.singletonList(message)) in testSuggestConversationActions_textReplyOnly_maxOne()
435 ConversationActions conversationActions = mClassifier.suggestConversationActions(request); in testSuggestConversationActions_textReplyOnly_maxOne()
447 ConversationActions.Message message = in testSuggestConversationActions_textReplyOnly_noMax()
448 new ConversationActions.Message.Builder( in testSuggestConversationActions_textReplyOnly_noMax()
449 ConversationActions.Message.PERSON_USER_OTHERS) in testSuggestConversationActions_textReplyOnly_noMax()
457 ConversationActions.Request request = in testSuggestConversationActions_textReplyOnly_noMax()
[all …]
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/
DTextClassifierPerfTest.java69 ConversationActions.Request request = createConversationActionsRequest(text); in testSuggestConversationActions()
87 private static ConversationActions.Request createConversationActionsRequest(CharSequence text) { in createConversationActionsRequest()
88 ConversationActions.Message message = in createConversationActionsRequest()
89 new ConversationActions.Message.Builder( in createConversationActionsRequest()
90 ConversationActions.Message.PERSON_USER_OTHERS) in createConversationActionsRequest()
93 return new ConversationActions.Request.Builder(Collections.singletonList(message)) in createConversationActionsRequest()
/frameworks/base/core/java/android/view/textclassifier/
DConversationActions.java47 public final class ConversationActions implements Parcelable { class
49 public static final @android.annotation.NonNull Creator<ConversationActions> CREATOR =
50 new Creator<ConversationActions>() {
52 public ConversationActions createFromParcel(Parcel in) {
53 return new ConversationActions(in);
57 public ConversationActions[] newArray(int size) {
58 return new ConversationActions[size];
66 public ConversationActions( in ConversationActions() method in ConversationActions
73 private ConversationActions(Parcel in) { in ConversationActions() method in ConversationActions
DConversationActions.aidl19 parcelable ConversationActions;
20 parcelable ConversationActions.Request;
DActionsSuggestionsHelper.java74 List<ConversationActions.Message> messages, in toNativeMessages()
76 List<ConversationActions.Message> messagesWithText = in toNativeMessages()
87 ConversationActions.Message message = messagesWithText.get(i); in toNativeMessages()
108 List<ConversationActions.Message> messages, in createResultId()
218 if (ConversationActions.Message.PERSON_USER_SELF.equals(person)) {
231 private static int hashMessage(ConversationActions.Message message) {
DSystemTextClassifier.java201 public ConversationActions suggestConversationActions(ConversationActions.Request request) { in suggestConversationActions()
208 final BlockingCallback<ConversationActions> callback = in suggestConversationActions()
211 final ConversationActions conversationActions = callback.get(); in suggestConversationActions()
DTextClassifierImpl.java422 public ConversationActions suggestConversationActions(ConversationActions.Request request) { in suggestConversationActions()
461 private ConversationActions createConversationActionResult( in createConversationActionResult()
462 ConversationActions.Request request, in createConversationActionResult()
505 return new ConversationActions(conversationActions, resultId); in createConversationActionResult()
536 private Collection<String> resolveActionTypesFromRequest(ConversationActions.Request request) { in resolveActionTypesFromRequest()
538 request.getHints().contains(ConversationActions.Request.HINT_FOR_NOTIFICATION) in resolveActionTypesFromRequest()
DTextClassifier.java359 default ConversationActions suggestConversationActions( in suggestConversationActions()
360 @NonNull ConversationActions.Request request) { in suggestConversationActions()
363 return new ConversationActions(Collections.emptyList(), null); in suggestConversationActions()
/frameworks/base/core/java/android/service/textclassifier/
DITextClassifierService.aidl20 import android.view.textclassifier.ConversationActions;
75 in ConversationActions.Request request, in onSuggestConversationActions()
DTextClassifierService.java40 import android.view.textclassifier.ConversationActions;
175 ConversationActions.Request request,
286 @NonNull ConversationActions.Request request, in onSuggestConversationActions()
288 @NonNull Callback<ConversationActions> callback) { in onSuggestConversationActions()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java36 import android.view.textclassifier.ConversationActions;
275 ConversationActions.Request request, in onSuggestConversationActions()
/frameworks/base/config/
Dboot-image-profile.txt13421 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/ConversationActions$Request;Lan…
18242 HSPLandroid/view/textclassifier/ConversationActions$1;-><init>()V
18243 PLandroid/view/textclassifier/ConversationActions$Message$1;-><init>()V
18244 …ew/textclassifier/ConversationActions$Message$1;->createFromParcel(Landroid/os/Parcel;)Landroid/vi…
18245 PLandroid/view/textclassifier/ConversationActions$Message$1;->createFromParcel(Landroid/os/Parcel;)…
18246 PLandroid/view/textclassifier/ConversationActions$Message$Builder;-><init>(Landroid/app/Person;)V
18247 PLandroid/view/textclassifier/ConversationActions$Message$Builder;->build()Landroid/view/textclassi…
18248 …tclassifier/ConversationActions$Message$Builder;->setReferenceTime(Ljava/time/ZonedDateTime;)Landr…
18249 …w/textclassifier/ConversationActions$Message$Builder;->setText(Ljava/lang/CharSequence;)Landroid/v…
18250 HPLandroid/view/textclassifier/ConversationActions$Message;-><init>(Landroid/os/Parcel;)V
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt54773 public final class ConversationActions implements android.os.Parcelable {
54774 …ctor public ConversationActions(@NonNull java.util.List<android.view.textclassifier.ConversationAc…
54779 …tatic final android.os.Parcelable.Creator<android.view.textclassifier.ConversationActions> CREATOR;
54782 public static final class ConversationActions.Message implements android.os.Parcelable {
54789 …ic final android.os.Parcelable.Creator<android.view.textclassifier.ConversationActions.Message> CR…
54794 public static final class ConversationActions.Message.Builder {
54795 ctor public ConversationActions.Message.Builder(@NonNull android.app.Person);
54796 method @NonNull public android.view.textclassifier.ConversationActions.Message build();
54797 …method @NonNull public android.view.textclassifier.ConversationActions.Message.Builder setExtras(@…
54798 …method @NonNull public android.view.textclassifier.ConversationActions.Message.Builder setReferenc…
[all …]
Dsystem-current.txt7487ConversationActions.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.text…
/frameworks/base/api/
Dcurrent.txt54917 public final class ConversationActions implements android.os.Parcelable {
54918 …ctor public ConversationActions(@NonNull java.util.List<android.view.textclassifier.ConversationAc…
54923 …tatic final android.os.Parcelable.Creator<android.view.textclassifier.ConversationActions> CREATOR;
54926 public static final class ConversationActions.Message implements android.os.Parcelable {
54933 …ic final android.os.Parcelable.Creator<android.view.textclassifier.ConversationActions.Message> CR…
54938 public static final class ConversationActions.Message.Builder {
54939 ctor public ConversationActions.Message.Builder(@NonNull android.app.Person);
54940 method @NonNull public android.view.textclassifier.ConversationActions.Message build();
54941 …method @NonNull public android.view.textclassifier.ConversationActions.Message.Builder setExtras(@…
54942 …method @NonNull public android.view.textclassifier.ConversationActions.Message.Builder setReferenc…
[all …]
Dsystem-current.txt7589ConversationActions.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.text…
/frameworks/base/services/
Dart-profile13335 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/ConversationActions$Request;Lan…