Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java95 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
102 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
109 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java96 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(null)); in testShortcutInfoMissingMandatoryFields()
101 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(new Intent())); in testShortcutInfoMissingMandatoryFields()
145 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(new Intent())); in testShortcutInfoMissingMandatoryFields()
231 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoParcel()
250 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel()
305 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel_resId()
353 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone()
495 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone_resId()
607 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoClone_minimum()
653 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoCopyNonNullFieldsFrom()
[all …]
DShortcutManagerTest8.java262 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)); in checkRequestPinShortcut()
416 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)); in testRequestPinShortcut_noTargetActivity_noMainActivity()
597 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)); in testRequestPinShortcut_dynamicExists_alreadyPinned()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java282 .setIntent(intent) in verifyStartActivityPreconditions()
300 .setIntent(intent) in verifyStartActivityPreconditions()
370 .setIntent(intent) in prepareStarter()
717 .setIntent(activity.intent) in testBringTaskToFrontWhenFocusedStackIsFinising()
750 .setIntent(topActivityOnSecondaryDisplay.intent) in testDeliverIntentToTopActivityOfNonTopDisplay()
788 .setIntent(singleTaskActivity.intent) in testBringTaskToFrontOnSecondaryDisplay()
838 .setIntent(topActivity.intent) in testReparentTopFocusedActivityToSecondaryDisplay()
DActivityStartControllerTests.java103 .setIntent(intent) in testRecycling()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java119 setIntent(null); in InputMethodPreference()
124 setIntent(intent); in InputMethodPreference()
/frameworks/base/core/java/android/preference/
DPreferenceInflater.java90 parentPreference.setIntent(intent); in onCreateCustomFromTag()
/frameworks/base/core/java/android/view/
DMenuItem.java346 public MenuItem setIntent(Intent intent); in setIntent() method
/frameworks/base/core/java/android/app/assist/
DAssistContent.java65 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/com/android/internal/view/menu/
DActionMenuItem.java249 public MenuItem setIntent(Intent intent) { in setIntent() method in ActionMenuItem
DActionMenu.java93 .setIntent(rintent); in addIntentOptions()
DMenuItemImpl.java213 public MenuItem setIntent(Intent intent) { in setIntent() method in MenuItemImpl
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java167 .setIntent(legacyIntent) in testParcelLegacy()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java164 setIntent(intent); in onNewIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java333 .setIntent(bubbleIntent) in makeBubbleMetadata()
DNotificationInterruptionStateProviderTest.java548 .setIntent(PendingIntent.getActivity(mContext, 0, new Intent(), 0)) in createBubble()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java301 selectItem.setIntent(intent); in onCreateContextMenu()
310 forgetItem.setIntent(intent); in onCreateContextMenu()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java1544 reusedActivity.getTaskRecord().setIntent(mStartActivity); in startActivityUnchecked()
1581 top.getTaskRecord().setIntent(mStartActivity); in startActivityUnchecked()
1980 mInTask.setIntent(mStartActivity); in computeLaunchingTaskFlags()
2245 mReuseTask.setIntent(mStartActivity); in setTaskFromIntentActivity()
2282 intentActivity.getTaskRecord().setIntent(mStartActivity); in setTaskFromIntentActivity()
2304 intentActivity.getTaskRecord().setIntent(mStartActivity); in setTaskFromIntentActivity()
2756 ActivityStarter setIntent(Intent intent) { in setIntent() method in ActivityStarter
DTaskRecord.java358 setIntent(_intent, info); in TaskRecord()
382 setIntent(_intent, info); in TaskRecord()
871 void setIntent(ActivityRecord r) { in setIntent() method in TaskRecord
874 setIntent(r.intent, r.info); in setIntent()
879 private void setIntent(Intent _intent, ActivityInfo info) { in setIntent() method in TaskRecord
1758 setIntent(r); in updateEffectiveIntent()
DActivityStartController.java146 return mFactory.obtain().setIntent(intent).setReason(reason); in obtainStarter()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java1218 .setIntent(testIntent).setShortLabel("label1").setRank(3).build(), // 0 2 in createShortcuts()
1222 .setIntent(testIntent).setShortLabel("label2").setRank(7).build(), // 1 3 in createShortcuts()
1226 .setIntent(testIntent).setShortLabel("label3").setRank(1).build(), // 2 0 in createShortcuts()
1230 .setIntent(testIntent).setShortLabel("label4").setRank(3).build(), // 3 2 in createShortcuts()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java142 newActivity.setIntent(customIntent); in testCustomIntentPreservedOnRelaunch()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java465 public Builder setIntent(@Nullable Intent intent) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleDataTest.java864 .setIntent(mExpandIntent) in createBubbleEntry()

12