/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyConstantsTest.java | 23 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 D | RemoteInputViewTest.java | 39 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 D | SmartReplyViewTest.java | 32 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 D | InflatedSmartRepliesTest.java | 29 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 D | RemoteInputViewController.kt | 22 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 D | SmartReplyConstants.java | 19 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 D | SmartReplyStateInflater.kt | 23 import android.app.RemoteInput 512 RemoteInput.addResultsToIntent(arrayOf(smartReplies.remoteInput), intent, results) 513 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE)
|
H A D | SmartReplyView.java | 8 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 D | RemoteInput.java | 71 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 D | Notification.java | 1767 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 D | NotificationUiAdjustmentTest.java | 22 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 D | NotificationUiAdjustment.java | 21 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 D | NotificationRemoteInputManager.java | 23 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 D | RemoteInputController.java | 21 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 D | NotifUiAdjustment.kt | 20 import android.app.RemoteInput 75 first: Array<RemoteInput>?, 76 second: Array<RemoteInput>?
|
/aosp14/frameworks/base/core/java/android/app/slice/ |
H A D | SliceItem.java | 22 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 D | Slice.java | 23 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 D | NotificationTest.java | 29 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 D | NotificationTest.java | 1429 .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 D | NotificationStats.java | 22 import android.app.RemoteInput;
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotificationEntry.java | 42 import android.app.RemoteInput;
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 40 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 D | NotificationManagerServiceTest.java | 157 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 D | ktfmt_includes.txt | 439 -packages/SystemUI/src/com/android/systemui/statusbar/policy/dagger/RemoteInput.kt
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 2528 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 …]
|