Searched refs:activityRule (Results 1 – 6 of 6) sorted by relevance
45 void runAspectRatioTest(final ActivityTestRule activityRule, in runAspectRatioTest() argument47 final Activity activity = launchActivity(activityRule); in runAspectRatioTest()54 finishActivity(activityRule); in runAspectRatioTest()102 protected Activity launchActivity(final ActivityTestRule activityRule) { in launchActivity() argument103 final Activity activity = activityRule.launchActivity(null); in launchActivity()108 private void finishActivity(ActivityTestRule activityRule) { in finishActivity() argument109 final Activity activity = activityRule.getActivity(); in finishActivity()
39 activityRule().launchActivity(intent); in startTestCase()48 abstract ActivityTestRule<T> activityRule(); in activityRule() method in ParentChildTestBase56 activityRule().finishActivity(); in doFullscreenTest()67 activityRule().finishActivity(); in doDockedTest()
77 ActivityTestRule<DialogFrameTestActivity> activityRule() { in activityRule() method in DialogFrameTests
49 val activityRule = ActivityTestRule<Activity>(Activity::class.java, true, false) constant56 activityRule.launchActivity(null) in setUp()66 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeResolutionStack()128 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeSourceResourceMap()
437 private Activity launchActivity(ActivityTestRule activityRule) {438 final Activity activity = activityRule.launchActivity(null);
50 var activityRule = ActivityTestRule(UidStateForceActivity::class.java) in <lambda>() variable in android.app.appops.cts.HistoricalAppopsTest239 activityRule.activity.waitForResumed() in <lambda>()