Home
last modified time | relevance | path

Searched refs:RemoteInput (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/app/
DRemoteInput.java71 public final class RemoteInput implements Parcelable { class
126 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() method in RemoteInput
362 public RemoteInput build() { in build()
363 return new RemoteInput(mResultKey, mLabel, mChoices, mFlags, mEditChoicesBeforeSending, in build()
368 private RemoteInput(Parcel in) { in RemoteInput() method in RemoteInput
446 public static void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, in addResultsToIntent()
456 for (RemoteInput remoteInput : remoteInputs) { in addResultsToIntent()
478 public static void addDataResultToIntent(RemoteInput remoteInput, Intent intent, in addDataResultToIntent()
564 …lic static final @android.annotation.NonNull Creator<RemoteInput> CREATOR = new Creator<RemoteInpu…
566 public RemoteInput createFromParcel(Parcel in) {
[all …]
DNotification.java1456 private final RemoteInput[] mRemoteInputs;
1492 mRemoteInputs = in.createTypedArray(RemoteInput.CREATOR); in Action()
1509 RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Action()
1555 public RemoteInput[] getRemoteInputs() { in getRemoteInputs()
1587 public RemoteInput[] getDataOnlyRemoteInputs() { in getDataOnlyRemoteInputs()
1588 return (RemoteInput[]) mExtras.getParcelableArray(EXTRA_DATA_ONLY_INPUTS); in getDataOnlyRemoteInputs()
1600 @Nullable private ArrayList<RemoteInput> mRemoteInputs;
1638 @Nullable RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Builder()
1645 mRemoteInputs = new ArrayList<RemoteInput>(remoteInputs.length); in Builder()
1685 public Builder addRemoteInput(RemoteInput remoteInput) { in addRemoteInput()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyConstantsTest.java23 import android.app.RemoteInput;
129 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
132 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
135 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
144 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
147 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
150 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
159 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
162 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
165 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
DRemoteInputViewTest.java22 import android.app.RemoteInput;
101 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).build(); in setTestPendingIntent()
104 view.setRemoteInput(new RemoteInput[]{input}, input, null /* editedSuggestionInfo */); in setTestPendingIntent()
123 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource()
124 assertEquals(RemoteInput.SOURCE_FREE_FORM_INPUT, in testSendRemoteInput_intentContainsResultsAndSource()
125 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
DSmartReplyViewTest.java34 import android.app.RemoteInput;
161 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource()
162 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource()
193 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard()
194 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard()
236 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived()
237 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived()
251 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
252 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
469 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).setChoices(choices).build(); in inflateSmartReplies()
DInflatedSmartRepliesTest.java27 import android.app.RemoteInput;
71 @Mock RemoteInput mRemoteInput;
72 @Mock RemoteInput mFreeFormRemoteInput;
405 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in setupAppGeneratedReplies()
413 Pair<RemoteInput, Notification.Action> freeFormRemoteInputActionPair = in setupAppGeneratedReplies()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationUiAdjustmentTest.java22 import android.app.RemoteInput;
106 RemoteInput firstRemoteInput = in needReinflate_differentChoices()
108 RemoteInput secondRemoteInput = in needReinflate_differentChoices()
131 RemoteInput firstRemoteInput = in needReinflate_differentRemoteInputLabel()
133 RemoteInput secondRemoteInput = in needReinflate_differentRemoteInputLabel()
155 RemoteInput firstRemoteInput = in needReinflate_negative()
157 RemoteInput secondRemoteInput = in needReinflate_negative()
196 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput()
197 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java21 import android.app.RemoteInput;
120 @Nullable RemoteInput[] first, @Nullable RemoteInput[] second) { in areDifferent()
131 RemoteInput firstRemoteInput = first[i]; in areDifferent()
132 RemoteInput secondRemoteInput = second[i]; in areDifferent()
DNotificationRemoteInputManager.java29 import android.app.RemoteInput;
231 RemoteInput[] inputs = null;
232 if (tag instanceof RemoteInput[]) {
233 inputs = (RemoteInput[]) tag;
240 RemoteInput input = null;
242 for (RemoteInput i : inputs) {
361 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput()
DRemoteInputController.java20 import android.app.RemoteInput;
75 RemoteInput[] remoteInputs = action.getRemoteInputs(); in processForRemoteInput()
79 for (RemoteInput ri : remoteInputs) { in processForRemoteInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java25 import android.app.RemoteInput;
86 private RemoteInput[] mRemoteInputs;
87 private RemoteInput mRemoteInput;
148 RemoteInput.addResultsToIntent(mRemoteInputs, fillInIntent, in sendRemoteInput()
151 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_FREE_FORM_INPUT); in sendRemoteInput()
153 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_CHOICE); in sendRemoteInput()
287 public void setRemoteInput(RemoteInput[] remoteInputs, RemoteInput remoteInput, in setRemoteInput()
434 RemoteInput[] inputs = a.getRemoteInputs(); in updatePendingIntentFromActions()
443 RemoteInput input = null; in updatePendingIntentFromActions()
444 for (RemoteInput i : inputs) { in updatePendingIntentFromActions()
DSmartReplyConstants.java21 import android.app.RemoteInput;
195 @RemoteInput.EditChoicesBeforeSending int remoteInputEditChoicesBeforeSending) { in getEffectiveEditChoicesBeforeSending()
197 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED: in getEffectiveEditChoicesBeforeSending()
199 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED: in getEffectiveEditChoicesBeforeSending()
201 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO: in getEffectiveEditChoicesBeforeSending()
DInflatedSmartReplies.java22 import android.app.RemoteInput;
172 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in chooseSmartRepliesAndActions()
174 Pair<RemoteInput, Notification.Action> freeformRemoteInputActionPair = in chooseSmartRepliesAndActions()
DSmartReplyView.java7 import android.app.RemoteInput;
280 new RemoteInput[] { smartReplies.remoteInput }, smartReplies.remoteInput, in inflateReplyButton()
291 RemoteInput.addResultsToIntent(new RemoteInput[] { smartReplies.remoteInput }, intent, in inflateReplyButton()
293 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE); in inflateReplyButton()
948 public final RemoteInput remoteInput;
955 public SmartReplies(CharSequence[] choices, RemoteInput remoteInput, in SmartReplies()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java34 import android.app.RemoteInput;
529 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs()
536 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs()
561 RemoteInput remoteInput = new RemoteInput.Builder("a").build(); in testFreeformRemoteInputActionPair_hasRemoteInput()
578 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_hasRemoteInput()
593 new RemoteInput.Builder("a") in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput()
605 RemoteInput remoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
606 new RemoteInput.Builder("a").setAllowFreeFormInput(false).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
607 RemoteInput freeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
608 new RemoteInput.Builder("b").setAllowFreeFormInput(true).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
[all …]
DNotificationManagerServiceTest.java90 import android.app.RemoteInput;
4534 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testFlagBubbleNotifs_flag_messaging()
5180 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testNotificationBubbles_flagAutoExpandForeground_fails_notForeground()
5237 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testNotificationBubbles_flagAutoExpandForeground_succeeds_foreground()
/frameworks/base/core/java/android/app/slice/
DSliceItem.java22 import android.app.RemoteInput;
231 public RemoteInput getRemoteInput() { in getRemoteInput()
232 return (RemoteInput) mObj; in getRemoteInput()
374 return RemoteInput.CREATOR.createFromParcel(in); in readObj()
DSlice.java23 import android.app.RemoteInput;
481 public Slice.Builder addRemoteInput(RemoteInput remoteInput, in addRemoteInput()
/frameworks/base/core/java/android/service/notification/
DNotificationStats.java23 import android.app.RemoteInput;
/frameworks/base/core/java/android/widget/
DRemoteViews.java30 import android.app.RemoteInput;
277 public void setRemoteInputs(int viewId, RemoteInput[] remoteInputs) { in setRemoteInputs()
2090 public SetRemoteInputsAction(int viewId, RemoteInput[] remoteInputs) {
2097 remoteInputs = parcel.createTypedArray(RemoteInput.CREATOR);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java121 import android.app.RemoteInput;
5068 RemoteInput[] inputs = action.getRemoteInputs();
/frameworks/base/config/
Dpreloaded-classes334 android.app.RemoteInput$1
335 android.app.RemoteInput
Dboot-image-profile.txt1764 …java/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZI)V
1770 …ava/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZ)V
1775 HSPLandroid/app/Notification$Action;->getRemoteInputs()[Landroid/app/RemoteInput;
2063 HSPLandroid/app/RemoteInput$1;-><init>()V
2064 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/RemoteInput;
2065 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
2066 HSPLandroid/app/RemoteInput$1;->newArray(I)[Landroid/app/RemoteInput;
2067 HSPLandroid/app/RemoteInput$1;->newArray(I)[Ljava/lang/Object;
2068 HSPLandroid/app/RemoteInput;-><init>(Landroid/os/Parcel;)V
2069 HPLandroid/app/RemoteInput;->getAllowFreeFormInput()Z
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt5415 method public android.app.RemoteInput[] getDataOnlyRemoteInputs();
5418 method public android.app.RemoteInput[] getRemoteInputs();
5444 …od @NonNull public android.app.Notification.Action.Builder addRemoteInput(android.app.RemoteInput);
5613 …otification.CarExtender.Builder setReplyAction(android.app.PendingIntent, android.app.RemoteInput);
5622 method public android.app.RemoteInput getRemoteInput();
6049 public final class RemoteInput implements android.os.Parcelable {
6050 …method public static void addDataResultToIntent(android.app.RemoteInput, android.content.Intent, j…
6051 …method public static void addResultsToIntent(android.app.RemoteInput[], android.content.Intent, an…
6066 … field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteInput> CREATOR;
6076 public static final class RemoteInput.Builder {
[all …]
/frameworks/base/api/
Dcurrent.txt5415 method public android.app.RemoteInput[] getDataOnlyRemoteInputs();
5418 method public android.app.RemoteInput[] getRemoteInputs();
5444 …od @NonNull public android.app.Notification.Action.Builder addRemoteInput(android.app.RemoteInput);
5613 …otification.CarExtender.Builder setReplyAction(android.app.PendingIntent, android.app.RemoteInput);
5622 method public android.app.RemoteInput getRemoteInput();
6049 public final class RemoteInput implements android.os.Parcelable {
6050 …method public static void addDataResultToIntent(android.app.RemoteInput, android.content.Intent, j…
6051 …method public static void addResultsToIntent(android.app.RemoteInput[], android.content.Intent, an…
6066 … field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteInput> CREATOR;
6076 public static final class RemoteInput.Builder {
[all …]

12