Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java99 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
106 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
113 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()
307 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel_resId()
357 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone()
505 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone_resId()
622 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoClone_minimum()
668 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoCopyNonNullFieldsFrom()
[all …]
DBaseShortcutManagerTest.java1550 .setIntent(intent); in makeShortcut()
1602 .setIntent(intent); in makeShortcutWithExtras()
1617 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)) in makeShortcutWithCategory()
1633 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)) in makeShortcutWithLocusId()
1649 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)) in makeLongLivedShortcut()
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.java271 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
289 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
362 .setIntent(intent) in prepareStarter()
723 .setIntent(activity.intent) in testBringTaskToFrontWhenFocusedStackIsFinising()
758 .setIntent(topActivityOnSecondaryDisplay.intent) in testDeliverIntentToTopActivityOfNonTopDisplay()
799 .setIntent(singleTaskActivity.intent) in testBringTaskToFrontOnSecondaryDisplay()
885 .setIntent(topActivity.intent) in testReparentTopFocusedActivityToSecondaryDisplay()
947 starter.setReason("testNoActivityInfo").setIntent(intent) in testNoActivityInfo()
959 starter.setIntent(intent).mRequest.resolveActivity(mService.mStackSupervisor); in testResolveEphemeralInstaller()
975 starter.setIntent(intent).execute(); in testNotAllowIntentWithFd()
DActivityStartControllerTests.java107 .setIntent(intent) in testRecycling()
DWindowTestsBase.java284 .setIntent(new Intent()) in createTaskStackOnDisplay()
295 .setIntent(new Intent()) in createTaskStackOnTaskDisplayArea()
DTaskRecordTests.java855 verify(task).setIntent(eq(activity0)); in testUpdateEffectiveIntent()
874 verify(task).setIntent(eq(activity1)); in testUpdateEffectiveIntent_rootFinishing()
896 verify(task).setIntent(eq(activity0)); in testUpdateEffectiveIntent_allFinishing()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestActivity.java48 setIntent(intent); in onNewIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java120 setIntent(null); in InputMethodPreference()
125 setIntent(intent); in InputMethodPreference()
/frameworks/base/core/java/android/preference/
DPreferenceInflater.java90 parentPreference.setIntent(intent); in onCreateCustomFromTag()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java169 .setIntent(legacyIntent) in testParcelLegacy()
239 .setIntent(new Intent("action")) in testToBuilder()
/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/android/view/textclassifier/
DTextClassification.java283 .setIntent(mLegacyIntent) in toBuilder()
456 public Builder setIntent(@Nullable Intent intent) {
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DMetricsFeatureProviderTest.java95 preference.setIntent(intent); in logClickedPreference_preferenceHasIntent_shouldLog()
/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/packages/EasterEgg/src/com/android/egg/neko/
DCat.java252 .setIntent(intent)
260 .setIntent(
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java1872 targetTask.setIntent(mStartActivity); in recycleTask()
2015 targetTask.setIntent(mStartActivity); in complyActivityFlags()
2037 top.getTask().setIntent(mStartActivity); in complyActivityFlags()
2083 targetTaskTop.getTask().setIntent(mStartActivity); in complyActivityFlags()
2105 targetTask.setIntent(mStartActivity); in complyActivityFlags()
2334 mInTask.setIntent(mStartActivity); in computeLaunchingTaskFlags()
2645 ActivityStarter setIntent(Intent intent) { in setIntent() method in ActivityStarter
DTask.java585 setIntent(_intent, info); in Task()
599 setIntent(activity, intent, info); in reuseAsLeafTask()
920 void setIntent(ActivityRecord r) { in setIntent() method in Task
921 setIntent(r, null /* intent */, null /* info */); in setIntent()
931 void setIntent(ActivityRecord r, @Nullable Intent intent, @Nullable ActivityInfo info) { in setIntent() method in Task
935 setIntent(intent != null ? intent : r.intent, info != null ? info : r.info); in setIntent()
942 t.setIntent(r); in setIntent()
948 private void setIntent(Intent _intent, ActivityInfo info) { in setIntent() method in Task
1799 setIntent(root); in updateEffectiveIntent()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java164 setIntent(intent); in onNewIntent()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java301 selectItem.setIntent(intent); in onCreateContextMenu()
310 forgetItem.setIntent(intent); in onCreateContextMenu()

12