Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSmartReplyConstantsTest.java23 import android.app.RemoteInput;
120 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
123 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
126 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig()
134 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
137 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
140 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig()
148 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
151 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
154 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
H A DRemoteInputViewTest.java39 import android.app.RemoteInput;
147 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).build(); in setTestPendingIntent()
148 RemoteInput[] inputs = {input}; in setTestPendingIntent()
177 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource()
178 assertEquals(RemoteInput.SOURCE_FREE_FORM_INPUT, in testSendRemoteInput_intentContainsResultsAndSource()
179 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
H A DSmartReplyViewTest.java32 import android.app.RemoteInput;
195 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource()
196 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource()
248 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard()
249 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard()
291 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived()
292 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived()
306 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
307 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay()
528 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).setChoices(choices).build(); in createSmartReplies()
H A DInflatedSmartRepliesTest.java29 import android.app.RemoteInput;
72 @Mock private RemoteInput mRemoteInput;
73 @Mock private RemoteInput mFreeFormRemoteInput;
252 new RemoteInput.Builder("key").build()).build() in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction()
583 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in setupAppGeneratedReplies()
591 Pair<RemoteInput, Notification.Action> freeFormRemoteInputActionPair = in setupAppGeneratedReplies()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputViewController.kt22 import android.app.RemoteInput
61 var remoteInput: RemoteInput?
63 var remoteInputs: Array<RemoteInput>?
136 override var remoteInput: RemoteInput? = null
146 override var remoteInputs: Array<RemoteInput>? = null
298 private fun prepareRemoteInput(remoteInput: RemoteInput): Intent =
310 RemoteInput.addResultsToIntent(remoteInputs, fillInIntent, results)
320 remoteInput: RemoteInput,
332 RemoteInput.addResultsToIntent(remoteInputs, fillInIntent, bundle)
351 ?.let { RemoteInput.SOURCE_CHOICE }
[all …]
H A DSmartReplyConstants.java19 import android.app.RemoteInput;
202 @RemoteInput.EditChoicesBeforeSending int remoteInputEditChoicesBeforeSending) { in getEffectiveEditChoicesBeforeSending()
204 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED: in getEffectiveEditChoicesBeforeSending()
206 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED: in getEffectiveEditChoicesBeforeSending()
208 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO: in getEffectiveEditChoicesBeforeSending()
H A DSmartReplyStateInflater.kt23 import android.app.RemoteInput
512 RemoteInput.addResultsToIntent(arrayOf(smartReplies.remoteInput), intent, results)
513 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE)
H A DSmartReplyView.java8 import android.app.RemoteInput;
817 public final RemoteInput remoteInput;
824 public SmartReplies(@NonNull List<CharSequence> choices, @NonNull RemoteInput remoteInput, in SmartReplies()
/aosp14/frameworks/base/core/java/android/app/
H A 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()
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()
564 …lic static final @android.annotation.NonNull Creator<RemoteInput> CREATOR = new Creator<RemoteInpu…
566 public RemoteInput createFromParcel(Parcel in) {
567 return new RemoteInput(in);
571 public RemoteInput[] newArray(int size) {
[all …]
H A DNotification.java1767 private final RemoteInput[] mRemoteInputs;
1870 public RemoteInput[] getRemoteInputs() { in getRemoteInputs()
2162 RemoteInput[] dataInputsArr = in build()
3289 firstRs = new RemoteInput[0]; in areActionsVisiblyDifferent()
3292 secondRs = new RemoteInput[0]; in areActionsVisiblyDifferent()
3828 RemoteInput resultRemoteInput = null; in findRemoteInputActionPair()
5919 for (RemoteInput r : remoteInputs) { in hasValidRemoteInput()
11903 private final RemoteInput mRemoteInput;
11931 public RemoteInput getRemoteInput() { in getRemoteInput()
12027 RemoteInput remoteInput = b.getParcelable(KEY_REMOTE_INPUT, RemoteInput.class); in getUnreadConversationFromBundle()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationUiAdjustmentTest.java22 import android.app.RemoteInput;
120 RemoteInput firstRemoteInput = in needReinflate_differentChoices()
122 RemoteInput secondRemoteInput = in needReinflate_differentChoices()
147 RemoteInput firstRemoteInput = in needReinflate_differentRemoteInputLabel()
149 RemoteInput secondRemoteInput = in needReinflate_differentRemoteInputLabel()
173 RemoteInput firstRemoteInput = in needReinflate_negative()
175 RemoteInput secondRemoteInput = in needReinflate_negative()
238 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput()
239 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationUiAdjustment.java21 import android.app.RemoteInput;
127 @Nullable RemoteInput[] first, @Nullable RemoteInput[] second) { in areDifferent()
138 RemoteInput firstRemoteInput = first[i]; in areDifferent()
139 RemoteInput secondRemoteInput = second[i]; in areDifferent()
H A DNotificationRemoteInputManager.java23 import android.app.RemoteInput;
222 RemoteInput[] inputs = null;
223 if (tag instanceof RemoteInput[]) {
224 inputs = (RemoteInput[]) tag;
231 RemoteInput input = null;
233 for (RemoteInput i : inputs) {
370 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput()
390 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput()
H A DRemoteInputController.java21 import android.app.RemoteInput;
98 RemoteInput[] remoteInputs = action.getRemoteInputs(); in processForRemoteInput()
102 for (RemoteInput ri : remoteInputs) { in processForRemoteInput()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotifUiAdjustment.kt20 import android.app.RemoteInput
75 first: Array<RemoteInput>?,
76 second: Array<RemoteInput>?
/aosp14/frameworks/base/core/java/android/app/slice/
H A 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()
H A DSlice.java23 import android.app.RemoteInput;
480 public Slice.Builder addRemoteInput(RemoteInput remoteInput, in addRemoteInput()
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A DNotificationTest.java29 import android.app.RemoteInput;
146 RemoteInput remoteInput = new RemoteInput.Builder(REPLY_INPUT_KEY) in postMessagingNotification()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java1429 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs()
1436 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs()
1463 RemoteInput remoteInput = new RemoteInput.Builder("a").build(); in testFreeformRemoteInputActionPair_hasRemoteInput()
1480 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_hasRemoteInput()
1496 new RemoteInput.Builder("a") in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput()
1509 RemoteInput remoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1510 new RemoteInput.Builder("a").setAllowFreeFormInput(false).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1511 RemoteInput freeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1512 new RemoteInput.Builder("b").setAllowFreeFormInput(true).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
1530 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DNotificationStats.java22 import android.app.RemoteInput;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntry.java42 import android.app.RemoteInput;
/aosp14/frameworks/base/core/java/android/widget/
H A DRemoteViews.java40 import android.app.RemoteInput;
453 public void setRemoteInputs(@IdRes int viewId, RemoteInput[] remoteInputs) { in setRemoteInputs()
3442 public SetRemoteInputsAction(@IdRes int viewId, RemoteInput[] remoteInputs) {
3449 remoteInputs = parcel.createTypedArray(RemoteInput.CREATOR);
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java157 import android.app.RemoteInput;
993 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in getMessageStyleNotifBuilder()
10407 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build();
10438 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build();
/aosp14/frameworks/base/packages/SystemUI/
H A Dktfmt_includes.txt439 -packages/SystemUI/src/com/android/systemui/statusbar/policy/dagger/RemoteInput.kt
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt2528 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/RemoteInput;
2530 HSPLandroid/app/RemoteInput$1;->newArray(I)[Landroid/app/RemoteInput;
2531 HSPLandroid/app/RemoteInput$1;->newArray(I)[Ljava/lang/Object;
2532 HSPLandroid/app/RemoteInput;-><init>(Landroid/os/Parcel;)V
2533 HSPLandroid/app/RemoteInput;->getAllowFreeFormInput()Z
2535 HSPLandroid/app/RemoteInput;->getEditChoicesBeforeSending()I
2536 HSPLandroid/app/RemoteInput;->writeToParcel(Landroid/os/Parcel;I)V
23439 Landroid/app/RemoteInput$1;
23440 Landroid/app/RemoteInput$Builder;
23441 Landroid/app/RemoteInput;
[all …]

12