Home
last modified time | relevance | path

Searched refs:RemoteInput (Results 1 – 25 of 26) 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.java1449 private final RemoteInput[] mRemoteInputs;
1485 mRemoteInputs = in.createTypedArray(RemoteInput.CREATOR); in Action()
1502 RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Action()
1548 public RemoteInput[] getRemoteInputs() { in getRemoteInputs()
1580 public RemoteInput[] getDataOnlyRemoteInputs() { in getDataOnlyRemoteInputs()
1581 return (RemoteInput[]) mExtras.getParcelableArray(EXTRA_DATA_ONLY_INPUTS); in getDataOnlyRemoteInputs()
1593 @Nullable private ArrayList<RemoteInput> mRemoteInputs;
1631 @Nullable RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Builder()
1638 mRemoteInputs = new ArrayList<RemoteInput>(remoteInputs.length); in Builder()
1678 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;
159 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource()
160 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource()
189 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard()
190 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard()
232 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived()
233 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived()
247 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
248 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
465 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;
229 RemoteInput[] inputs = null;
230 if (tag instanceof RemoteInput[]) {
231 inputs = (RemoteInput[]) tag;
238 RemoteInput input = null;
240 for (RemoteInput i : inputs) {
357 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/
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()
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()
DInflatedSmartReplies.java22 import android.app.RemoteInput;
171 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in chooseSmartRepliesAndActions()
173 Pair<RemoteInput, Notification.Action> freeformRemoteInputActionPair = in chooseSmartRepliesAndActions()
DSmartReplyView.java7 import android.app.RemoteInput;
277 new RemoteInput[] { smartReplies.remoteInput }, smartReplies.remoteInput, in inflateReplyButton()
288 RemoteInput.addResultsToIntent(new RemoteInput[] { smartReplies.remoteInput }, intent, in inflateReplyButton()
290 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE); in inflateReplyButton()
943 public final RemoteInput remoteInput;
950 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.java89 import android.app.RemoteInput;
4465 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testFlagBubbleNotifs_flag_messaging()
/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.java21 import android.app.RemoteInput;
/frameworks/base/core/java/android/widget/
DRemoteViews.java31 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.java120 import android.app.RemoteInput;
4884 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 …]
Dhiddenapi-greylist-max-o.txt8056 …java/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZI)V
8079 …java/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZI)V
8084 Landroid/app/Notification$Action;->mRemoteInputs:[Landroid/app/RemoteInput;
8230 Landroid/app/Notification$CarExtender$Builder;->mRemoteInput:Landroid/app/RemoteInput;
8232 …arExtender$UnreadConversation;-><init>([Ljava/lang/String;Landroid/app/RemoteInput;Landroid/app/Pe…
8247 Landroid/app/Notification$CarExtender$UnreadConversation;->mRemoteInput:Landroid/app/RemoteInput;
8914 Landroid/app/RemoteInput$Builder;->mAllowedDataTypes:Landroid/util/ArraySet;
8915 Landroid/app/RemoteInput$Builder;->mChoices:[Ljava/lang/CharSequence;
8916 Landroid/app/RemoteInput$Builder;->mExtras:Landroid/os/Bundle;
8917 Landroid/app/RemoteInput$Builder;->mFlags:I
[all …]
/frameworks/base/api/
Dcurrent.txt5413 method public android.app.RemoteInput[] getDataOnlyRemoteInputs();
5416 method public android.app.RemoteInput[] getRemoteInputs();
5442 …od @NonNull public android.app.Notification.Action.Builder addRemoteInput(android.app.RemoteInput);
5610 …otification.CarExtender.Builder setReplyAction(android.app.PendingIntent, android.app.RemoteInput);
5619 method public android.app.RemoteInput getRemoteInput();
6046 public final class RemoteInput implements android.os.Parcelable {
6047 …method public static void addDataResultToIntent(android.app.RemoteInput, android.content.Intent, j…
6048 …method public static void addResultsToIntent(android.app.RemoteInput[], android.content.Intent, an…
6063 … field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteInput> CREATOR;
6073 public static final class RemoteInput.Builder {
[all …]

12