Home
last modified time | relevance | path

Searched refs:waitForActivityState (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityLegacyFlowTest.java93 waitForActivityState(testComponentName, STATE_RESUMED); in recreate()
114 public void waitForActivityState(ComponentName activityName, String activityState) { in waitForActivityState() method in PreferenceActivityLegacyFlowTest
115 new WindowManagerStateHelper().waitForActivityState(activityName, activityState); in waitForActivityState()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java77 mWmState.waitForActivityState(mActivity.getComponentName(), STATE_RESUMED); in setUp()
117 mWmState.waitForActivityState(componentName, STATE_RESUMED); in testBackToTask()
122 mWmState.waitForActivityState(mActivity.getComponentName(), STATE_RESUMED); in testBackToTask()
131 mWmState.waitForActivityState(componentName, STATE_RESUMED); in testBackToActivity()
136 mWmState.waitForActivityState(mActivity.getComponentName(), STATE_RESUMED); in testBackToActivity()
168 mWmState.waitForActivityState(componentName, STATE_RESUMED); in testImeDismissed()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java136 mWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testVisibilityBehindTranslucentActivity_sameTask()
147 mWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testVisibilityBehindTranslucentActivity_diffTask()
188 mWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED); in launchAndFinishActivityBehindTranslucentActivity()
196 mWmState.waitForActivityState(TRANSLUCENT_TEST_ACTIVITY, STATE_RESUMED); in launchAndFinishActivityBehindTranslucentActivity()
351 mWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_RESUMED); in testFinishActivityInNonFocusedStack()
405 mWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED); in testLaunchTaskOnHomeInLockTaskMode()
454 mWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED); in performFinishActivityWithMoveTaskToBack()
455 mWmState.waitForActivityState(MOVE_TASK_TO_BACK_ACTIVITY,STATE_STOPPED); in performFinishActivityWithMoveTaskToBack()
599 mWmState.waitForActivityState(TRANSLUCENT_ACTIVITY, STATE_RESUMED); in testNoHistoryActivityNotFinishedBehindTranslucentActivity()
605 mWmState.waitForActivityState(NO_HISTORY_ACTIVITY, STATE_RESUMED); in testNoHistoryActivityNotFinishedBehindTranslucentActivity()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java114 mWmState.waitForActivityState(secondLaunchActivity.getComponentName(), STATE_RESUMED); in testClearTopNewTaskResetTask()
185 mWmState.waitForActivityState(NO_HISTORY_ACTIVITY, STATE_RESUMED); in testNoHistoryActivityNotFinished()
456 mWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_DESTROYED); in testLaunchActivityWithFlagNewTaskAndClearTask()
496 mWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_RESUMED); in testLaunchActivityWithFlagClearTop()
561 mWmState.waitForActivityState(STANDARD_SINGLE_TOP_ACTIVITY, STATE_RESUMED); in testLaunchActivityWithFlagSingleTop()
630 mWmState.waitForActivityState(CLEAR_TASK_ON_LAUNCH_ACTIVITY, STATE_RESUMED); in testActivityWithClearTaskOnLaunch()
638 mWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_RESUMED); in testActivityWithClearTaskOnLaunch()
649 mWmState.waitForActivityState(CLEAR_TASK_ON_LAUNCH_ACTIVITY, STATE_RESUMED); in testActivityWithClearTaskOnLaunch()
650 mWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_DESTROYED); in testActivityWithClearTaskOnLaunch()
689 mWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_RESUMED); in testActivityWithFinishOnTaskLaunch()
DActivityTests.java76 mWmState.waitForActivityState(firstActivity.getComponentName(), STATE_STOPPED); in testReleaseActivityInstance_invisible()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java209 mWmState.waitForActivityState(name, STATE_RESUMED); in testSplashScreenColor()
495 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_ICON_ACTIVITY, STATE_RESUMED); in testCancelHandleExitIconAnimatingActivity()
553 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_ICON_ACTIVITY, STATE_RESUMED); in testLaunchWithSolidColorOptions()
572 mWmState.waitForActivityState(HANDLE_SPLASH_SCREEN_EXIT_ACTIVITY, STATE_RESUMED); in testLaunchAppWithIconOptions()
587 mWmState.waitForActivityState(waitResumeComponent, STATE_RESUMED); in launchActivitiesFromStarterWithOptions()
659 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_THEME_ACTIVITY, STATE_RESUMED); in testOverrideSplashscreenTheme()
667 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_THEME_ACTIVITY, STATE_RESUMED); in testOverrideSplashscreenTheme()
674 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_THEME_ACTIVITY, STATE_RESUMED); in testOverrideSplashscreenTheme()
680 mWmState.waitForActivityState(SPLASH_SCREEN_REPLACE_THEME_ACTIVITY, STATE_RESUMED); in testOverrideSplashscreenTheme()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintManagerTest.java235 mWmState.waitForActivityState(AUTH_ON_CREATE_ACTIVITY, STATE_RESUMED); in testAuthenticateFromForegroundActivity()
276 mWmState.waitForActivityState(AUTH_ON_CREATE_ACTIVITY, in testRejectThenErrorFromForegroundActivity()
346 mWmState.waitForActivityState(AUTH_ON_CREATE_ACTIVITY, STATE_RESUMED); in testAuthCancelsWhenAppSwitched()
355 mWmState.waitForActivityState(EMPTY_ACTIVITY, STATE_RESUMED); in testAuthCancelsWhenAppSwitched()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java164 mWmState.waitForActivityState(NON_RESIZEABLE_ACTIVITY, STATE_RESUMED); in testDevEnableNonResizeableMultiWindow_splitScreenSecondary()
173 mWmState.waitForActivityState(activity, STATE_RESUMED); in assertActivitySupportedInSplitScreen()
188 mWmState.waitForActivityState(activity, STATE_RESUMED); in assertActivityNotSupportedInSplitScreen()
564 mWmState.waitForActivityState(TRANSLUCENT_TEST_ACTIVITY, STATE_STOPPED); in testVisibilityWithTranslucentAndTopFinishingActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DTaskFragmentOrganizerTest.java125 mWmState.waitForActivityState(mOwnerActivityName, STATE_RESUMED); in testReparentActivity()
158 mWmState.waitForActivityState(mLaunchingActivity, STATE_RESUMED); in testStartActivityInTaskFragment_reuseTask()
DTaskFragmentOrganizerTestBase.java209 mWmState.waitForActivityState(componentName, STATE_RESUMED); in createTaskFragment()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDreamManagerServiceTests.java207 mWmState.waitForActivityState(Components.TEST_ACTIVITY, STATE_STOPPED); in testStartActivityDoesNotWakeAndIsNotResumed()
300 mWmState.waitForActivityState(mWmState.getHomeActivityName(), STATE_STOPPED); in waitAndAssertDreaming()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingCrossUidTests.java373 mWmState.waitForActivityState(embeddedComponentName, STATE_RESUMED); in testUntrustedCrossUidActivityEmbeddingRestoreFromPip()
384 mWmState.waitForActivityState(embeddedComponentName, STATE_RESUMED); in testUntrustedCrossUidActivityEmbeddingRestoreFromPip()
DActivityEmbeddingPolicyTests.java176 mWmState.waitForActivityState(SIGNED_EMBEDDING_ACTIVITY, in testInputDuringAnimationIsNotAllowed_trustedEmbedding()
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTransitionTests.java173 mWmState.waitForActivityState(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_NO_PREVIEW_ACTIVITY, in testOccludeAttrRemove()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java590 mWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()
604 mWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()
951 mWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED);
961 mWmState.waitForActivityState(NIGHT_MODE_ACTIVITY, STATE_RESUMED);
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/
DDeviceOwnerTest.java185 new WindowManagerStateHelper().waitForActivityState(componentName, STATE_RESUMED); in launchSettingsPage()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java280 public boolean waitForActivityState(ComponentName activityName, String activityState) { in waitForActivityState() method
286 assertTrue(waitForActivityState(activityName, activityState)); in waitAndAssertActivityState()
DActivityManagerTestBase.java1268 mWmState.waitForActivityState(activityName, state); in waitAndAssertActivityState()
1323 mWmState.waitForActivityState(activityName, STATE_RESUMED); in waitAndAssertResumedActivity()
1350 mWmState.waitForActivityState(activityName, STATE_STOPPED); in waitAndAssertStoppedActivity()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java276 new WindowManagerStateHelper().waitForActivityState(testComponentName, STATE_RESUMED); in startAndKeepTestActivity()
DTestAppInterface.java306 new WindowManagerStateHelper().waitForActivityState(testComponentName, STATE_RESUMED); in startAndKeepTestActivity()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricActivityTests.java222 mWmState.waitForActivityState(activitySession.getComponentName(), in testBiometricOnly_rejectThenAuthenticate_forSensor()
DBiometricTestBase.java527 mWmState.waitForActivityState(activitySession.getComponentName(), in launchActivityAndWaitForResumed()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2115 mWMStateHelper.waitForActivityState(TEST_APP2_PIP_COMPONENT, in testPipActivity()
2189 mWMStateHelper.waitForActivityState(TEST_APP2_PIP_COMPONENT, in testPipActivity_StopToPause()
2201 mWMStateHelper.waitForActivityState(TEST_APP2_PIP_COMPONENT, in testPipActivity_StopToPause()
2211 mWMStateHelper.waitForActivityState(TEST_APP2_PIP_COMPONENT, in testPipActivity_StopToPause()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java686 mWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testSecondaryDisplayFocus()
DMultiDisplayActivityLaunchTests.java357 mWmState.waitForActivityState(NON_RESIZEABLE_ACTIVITY, STATE_RESUMED); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()

12