Home
last modified time | relevance | path

Searched refs:windowName (Results 1 – 18 of 18) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DHideOverlayWindowsTest.java93 String windowName = "SYSTEM_ALERT_WINDOW"; in testApplicationOverlayHiddenWhenRequested() local
99 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName)); in testApplicationOverlayHiddenWhenRequested()
100 mWmState.waitAndAssertWindowSurfaceShown(windowName, true); in testApplicationOverlayHiddenWhenRequested()
104 mWmState.waitAndAssertWindowSurfaceShown(windowName, true); in testApplicationOverlayHiddenWhenRequested()
107 mWmState.waitAndAssertWindowSurfaceShown(windowName, false); in testApplicationOverlayHiddenWhenRequested()
110 mWmState.waitAndAssertWindowSurfaceShown(windowName, true); in testApplicationOverlayHiddenWhenRequested()
115 String windowName = "SYSTEM_ALERT_WINDOW"; in testSystemApplicationOverlayFlagNoEffectWithoutPermission() local
121 CliIntentExtra.extraString(WINDOW_NAME_EXTRA, windowName), in testSystemApplicationOverlayFlagNoEffectWithoutPermission()
123 mWmState.waitAndAssertWindowSurfaceShown(windowName, true); in testSystemApplicationOverlayFlagNoEffectWithoutPermission()
127 mWmState.waitAndAssertWindowSurfaceShown(windowName, true); in testSystemApplicationOverlayFlagNoEffectWithoutPermission()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWaitForValidActivityState.java41 public final String windowName; field in WaitForValidActivityState
46 public static WaitForValidActivityState forWindow(final String windowName) { in forWindow() argument
47 return new Builder().setWindowName(windowName).build(); in forWindow()
52 this.windowName = getWindowName(activityName); in WaitForValidActivityState()
60 this.windowName = builder.mWindowName; in WaitForValidActivityState()
75 if (windowName != null) { in toString()
76 sb.append(" window=").append(windowName); in toString()
127 private Builder setWindowName(String windowName) { in setWindowName() argument
128 mWindowName = windowName; in setWindowName()
DWindowManagerStateHelper.java359 public boolean waitForWindowSurfaceShown(String windowName, boolean shown) { in waitForWindowSurfaceShown() argument
360 final String message = windowName + "'s isWindowSurfaceShown to return " + shown; in waitForWindowSurfaceShown()
363 return isWindowSurfaceShown(windowName) == shown; in waitForWindowSurfaceShown()
367 void waitForWindowSurfaceDisappeared(String windowName) {
368 waitForWindowSurfaceShown(windowName, false);
371 public void waitAndAssertWindowSurfaceShown(String windowName, boolean shown) {
372 assertTrue(waitForWindowSurfaceShown(windowName, shown));
495 final String windowName = state.windowName;
501 getMatchingVisibleWindowState(windowName);
504 logAlways("Activity window not visible: " + windowName);
[all …]
DWindowManagerState.java539 public DisplayArea getDisplayArea(String windowName) { in getDisplayArea() argument
542 final DisplayArea da = display.getDisplayArea(windowName); in getDisplayArea()
998 public List<WindowState> getMatchingVisibleWindowState(final String windowName) { in getMatchingVisibleWindowState() argument
999 return getMatchingWindows(ws -> ws.isSurfaceShown() && windowName.equals(ws.getName())) in getMatchingVisibleWindowState()
1080 public boolean containsWindow(String windowName) { in containsWindow() argument
1082 if (window.getName().equals(windowName)) { in containsWindow()
1090 public boolean isWindowSurfaceShown(String windowName) { in isWindowSurfaceShown() argument
1092 if (window.getName().equals(windowName)) { in isWindowSurfaceShown()
1102 public boolean isWindowVisible(String windowName) { in isWindowVisible() argument
1104 if (window.getName().equals(windowName)) { in isWindowVisible()
[all …]
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java34 protected void createAllAlertWindows(String windowName) { in createAllAlertWindows() argument
38 createAlertWindow(type, windowName); in createAllAlertWindows()
49 protected void createAlertWindow(int type, String windowName) { in createAlertWindow() argument
63 params.setTitle(windowName); in createAlertWindow()
66 view.setText(windowName + " type=" + type); in createAlertWindow()
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DIUntrustedTouchTestService.aidl23 void showSystemAlertWindow(String windowName, float opacity, int viewX, int viewY); in showSystemAlertWindow() argument
24 void showActivityChildWindow(String windowName, in IBinder token); in showActivityChildWindow() argument
/cts/tests/app/app/src/android/app/stubs/
DLocalAlertService.java59 private View showAlertWindow(String windowName) { in showAlertWindow() argument
70 params.setTitle(windowName); in showAlertWindow()
73 view.setText(windowName); in showAlertWindow()
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/
DOverlayWindowTestActivitySdk22.java67 private void createOverlayWindowOnDisplay(int displayId, int windowType, String windowName) { in createOverlayWindowOnDisplay() argument
83 params.setTitle(windowName); in createOverlayWindowOnDisplay()
86 view.setText(windowName); in createOverlayWindowOnDisplay()
/cts/tests/tests/systemui/common/src/android/systemui/tv/cts/
DTestEntities.kt29 fun ComponentName.windowName(): String = flattenToString() in activityName() method
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DBasicPipTests.kt32 import android.systemui.tv.cts.Components.windowName in <lambda>()
121 PIP_ACTIVITY.windowName()) in <lambda>()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java144 private static LayoutParams newOverlayLayoutParams(String windowName, int type) { in newOverlayLayoutParams() argument
151 params.setTitle(windowName); in newOverlayLayoutParams()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DManifestLayoutTests.java285 final String windowName = getWindowName(activityName); in getDisplayAndWindowState() local
290 mWmState.assertFocusedWindow("Test window must be the front window.", windowName); in getDisplayAndWindowState()
296 mWmState.getMatchingVisibleWindowState(windowName); in getDisplayAndWindowState()
DDialogFrameTests.java88 private WindowState getSingleWindow(final String windowName) { in getSingleWindow() argument
89 final List<WindowState> windowList = mWmState.getMatchingVisibleWindowState(windowName); in getSingleWindow()
DBlurTests.java578 String windowName = getWindowName(activity.getComponentName()); in getFloatingWindowFrame() local
579 return new Rect(mWmState.getMatchingVisibleWindowState(windowName).get(0).getFrame()); in getFloatingWindowFrame()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java99 final String windowName = ComponentNameUtils.getWindowName(mActivity.getComponentName()); in popupWindowDismissedOnBackGesture() local
101 "Top activity window must be focused window.", windowName); in popupWindowDismissedOnBackGesture()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java185 final String windowName = lp.getTitle().toString(); in addForeignOverlayWindow() local
186 waitForWindowOnTop(windowName); in addForeignOverlayWindow()
189 waitForWindowRemoved(windowName); in addForeignOverlayWindow()
818 final String windowName = "PointerLocation - display " + displayId; in waitUntilPointerLocationShown() local
819 wmState.waitForWithAmState(state -> state.isWindowSurfaceShown(windowName), in waitUntilPointerLocationShown()
820 windowName + "'s surface is appeared"); in waitUntilPointerLocationShown()
/cts/tests/tests/car/src/android/car/app/cts/
DMultiUserMultiDisplayWindowSecurityTest.java119 String windowName = COMPONENT_DEPRECATED_SDK_TEST_ACTIVITY.getPackageName(); in testDeprecatedSdkVersionDialog() local
120 BySelector appWarningDialogSelector = By.pkg("android").text(windowName); in testDeprecatedSdkVersionDialog()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java2091 final String windowName = getWindowName(topActivityName); in pinnedStackTester() local
2103 "Pinned window must be focused window.", windowName); in pinnedStackTester()
2114 "Pinned window can't be focused window.", windowName); in pinnedStackTester()