Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java157 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent()
190 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent()
211 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent()
233 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in launchInSameProfile_chooserIntent()
267 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_selectorIntent()
296 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_notWhitelisted()
311 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_withResolverActivity()
323 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_call()
335 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callPrivileged()
347 mActivityRule.launchActivity(intent); in shouldSkipDisclosure_callIntent_callEmergency()
[all …]
DResolverActivityTest.java102 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne()
135 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight()
180 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue()
214 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity()
244 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption()
283 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne()
330 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile()
408 mActivityRule.launchActivity(sendIntent); in testWorkTab_displayedWhenWorkProfileUserAvailable()
420 mActivityRule.launchActivity(sendIntent); in testWorkTab_hiddenWhenWorkProfileUserNotAvailable()
438 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
[all …]
DChooserActivityTest.java214 public ChooserActivity launchActivity(Intent clientIntent) {
215 return super.launchActivity(getConcreteIntentForLaunch(clientIntent));
274 final IChooserWrapper activity = (IChooserWrapper) mActivityRule.launchActivity( in customTitle()
298 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents()
319 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle()
340 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail()
364 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail()
391 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail()
417 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleAndThumbnail()
441 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in twoOptionsAndUserSelectsOne()
[all …]
DResolverActivityWorkProfileTest.java97 launchActivity(/* callingUser= */ mTestCase.getExtraCallingUser()); in testBlocker()
342 private void launchActivity(UserHandle callingUser) { in launchActivity() method in ResolverActivityWorkProfileTest
350 mActivityRule.launchActivity(sendIntent); in launchActivity()
DChooserActivityWorkProfileTest.java98 launchActivity(mTestCase.getIsSendAction()); in testBlocker()
366 private void launchActivity(boolean isSendAction) { in launchActivity() method in ChooserActivityWorkProfileTest
368 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "Test")); in launchActivity()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
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()
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()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
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()
DInternalWindowOperationPerfTest.java90 mActivityRule.launchActivity(); in testLaunchAndFinishActivity()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java116 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch()
126 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch()
137 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume()
155 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch()
182 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged()
197 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in relaunchActivityAndAssertPreserveWindow()
224 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations()
242 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations()
260 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending()
296 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
[all …]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
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()
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
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()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTestBase.java32 public PerfTestActivity launchActivity(Intent intent) { in launchActivity() method in ImePerfTestBase.PerfTestActivityRule
34 return super.launchActivity(intent); in launchActivity()
/frameworks/base/core/java/android/app/
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()
DISearchManager.aidl28 SearchableInfo getSearchableInfo(in ComponentName launchActivity); in getSearchableInfo() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/recommendation/
DSmartspaceMediaData.kt74 val launchActivity = it.resolveActivityInfo(packageManager, 0) in getAppName() constant
75 return launchActivity.loadLabel(packageManager) in getAppName()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java100 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnCreate()
127 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnStart()
152 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnResume()
178 activity[0] = (TestActivity) clientSession.launchActivity(r); in testLifecycleOfRelaunch()
286 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() method in ActivityThreadClientTest.ClientMockSession
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java82 launchActivity(); in setUp()
121 private void launchActivity() { in launchActivity() method in AccessibilityInteractionControllerTest
139 final Activity activity = mActivityRule.launchActivity(null); in launchActivity()
/frameworks/base/services/core/java/com/android/server/search/
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()
/frameworks/base/test-runner/src/android/test/
DSingleLaunchActivityTestCase.java73 sActivity = launchActivity(mPackage, mActivityClass, null); in setUp()
DActivityInstrumentationTestCase.java76 setActivity(launchActivity(targetPackageName, mActivityClass, null)); in setUp()
DActivityInstrumentationTestCase2.java104 a = launchActivity(targetPackage, mActivityClass, null); in getActivity()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DScreenRecordTestBase.kt44 mActivity = mActivityRule.launchActivity(Intent()) in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/usb/
DUsbPermissionActivityTest.kt93 activityRule.launchActivity(activityIntent) in setUp()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java151 launchActivity(packageName, intent); in testAppStability()
266 private void launchActivity(String packageName, Intent intent) { in launchActivity() method in AppCompatibility

12