/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputViewController.kt | 22 import android.app.RemoteInput in <lambda>() 59 var remoteInput: RemoteInput? in <lambda>() 61 var remoteInputs: Array<RemoteInput>? in <lambda>() 129 override var remoteInput: RemoteInput? = null in onSendRemoteInput() 139 override var remoteInputs: Array<RemoteInput>? = null in onSendRemoteInput() 279 private fun prepareRemoteInput(remoteInput: RemoteInput): Intent = in onSendRemoteInput() 287 private fun prepareRemoteInputFromText(remoteInput: RemoteInput): Intent { in onSendRemoteInput() 291 RemoteInput.addResultsToIntent(remoteInputs, fillInIntent, results) in onSendRemoteInput() 296 RemoteInput.setResultsSource(fillInIntent, remoteInputResultsSource) in onSendRemoteInput() 301 remoteInput: RemoteInput, in onSendRemoteInput() [all …]
|
D | SmartReplyConstants.java | 19 import android.app.RemoteInput; 203 @RemoteInput.EditChoicesBeforeSending int remoteInputEditChoicesBeforeSending) { in getEffectiveEditChoicesBeforeSending() 205 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED: in getEffectiveEditChoicesBeforeSending() 207 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED: in getEffectiveEditChoicesBeforeSending() 209 case RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO: in getEffectiveEditChoicesBeforeSending()
|
D | SmartReplyStateInflater.kt | 23 import android.app.RemoteInput in <lambda>() 512 RemoteInput.addResultsToIntent(arrayOf(smartReplies.remoteInput), intent, results) in inflateReplyButton() 513 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_CHOICE) in inflateReplyButton()
|
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyConstantsTest.java | 23 import android.app.RemoteInput; 122 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig() 125 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig() 128 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithNoConfig() 136 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig() 139 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig() 142 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithEnabledConfig() 150 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_AUTO)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig() 153 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_ENABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig() 156 RemoteInput.EDIT_CHOICES_BEFORE_SENDING_DISABLED)); in testGetEffectiveEditChoicesBeforeSendingWithDisabledConfig()
|
D | RemoteInputViewTest.java | 39 import android.app.RemoteInput; 146 RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).build(); in setTestPendingIntent() 147 RemoteInput[] inputs = {input}; in setTestPendingIntent() 176 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource() 177 assertEquals(RemoteInput.SOURCE_FREE_FORM_INPUT, in testSendRemoteInput_intentContainsResultsAndSource() 178 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
|
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()
|
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()
|
/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 | 1833 private final RemoteInput[] mRemoteInputs; 1870 mRemoteInputs = in.createTypedArray(RemoteInput.CREATOR); in Action() 1888 RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Action() 1936 public RemoteInput[] getRemoteInputs() { in getRemoteInputs() 1968 public RemoteInput[] getDataOnlyRemoteInputs() { in getDataOnlyRemoteInputs() 1969 return getParcelableArrayFromBundle(mExtras, EXTRA_DATA_ONLY_INPUTS, RemoteInput.class); in getDataOnlyRemoteInputs() 1992 @Nullable private ArrayList<RemoteInput> mRemoteInputs; 2062 @Nullable RemoteInput[] remoteInputs, boolean allowGeneratedReplies, in Builder() 2110 public Builder addRemoteInput(RemoteInput remoteInput) { in addRemoteInput() 2112 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; 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()
|
/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 | 24 import android.app.RemoteInput; 230 RemoteInput[] inputs = null; 231 if (tag instanceof RemoteInput[]) { 232 inputs = (RemoteInput[]) tag; 239 RemoteInput input = null; 241 for (RemoteInput i : inputs) { 399 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput() 419 public boolean activateRemoteInput(View view, RemoteInput[] inputs, RemoteInput input, in activateRemoteInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotifUiAdjustment.kt | 20 import android.app.RemoteInput 83 first: Array<RemoteInput>?, in areDifferent() 84 second: Array<RemoteInput>? in areDifferent()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceItem.java | 22 import android.app.RemoteInput; 230 public RemoteInput getRemoteInput() { in getRemoteInput() 231 return (RemoteInput) mObj; in getRemoteInput() 364 return RemoteInput.CREATOR.createFromParcel(in); in readObj()
|
D | Slice.java | 23 import android.app.RemoteInput; 458 public Slice.Builder addRemoteInput(RemoteInput remoteInput, in addRemoteInput()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | NotificationTest.java | 29 import android.app.RemoteInput; 148 RemoteInput remoteInput = new RemoteInput.Builder(REPLY_INPUT_KEY) in postMessagingNotification()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 1590 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs() 1597 .addRemoteInput(new RemoteInput.Builder("a") in testActionsIgnoresRemoteInputs() 1624 RemoteInput remoteInput = new RemoteInput.Builder("a").build(); in testFreeformRemoteInputActionPair_hasRemoteInput() 1641 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_hasRemoteInput() 1657 new RemoteInput.Builder("a") in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() 1670 RemoteInput remoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 1671 new RemoteInput.Builder("a").setAllowFreeFormInput(false).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 1672 RemoteInput freeformRemoteInput = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 1673 new RemoteInput.Builder("b").setAllowFreeFormInput(true).build(); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() 1691 Pair<RemoteInput, Notification.Action> remoteInputActionPair = in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationStats.java | 25 import android.app.RemoteInput;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 42 import android.app.RemoteInput;
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 45 import android.app.RemoteInput; 479 public void setRemoteInputs(@IdRes int viewId, RemoteInput[] remoteInputs) { in setRemoteInputs() 3646 public SetRemoteInputsAction(@IdRes int viewId, RemoteInput[] remoteInputs) { 3653 mRemoteInputs = parcel.createTypedArray(RemoteInput.CREATOR);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 188 import android.app.RemoteInput; 1222 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); in getMessageStyleNotifBuilder() 11853 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build(); 11880 RemoteInput remoteInput = new RemoteInput.Builder("reply_key").setLabel("reply").build();
|
/frameworks/base/boot/ |
D | preloaded-classes | 698 android.app.RemoteInput$1 699 android.app.RemoteInput$Builder 700 android.app.RemoteInput-IA 701 android.app.RemoteInput 14066 [Landroid.app.RemoteInput;
|
D | boot-image-profile.txt | 2135 …ava/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZ)V 2142 …va/lang/CharSequence;Landroid/app/PendingIntent;Landroid/os/Bundle;[Landroid/app/RemoteInput;ZIZZ)V 2146 HSPLandroid/app/Notification$Action;->getRemoteInputs()[Landroid/app/RemoteInput; 2501 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/RemoteInput; 2502 HSPLandroid/app/RemoteInput$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 2503 HSPLandroid/app/RemoteInput$1;->newArray(I)[Landroid/app/RemoteInput; 2504 HSPLandroid/app/RemoteInput$1;->newArray(I)[Ljava/lang/Object; 2505 HSPLandroid/app/RemoteInput;-><init>(Landroid/os/Parcel;)V 2506 HSPLandroid/app/RemoteInput;->getAllowFreeFormInput()Z 2507 HSPLandroid/app/RemoteInput;->getChoices()[Ljava/lang/CharSequence; [all …]
|
/frameworks/base/config/ |
D | preloaded-classes | 698 android.app.RemoteInput$1 699 android.app.RemoteInput$Builder 700 android.app.RemoteInput-IA 701 android.app.RemoteInput 17089 [Landroid.app.RemoteInput;
|