Home
last modified time | relevance | path

Searched refs:launchActivity (Results 1 – 25 of 65) sorted by relevance

123

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DIntentForwarderActivityTest.java297 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_notWhitelisted()
312 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_withResolverActivity()
324 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_call()
336 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callPrivileged()
348 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callEmergency()
360 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_dial()
372 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_notCallOrDial()
386 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_actionViewTel()
399 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_textMessageIntent_sms()
412 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_textMessageIntent_smsto()
[all …]
H A DResolverActivityTest.java400 mActivityRule.launchActivity(sendIntent); in testWorkTab_displayedWhenWorkProfileUserAvailable()
412 mActivityRule.launchActivity(sendIntent); in testWorkTab_hiddenWhenWorkProfileUserNotAvailable()
512 mActivityRule.launchActivity(sendIntent); in testWorkTab_selectingWorkTabAppOpensAppInWorkProfile()
612 mActivityRule.launchActivity(sendIntent); in testWorkTab_noPersonalApps_canStartWorkApps()
646 mActivityRule.launchActivity(sendIntent); in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown()
672 mActivityRule.launchActivity(sendIntent); in testWorkTab_workProfileDisabled_emptyStateShown()
696 mActivityRule.launchActivity(sendIntent); in testWorkTab_noWorkAppsAvailable_emptyStateShown()
722 mActivityRule.launchActivity(sendIntent); in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
747 mActivityRule.launchActivity(sendIntent); in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown()
776 mActivityRule.launchActivity(sendIntent); in testAutolaunch_singleTarget_withWorkProfileAndTabbedViewOff_noAutolaunch()
[all …]
H A DChooserActivityTest.java282 .launchActivity(Intent.createChooser(sendIntent, null)); in twoOptionsAndUserSelectsOne()
330 .launchActivity(Intent.createChooser(sendIntent, null)); in fourOptionsStackedIntoOneTarget()
364 .launchActivity(Intent.createChooser(sendIntent, null)); in updateChooserCountsAndModelAfterUserSelection()
392 .launchActivity(Intent.createChooser(sendIntent, null)); in noResultsFromPackageManager()
420 .launchActivity(Intent.createChooser(sendIntent, null)); in autoLaunchSingleResult()
440 .launchActivity(Intent.createChooser(sendIntent, null)); in hasOtherProfileOneOption()
482 .launchActivity(Intent.createChooser(sendIntent, null)); in hasOtherProfileTwoOptionsAndUserSelectsOne()
519 .launchActivity(Intent.createChooser(sendIntent, null)); in hasLastChosenActivityAndOtherProfile()
551 .launchActivity(Intent.createChooser(sendIntent, null)); in copyTextToClipboard()
2085 mActivityRule.launchActivity(sendIntent); in testWorkTab_onePersonalTarget_emptyStateOnWorkTarget_autolaunch()
[all …]
/aosp12/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DLoginTest.java87 launchActivity(layoutId, numViews); in testActivityLaunchTime()
101 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged()
110 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_noService()
121 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_noOptions()
131 final CustomTestActivity activity = launchActivity(); in testOnVisibilityAggregated_visibleChanged_notImportant()
H A DAbstractContentCapturePerfTestCase.java246 protected CustomTestActivity launchActivity() { in launchActivity() method in AbstractContentCapturePerfTestCase
247 return launchActivity(R.layout.test_login_activity, 0); in launchActivity()
253 protected CustomTestActivity launchActivity(int layoutId, int numViews) { in launchActivity() method in AbstractContentCapturePerfTestCase
257 return mActivityRule.launchActivity(intent); in launchActivity()
/aosp12/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DWindowManagerPerfTestBase.java59 PerfTestActivityRule(boolean launchActivity) { in PerfTestActivityRule() argument
60 super(launchActivity); in PerfTestActivityRule()
79 public PerfTestActivity launchActivity(Intent intent) { in launchActivity() method in WindowManagerPerfTestBase.PerfTestActivityRule
80 final PerfTestActivity activity = super.launchActivity(intent); in launchActivity()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java112 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch()
122 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch()
133 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume()
151 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch()
178 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged()
193 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in relaunchActivityAndAssertPreserveWindow()
220 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations()
238 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations()
256 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
291 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
[all …]
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/password/
H A DSetupChooseLockPasswordAppTest.java76 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in testSkipDialogIsShown()
89 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_activityLaunchedInitially()
97 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_nothingEntered()
108 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm()
112 mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm()
/aosp12/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DWindowPerfTestBase.java180 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
H A DChangeTouchModeTest.java77 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()
/aosp12/frameworks/base/core/java/android/app/
H A DSearchManager.java606 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()
H A DISearchManager.aidl28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); in getSearchableInfo() argument
/aosp12/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
H A DImePerfTestBase.java32 public PerfTestActivity launchActivity(Intent intent) { in launchActivity() method in ImePerfTestBase.PerfTestActivityRule
34 return super.launchActivity(intent); in launchActivity()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DPickActivityTest.java79 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked()
98 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked_otherUser()
116 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked_otherUserDoesNotReturn()
H A DDialogUiTest.java133 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
154 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity()
174 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity()
195 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
H A DActivityTest.java133 launchActivity(); in setUp()
153 protected void launchActivity() { in launchActivity() method in ActivityTest
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
H A DEncryptDeviceActivityTest.java125 Activity activity = mActivityRule.launchActivity(PROFILE_OWNER_INTENT); in testProfileOwner()
146 Activity activity = mActivityRule.launchActivity(DEVICE_OWNER_INTENT); in testDeviceOwner()
167 mActivityRule.launchActivity(new Intent()); in testNoParams()
H A DPreProvisioningActivityTest.java120 Activity activity = mActivityRule.launchActivity( in deviceOwnerDefaultLogo()
132 Activity activity = mActivityRule.launchActivity( in deviceOwnerCustomLogo()
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
H A DActivityThreadClientTest.java94 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnCreate()
121 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnStart()
146 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnResume()
172 activity[0] = (TestActivity) clientSession.launchActivity(r); in testLifecycleOfRelaunch()
239 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() method in ActivityThreadClientTest.ClientMockSession
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
H A DActionDisabledByAdminActivityTest.java55 mActivityTestRule.launchActivity(getIntent(false)); in onCreate_showDialog()
68 mActivityTestRule.launchActivity(getIntent(true)); in onCreate_readsIntentRestriction()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DAccessibilityInteractionControllerTest.java82 launchActivity(); in setUp()
121 private void launchActivity() { in launchActivity() method in AccessibilityInteractionControllerTest
139 final Activity activity = mActivityRule.launchActivity(null); in launchActivity()
/aosp12/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java220 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) { in getSearchableInfo() argument
221 if (launchActivity == null) { in getSearchableInfo()
225 return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity); in getSearchableInfo()
/aosp12/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/
H A DFilesAppPerfTest.java84 mActivity = launchActivity( in runFilesStartPerformanceTest()
118 private final <T extends Activity> T launchActivity( in launchActivity() method in FilesAppPerfTest
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
H A DTermsActivityTest.java145 mActivityRule.launchActivity( in expanderTest()
150 mActivityRule.launchActivity( in expanderTest()
209 mActivityRule.launchActivity( in expanderTest_automotive()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DSingleLaunchActivityTestCase.java73 sActivity = launchActivity(mPackage, mActivityClass, null); in setUp()

123