/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
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()
|
D | RemoteInputViewTest.java | 27 import android.app.RemoteInput; 112 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).build(); in setTestPendingIntent() 115 view.setRemoteInput(new RemoteInput[]{input}, input, null /* editedSuggestionInfo */); in setTestPendingIntent() 138 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource() 139 assertEquals(RemoteInput.SOURCE_FREE_FORM_INPUT, in testSendRemoteInput_intentContainsResultsAndSource() 140 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
|
D | SmartReplyViewTest.java | 32 import android.app.RemoteInput; 180 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource() 181 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource() 212 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard() 213 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard() 255 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived() 256 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived() 270 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay() 271 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay() 491 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).setChoices(choices).build(); in createSmartReplies()
|
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() 582 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in setupAppGeneratedReplies() 590 Pair<RemoteInput, Notification.Action> freeFormRemoteInputActionPair = in setupAppGeneratedReplies()
|
/frameworks/base/core/java/android/app/ |
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() 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 …]
|
D | Notification.java | 1703 private final RemoteInput[] mRemoteInputs; 1740 mRemoteInputs = in.createTypedArray(RemoteInput.CREATOR); in Action() 1758 RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Action() 1806 public RemoteInput[] getRemoteInputs() { in getRemoteInputs() 1838 public RemoteInput[] getDataOnlyRemoteInputs() { in getDataOnlyRemoteInputs() 1839 return getParcelableArrayFromBundle(mExtras, EXTRA_DATA_ONLY_INPUTS, RemoteInput.class); in getDataOnlyRemoteInputs() 1862 @Nullable private ArrayList<RemoteInput> mRemoteInputs; 1909 @Nullable RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Builder() 1957 public Builder addRemoteInput(RemoteInput remoteInput) { in addRemoteInput() 1959 mRemoteInputs = new ArrayList<RemoteInput>(); in addRemoteInput() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 22 import android.app.RemoteInput; 123 RemoteInput firstRemoteInput = in needReinflate_differentChoices() 125 RemoteInput secondRemoteInput = in needReinflate_differentChoices() 151 RemoteInput firstRemoteInput = in needReinflate_differentRemoteInputLabel() 153 RemoteInput secondRemoteInput = in needReinflate_differentRemoteInputLabel() 178 RemoteInput firstRemoteInput = in needReinflate_negative() 180 RemoteInput secondRemoteInput = in needReinflate_negative() 243 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput() 244 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
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()
|
D | NotificationRemoteInputManager.java | 25 import android.app.RemoteInput; 249 RemoteInput[] inputs = null; 250 if (tag instanceof RemoteInput[]) { 251 inputs = (RemoteInput[]) tag; 258 RemoteInput input = null; 260 for (RemoteInput i : inputs) { 389 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput() 409 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput()
|
D | RemoteInputController.java | 20 import android.app.RemoteInput; 82 RemoteInput[] remoteInputs = action.getRemoteInputs(); in processForRemoteInput() 86 for (RemoteInput ri : remoteInputs) { in processForRemoteInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
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()
|
D | RemoteInputView.java | 26 import android.app.RemoteInput; 121 private RemoteInput[] mRemoteInputs; 122 private RemoteInput mRemoteInput; 330 RemoteInput.addResultsToIntent(mRemoteInputs, fillInIntent, in prepareRemoteInputFromText() 339 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_FREE_FORM_INPUT); in prepareRemoteInputFromText() 341 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_CHOICE); in prepareRemoteInputFromText() 353 RemoteInput.addDataResultToIntent(mRemoteInput, fillInIntent, results); in prepareRemoteInputFromData() 357 RemoteInput.addResultsToIntent(mRemoteInputs, fillInIntent, in prepareRemoteInputFromData() 375 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_FREE_FORM_INPUT); in prepareRemoteInputFromData() 377 RemoteInput.setResultsSource(fillInIntent, RemoteInput.SOURCE_CHOICE); in prepareRemoteInputFromData() [all …]
|
D | SmartReplyStateInflater.kt | 22 import android.app.RemoteInput in <lambda>() 449 RemoteInput.addResultsToIntent(arrayOf(smartReplies.remoteInput), intent, results) in inflateReplyButton() 450 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE) in inflateReplyButton()
|
D | SmartReplyView.java | 7 import android.app.RemoteInput; 718 public final RemoteInput remoteInput; 725 public SmartReplies(@NonNull List<CharSequence> choices, @NonNull RemoteInput remoteInput, in SmartReplies()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 32 import android.app.RemoteInput; 446 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs() 453 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs() 478 RemoteInput remoteInput = new RemoteInput.Builder("a").build(); in testFreeformRemoteInputActionPair_hasRemoteInput() 495 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_hasRemoteInput() 510 new RemoteInput.Builder("a") in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() 522 RemoteInput remoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 523 new RemoteInput.Builder("a").setAllowFreeFormInput(false).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 524 RemoteInput freeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 525 new RemoteInput.Builder("b").setAllowFreeFormInput(true).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() [all …]
|
D | NotificationManagerServiceTest.java | 116 import android.app.RemoteInput; 850 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in getMessageStyleNotifBuilder() 7997 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testImmutableDirectReplyContextualActionIntent() 8028 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in testMutableDirectReplyContextualActionIntent()
|
/frameworks/base/core/java/android/app/slice/ |
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()
|
D | Slice.java | 23 import android.app.RemoteInput; 480 public Slice.Builder addRemoteInput(RemoteInput remoteInput, in addRemoteInput()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationStats.java | 22 import android.app.RemoteInput;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 43 import android.app.RemoteInput;
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 38 import android.app.RemoteInput; 411 public void setRemoteInputs(@IdRes int viewId, RemoteInput[] remoteInputs) { in setRemoteInputs() 3126 public SetRemoteInputsAction(@IdRes int viewId, RemoteInput[] remoteInputs) { 3133 remoteInputs = parcel.createTypedArray(RemoteInput.CREATOR);
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2062 …ava/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZ)V 2064 …;->build()Landroid/app/Notification$Action;+]Landroid/app/RemoteInput;Landroid/app/RemoteInput;]Lj… 2068 …arSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZZ)V+]Landroi… 2073 HSPLandroid/app/Notification$Action;->getRemoteInputs()[Landroid/app/RemoteInput; 2212 …RemoteInputActionPair(Z)Landroid/util/Pair;+]Landroid/app/RemoteInput;Landroid/app/RemoteInput;]La… 2223 …/lang/Class;)[Landroid/os/Parcelable;+]Ljava/lang/Object;[Landroid/app/RemoteInput;,[Landroid/app/… 2430 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/RemoteInput; 2431 …PLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;+]Landroid/ap… 2432 HSPLandroid/app/RemoteInput$1;->newArray(I)[Landroid/app/RemoteInput; 2433 HSPLandroid/app/RemoteInput$1;->newArray(I)[Ljava/lang/Object;+]Landroid/app/RemoteInput$1;Landroid… [all …]
|
D | preloaded-classes | 531 android.app.RemoteInput$1 532 android.app.RemoteInput$Builder 533 android.app.RemoteInput
|
/frameworks/base/core/api/ |
D | current.txt | 5627 …method @Nullable public android.util.Pair<android.app.RemoteInput,android.app.Notification.Action>… 5787 method public android.app.RemoteInput[] getDataOnlyRemoteInputs(); 5790 method public android.app.RemoteInput[] getRemoteInputs(); 5817 …od @NonNull public android.app.Notification.Action.Builder addRemoteInput(android.app.RemoteInput); 6008 …otification.CarExtender.Builder setReplyAction(android.app.PendingIntent, android.app.RemoteInput); 6017 method public android.app.RemoteInput getRemoteInput(); 6495 public final class RemoteInput implements android.os.Parcelable { 6496 …method public static void addDataResultToIntent(android.app.RemoteInput, android.content.Intent, j… 6497 …method public static void addResultsToIntent(android.app.RemoteInput[], android.content.Intent, an… 6512 … field @NonNull public static final android.os.Parcelable.Creator<android.app.RemoteInput> CREATOR; [all …]
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2062 …ava/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZ)V 2064 …;->build()Landroid/app/Notification$Action;+]Landroid/app/RemoteInput;Landroid/app/RemoteInput;]Lj… 2068 …arSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZZ)V+]Landroi… 2073 HSPLandroid/app/Notification$Action;->getRemoteInputs()[Landroid/app/RemoteInput; 2212 …RemoteInputActionPair(Z)Landroid/util/Pair;+]Landroid/app/RemoteInput;Landroid/app/RemoteInput;]La… 2223 …/lang/Class;)[Landroid/os/Parcelable;+]Ljava/lang/Object;[Landroid/app/RemoteInput;,[Landroid/app/… 2430 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/RemoteInput; 2431 …PLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;+]Landroid/ap… 2432 HSPLandroid/app/RemoteInput$1;->newArray(I)[Landroid/app/RemoteInput; 2433 HSPLandroid/app/RemoteInput$1;->newArray(I)[Ljava/lang/Object;+]Landroid/app/RemoteInput$1;Landroid… [all …]
|