Home
last modified time | relevance | path

Searched refs:getFocusedActivity (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerStateHelper.java358 waitFor(msg, wmState -> Objects.equals(activityComponentName, wmState.getFocusedActivity()) in waitForFocusedActivity()
404 if (getFocusedActivity() == null) {
541 assertNotNull("Must have focus activity.", getFocusedActivity());
597 assertEquals(msg, activityComponentName, getFocusedActivity());
608 assertNotEquals(msg, getFocusedActivity(), getActivityName(activityName));
614 getFocusedActivity());
632 assertNotEquals(msg, getFocusedActivity(), getActivityName(activityName));
DActivityManagerTestBase.java390 return getActivityName(componentName).equals(mWmState.getFocusedActivity()); in waitForActivityFocused()
1168 mWmState.waitForWithAmState(state -> activityClassName.equals(state.getFocusedActivity()), in waitAndAssertTopResumedActivity()
DWindowManagerState.java583 public String getFocusedActivity() { in getFocusedActivity() method in WindowManagerState
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAssistantStackTests.java302 ComponentName.unflattenFromString(mWmState.getFocusedActivity()))) { in testTranslucentAssistantActivityStackVisibility()
DWindowUntrustedTouchTest.java1024 if (!TextUtils.equals(activity, state.getFocusedActivity()) in addActivity()
1066 state -> name.equals(state.getFocusedActivity()) in waitForNoActivityOverlays()
DMultiDisplaySecurityTests.java825 mWmState.getFocusedActivity(), in testNoInputConnectionForUntrustedVirtualDisplay()
DActivityTransitionTests.java576 ComponentName.unflattenFromString(getWmState().getFocusedActivity())); in getTopAppBounds()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java788 helper.getFocusedActivity()).getPackageName().equals(pkg); in checkPackageResumed()