Home
last modified time | relevance | path

Searched refs:setIntent (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java160 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoKey()
171 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoNotificationEntry()
182 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoRanking()
193 mActivity.setIntent(mIntent); in testEntryClearsNotificationAndDoesNotOpenBubble()
219 mActivity.setIntent(mIntent); in testBubbleEntryOpensBubbleAndDoesNotClearNotification()
240 mActivity.setIntent(mIntent); in testQuietModeOpensQuietModeDialog()
264 mActivity.setIntent(mIntent); in testBubbleWithNoNotifOpensBubble()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java101 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(null)); in testShortcutInfoMissingMandatoryFields()
106 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(new Intent())); in testShortcutInfoMissingMandatoryFields()
150 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(new Intent())); in testShortcutInfoMissingMandatoryFields()
245 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoParcel()
264 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel()
341 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel_resId()
394 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone()
542 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone_resId()
659 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoClone_minimum()
705 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoCopyNonNullFieldsFrom()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java324 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
342 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
436 .setIntent(intent) in prepareStarter()
812 .setIntent(activity.intent) in testAdjustLaunchTargetWithAdjacentTask()
846 .setIntent(activity.intent.addFlags( in testBringTaskToFrontWhenFocusedTaskIsFinishing()
884 .setIntent(topActivityOnSecondaryDisplay.intent) in testDeliverIntentToTopActivityOfNonTopDisplay()
929 .setIntent(singleTaskActivity.intent) in testBringTaskToFrontOnSecondaryDisplay()
1015 .setIntent(topActivity.intent) in testReparentTopFocusedActivityToSecondaryDisplay()
1077 starter.setReason("testNoActivityInfo").setIntent(intent) in testNoActivityInfo()
1093 starter.setIntent(intent).mRequest.resolveActivity(mAtm.mTaskSupervisor); in testResolveEphemeralInstaller()
[all …]
DActivityStartControllerTests.java96 .setIntent(intent) in testRecycling()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/shortcut/
DBubbleShortcutHelper.kt32 .setIntent(ShowBubblesActivity.createIntent(context)) in createShortcut()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/
DCredentialSelectorActivity.kt54 setIntent(intent) in onNewIntent()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestActivity.java48 setIntent(intent); in onNewIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskRoleManagerExt.kt70 .setIntent(LaunchNoteTaskActivity.createIntent(context)) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java54 .setIntent(shortcutIntent) in testBuildShortcutAndGetValue()
/frameworks/base/core/java/android/preference/
DPreferenceInflater.java90 parentPreference.setIntent(intent); in onCreateCustomFromTag()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DLaunchBubbleActivity.java85 .setIntent(new Intent(Intent.ACTION_VIEW)) in addInboxShortcut()
DBubbleHelper.java146 .setIntent(bubbleIntent) in getBubbleBuilder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java115 setIntent(null); in InputMethodPreference()
120 setIntent(intent); in InputMethodPreference()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewContextMenuTest.java79 when(mockItem.setIntent(any())).thenReturn(mockItem); in newMockMenuItem()
152 .setIntent(intent) in testAddMenuForLegacyTextClassification()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java120 prefHelp.setIntent(intent); in initializeHelpAndFeedbackPreference()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java171 .setIntent(legacyIntent) in testParcelLegacy()
241 .setIntent(new Intent("action")) in testToBuilder()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DTapAction.java211 public Builder setIntent(@NonNull Intent intent) { in setIntent() method in TapAction.Builder
/frameworks/base/core/java/android/app/assist/
DAssistContent.java75 public void setIntent(Intent intent) { in setIntent() method in AssistContent
/frameworks/base/core/java/android/widget/
DShareActionProvider.java288 dataModel.setIntent(shareIntent); in setShareIntent()
/frameworks/base/core/java/android/view/
DMenuItem.java343 public @NonNull MenuItem setIntent(@Nullable Intent intent); in setIntent() method
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java243 builder.setIntent(mIntent); in toBuilder()
418 public Builder setIntent(Intent intent) { in setIntent() method in PeopleSpaceTile.Builder
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java284 .setIntent(mLegacyIntent) in toBuilder()
459 public Builder setIntent(@Nullable Intent intent) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt213 setIntent(intent) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java308 .setIntent(new Intent()) in testWriteThenReadFromParcel()
405 .setIntent(new Intent()) in testIntent()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceAction.java330 public Builder setIntent(@Nullable Intent intent) { in setIntent() method in SmartspaceAction.Builder

123