Home
last modified time | relevance | path

Searched refs:activityRule (Results 1 – 6 of 6) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAspectRatioTestsBase.java45 void runAspectRatioTest(final ActivityTestRule activityRule, in runAspectRatioTest() argument
47 final Activity activity = launchActivity(activityRule); in runAspectRatioTest()
54 finishActivity(activityRule); in runAspectRatioTest()
102 protected Activity launchActivity(final ActivityTestRule activityRule) { in launchActivity() argument
103 final Activity activity = activityRule.launchActivity(null); in launchActivity()
108 private void finishActivity(ActivityTestRule activityRule) { in finishActivity() argument
109 final Activity activity = activityRule.getActivity(); in finishActivity()
DParentChildTestBase.java39 activityRule().launchActivity(intent); in startTestCase()
48 abstract ActivityTestRule<T> activityRule(); in activityRule() method in ParentChildTestBase
56 activityRule().finishActivity(); in doFullscreenTest()
67 activityRule().finishActivity(); in doDockedTest()
DDialogFrameTests.java77 ActivityTestRule<DialogFrameTestActivity> activityRule() { in activityRule() method in DialogFrameTests
/cts/tests/tests/widget/src/android/widget/cts/
DWidgetAttributeTest.kt49 val activityRule = ActivityTestRule<Activity>(Activity::class.java, true, false) constant
56 activityRule.launchActivity(null) in setUp()
66 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeResolutionStack()
128 val inflater = LayoutInflater.from(activityRule.getActivity()) in testGetAttributeSourceResourceMap()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java437 private Activity launchActivity(ActivityTestRule activityRule) {
438 final Activity activity = activityRule.launchActivity(null);
/cts/tests/tests/appop/src/android/app/appops/cts/
DHistoricalAppopsTest.kt50 var activityRule = ActivityTestRule(UidStateForceActivity::class.java) in <lambda>() variable in android.app.appops.cts.HistoricalAppopsTest
239 activityRule.activity.waitForResumed() in <lambda>()