Searched refs:activityRule (Results 1 – 7 of 7) sorted by relevance
36 public ActivityScenarioRule<TestActivity> activityRule = new ActivityScenarioRule<>( field in CarTaskViewControllerHostLifecycleFactoryTest41 activityRule.getScenario().onActivity(activity -> mActivity = activity); in setup()52 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityResumed_callsObserver()53 activityRule.getScenario().moveToState(Lifecycle.State.RESUMED); in forActivity_activityResumed_callsObserver()67 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityStarted_callsObserver()68 activityRule.getScenario().moveToState(Lifecycle.State.STARTED); in forActivity_activityStarted_callsObserver()82 activityRule.getScenario().moveToState(Lifecycle.State.RESUMED); in forActivity_activityStopped_callsObserver()83 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityStopped_callsObserver()97 activityRule.getScenario().moveToState(Lifecycle.State.CREATED); in forActivity_activityDestroyed_callsObserver()98 activityRule.getScenario().moveToState(Lifecycle.State.DESTROYED); in forActivity_activityDestroyed_callsObserver()
31 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) constant in com.android.healthconnect.testapps.toolbox.CategoryListFragmentTest46 return activityRule.scenario.onActivity { in launchScenario()
41 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) in <lambda>() constant in com.android.healthconnect.testapps.toolbox.DataTypeListFragmentTest102 return activityRule.scenario.onActivity { activity -> in <lambda>()
31 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) constant in com.android.healthconnect.testapps.toolbox.HomePageTest
57 @get:Rule val activityRule = ActivityTestRule(StartForFutureActivity::class.java, false, false) constant in android.permissionui.cts.PermissionReviewTest141 activityRule in testReviewPermissionWhenServiceIsBound()
272 ActivityRule activityRule = new ActivityRule.Builder(activityFilters).setAlwaysExpand(true) in registerAlwaysExpandRule() local274 mRuleController.addRule(activityRule); in registerAlwaysExpandRule()
45 public final ActivityScenarioRule<TestActivity> activityRule = field in SdkSandboxValidationOverTTests