Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/android/car/app/
DCarTaskViewControllerHostLifecycleFactoryTest.java36 public ActivityScenarioRule<TestActivity> activityRule = new ActivityScenarioRule<>( field in CarTaskViewControllerHostLifecycleFactoryTest
41 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()
/packages/modules/HealthFitness/testapps/toolbox/tests/src/com/android/healthconnect/testapps/toolbox/
DCategoryListFragmentTest.kt31 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) constant in com.android.healthconnect.testapps.toolbox.CategoryListFragmentTest
46 return activityRule.scenario.onActivity { in launchScenario()
DDataTypeListFragmentTest.kt41 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) in <lambda>() constant in com.android.healthconnect.testapps.toolbox.DataTypeListFragmentTest
102 return activityRule.scenario.onActivity { activity -> in <lambda>()
DHomePageTest.kt31 @get:Rule val activityRule = ActivityScenarioRule(MainActivity::class.java) constant in com.android.healthconnect.testapps.toolbox.HomePageTest
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionReviewTest.kt57 @get:Rule val activityRule = ActivityTestRule(StartForFutureActivity::class.java, false, false) constant in android.permissionui.cts.PermissionReviewTest
141 activityRule in testReviewPermissionWhenServiceIsBound()
/packages/apps/Settings/src/com/android/settings/activityembedding/
DActivityEmbeddingRulesController.java272 ActivityRule activityRule = new ActivityRule.Builder(activityFilters).setAlwaysExpand(true) in registerAlwaysExpandRule() local
274 mRuleController.addRule(activityRule); in registerAlwaysExpandRule()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxValidationOverTTests.java45 public final ActivityScenarioRule<TestActivity> activityRule = field in SdkSandboxValidationOverTTests