/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 171 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent() 210 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent() 231 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent() 253 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in launchInSameProfile_chooserIntent() 290 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_selectorIntent() 326 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_notWhitelisted() 341 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_withResolverActivity() 353 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_call() 365 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callPrivileged() 377 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callEmergency() [all …]
|
D | ResolverActivityTest.java | 112 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne() 146 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight() 192 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue() 227 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity() 259 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption() 299 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne() 346 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile() 424 mActivityRule.launchActivity(sendIntent); in testWorkTab_displayedWhenWorkProfileUserAvailable() 436 mActivityRule.launchActivity(sendIntent); in testWorkTab_hiddenWhenWorkProfileUserNotAvailable() 456 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_workTabListPopulatedBeforeGoingToTab() [all …]
|
D | ChooserActivityTest.java | 215 public ChooserActivity launchActivity(Intent clientIntent) { 216 return super.launchActivity(getConcreteIntentForLaunch(clientIntent)); 275 final IChooserWrapper activity = (IChooserWrapper) mActivityRule.launchActivity( in customTitle() 299 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents() 320 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle() 341 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail() 365 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail() 392 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail() 418 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleAndThumbnail() 442 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in twoOptionsAndUserSelectsOne() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsEditingActivityTest.kt | 84 launchActivity() in testBackCallbackRegistrationAndUnregistration() 99 with(launchActivity()) { in testAddControlsButton_visible() 108 with(launchActivity(isFromFavoriting = false)) { in testNotLaunchFromFavoriting_saveButton_disabled() 116 with(launchActivity(isFromFavoriting = true)) { in testLaunchFromFavoriting_saveButton_enabled() 124 with(launchActivity(isFromFavoriting = false)) { in testNotFromFavoriting_addControlsPressed_launchesFavouriting() 146 private fun launchActivity( in launchActivity() method in com.android.systemui.controls.management.ControlsEditingActivityTest 152 activityRule.launchActivity( in launchActivity()
|
D | ControlsFavoritingActivityTest.kt | 108 launchActivity() in testBackCallbackRegistrationAndUnregistration() 123 with(launchActivity()) { in testButtons() 136 with(launchActivity()) { in testRearrangePressed_savesAndlaunchesActivity() 166 private fun launchActivity( in launchActivity() method 172 activityRule.launchActivity( in launchActivity()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivityTest.java | 136 launchActivity(); in appClipsLaunched_screenshotDisplayed() 153 launchActivity(resultReceiver); in screenshotDisplayed_userConsented_screenshotExportedSuccessfully() 171 launchActivity(resultReceiver); in screenshotDisplayed_userDeclined() 179 private void launchActivity() { in launchActivity() method in AppClipsActivityTest 180 launchActivity(createResultReceiver(FAKE_CONSUMER)); in launchActivity() 183 private void launchActivity(ResultReceiver resultReceiver) { in launchActivity() method in AppClipsActivityTest 189 mActivity = mActivityRule.launchActivity(intent); in launchActivity()
|
D | AppClipsTrampolineActivityTest.java | 172 mActivityRule.launchActivity(mActivityIntent); in queryService_returnedFailed_shouldFinishWithFailed() 186 mActivityRule.launchActivity(mActivityIntent); in queryService_returnedWindowModeUnsupported_shouldFinishWithWindowModeUnsupported() 200 mActivityRule.launchActivity(mActivityIntent); in queryService_returnedScreenshotBlocked_shouldFinishWithBlockedByAdmin() 214 AppClipsTrampolineActivityTestable activity = mActivityRule.launchActivity(mActivityIntent); in startAppClipsActivity_userCanceled_shouldReturnUserCanceled() 235 AppClipsTrampolineActivityTestable activity = mActivityRule.launchActivity(mActivityIntent); in startAppClipsActivity_shouldReturnSuccess() 257 mActivityRule.launchActivity(mActivityIntent); in startAppClipsActivity_shouldLogUiEvent()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutChooserActivityTest.java | 176 launchActivity(); in selectTestService_permissionDialog_allow_rowChecked() 187 launchActivity(); in selectTestService_permissionDialog_deny_rowNotChecked() 198 launchActivity(); in selectTestService_permissionDialog_uninstall_callsUninstaller_rowRemoved() 213 launchActivity(); in selectTestService_permissionDialog_notShownWhenNotRequired() 244 launchActivity(); in selectTestService_notPermittedByAdmin_blockedEvenIfNoWarningRequired() 265 launchActivity(); in clickServiceTarget_notPermittedByAdmin_sendRestrictedDialogIntent() 277 launchActivity(); in popEditShortcutMenuList_oneHandedModeEnabled_shouldBeInListView() 289 launchActivity(); in popEditShortcutMenuList_oneHandedModeDisabled_shouldNotBeInListView() 301 launchActivity(); in createDialog_onLockscreen_hasExpectedContent() 312 private void launchActivity() { in launchActivity() method in AccessibilityShortcutChooserActivityTest
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfTestBase.java | 180 public PerfTestActivityRuleBase(boolean launchActivity) { in PerfTestActivityRuleBase() argument 181 super(PerfTestActivity.class, false /* initialTouchMode */, launchActivity); in PerfTestActivityRuleBase() 189 public PerfTestActivity launchActivity() { in launchActivity() method in WindowPerfTestBase.PerfTestActivityRuleBase 190 return launchActivity(mStartIntent); in launchActivity()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 168 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch() 178 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch() 189 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume() 207 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch() 234 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testOverrideScale() 322 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged() 337 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in relaunchActivityAndAssertPreserveWindow() 364 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations() 382 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations() 400 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | ChangeTouchModeTest.java | 77 launchActivity("com.android.frameworks.coretests", LLOfButtons2.class, null); in testTouchModeFalseAcrossActivites() 93 launchActivity("com.android.frameworks.coretests", LLOfButtons2.class, null); in testTouchModeTrueAcrossActivites() 111 launchActivity("com.android.frameworks.coretests", LLOfButtons2.class, null); in testTouchModeChangedInOtherActivity()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | WindowManagerPerfTestBase.java | 67 PerfTestActivityRule(boolean launchActivity) { in PerfTestActivityRule() argument 68 super(launchActivity); in PerfTestActivityRule() 87 public PerfTestActivity launchActivity(Intent intent) { in launchActivity() method in WindowManagerPerfTestBase.PerfTestActivityRule 88 final PerfTestActivity activity = super.launchActivity(intent); in launchActivity()
|
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/ |
D | ImePerfTestBase.java | 32 public PerfTestActivity launchActivity(Intent intent) { in launchActivity() method in ImePerfTestBase.PerfTestActivityRule 34 return super.launchActivity(intent); in launchActivity()
|
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/ |
D | LoginTest.java | 177 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged() 186 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_noService() 197 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_noOptions() 207 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_notImportant()
|
D | AbstractContentCapturePerfTestCase.java | 264 protected CustomTestActivity launchActivity() { in launchActivity() method in AbstractContentCapturePerfTestCase 265 return launchActivity(R.layout.test_login_activity, 0); in launchActivity() 285 protected CustomTestActivity launchActivity(int layoutId, int numViews) { in launchActivity() method in AbstractContentCapturePerfTestCase
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/ |
D | BrightnessDialogTest.kt | 106 activityRule.launchActivity(Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG)) in testGestureExclusion() 134 activityRule.launchActivity(intent) in testTimeout() 153 activityRule.launchActivity(intent) in testRestartTimeout() 178 activityRule.launchActivity(Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG)) in testNoTimeoutIfNotStartedByBrightnessKey() 192 activityRule.launchActivity(Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG)) in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | SearchManager.java | 606 ComponentName launchActivity, in startSearch() argument 609 startSearch(initialQuery, selectInitialQuery, launchActivity, in startSearch() 622 ComponentName launchActivity, in startSearch() argument 636 mSearchDialog.show(initialQuery, selectInitialQuery, launchActivity, appSearchData); in startSearch() 744 ComponentName launchActivity, in triggerSearch() argument 750 startSearch(query, false, launchActivity, appSearchData, false); in triggerSearch()
|
D | ISearchManager.aidl | 28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); in getSearchableInfo() argument
|
/frameworks/base/packages/VpnDialogs/tests/src/com/android/vpndialogs/ |
D | VpnDialogTest.java | 96 private void launchActivity() { in launchActivity() method in VpnDialogTest 106 launchActivity(); in testGetSanitizedVpnLabel_withNormalCase() 114 launchActivity(); in verifySanitizedVpnLabel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamService.kt | 83 onCreateCallback = { launchActivity() }, in onAttachedToWindow() 105 launchActivity() in endDream() 112 private fun launchActivity() { in launchActivity() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | LaunchNotesRoleSettingsTrampolineActivityTest.kt | 70 activityRule.launchActivity(/* startIntent= */ null) in startActivity_noAction_shouldLaunchNotesRoleSettingTaskWithNullEntryPoint() 77 activityRule.launchActivity(Intent(ACTION_MANAGE_NOTES_ROLE_FROM_QUICK_AFFORDANCE)) in startActivity_quickAffordanceAction_shouldLaunchNotesRoleSettingTaskWithQuickAffordanceEntryPoint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/ |
D | SmartspaceMediaData.kt | 75 val launchActivity = it.resolveActivityInfo(packageManager, 0) in getAppName() constant 76 return launchActivity.loadLabel(packageManager) in getAppName()
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 101 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnCreate() 128 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnStart() 153 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnResume() 179 activity[0] = (TestActivity) clientSession.launchActivity(r); in testLifecycleOfRelaunch() 296 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() method in ActivityThreadClientTest.ClientMockSession
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | AccessibilityInteractionControllerTest.java | 82 launchActivity(); in setUp() 139 private void launchActivity() { in launchActivity() method in AccessibilityInteractionControllerTest 157 final Activity activity = mActivityRule.launchActivity(null); in launchActivity()
|
/frameworks/base/test-runner/src/android/test/ |
D | SingleLaunchActivityTestCase.java | 73 sActivity = launchActivity(mPackage, mActivityClass, null); in setUp()
|