/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 192 final int displayId = displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in testRecognizeGesturePathOnVirtualDisplay() local 211 private void runGestureDetectionTestOnDisplay(int displayId) { in runGestureDetectionTestOnDisplay() 220 displayId); in runGestureDetectionTestOnDisplay() local 224 displayId); in runGestureDetectionTestOnDisplay() local 259 private void runMultiFingerGestureDetectionTestOnDisplay(int displayId) { in runMultiFingerGestureDetectionTestOnDisplay() 266 displayId); in runMultiFingerGestureDetectionTestOnDisplay() local 270 displayId); in runMultiFingerGestureDetectionTestOnDisplay() local 274 displayId); in runMultiFingerGestureDetectionTestOnDisplay() local 278 displayId); in runMultiFingerGestureDetectionTestOnDisplay() local 282 displayId); in runMultiFingerGestureDetectionTestOnDisplay() local [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | WindowContextTestBase.java | 27 Context createDisplayContext(int displayId) { in createDisplayContext() 32 Context createWindowContext(int displayId) { in createWindowContext() 36 Context createWindowContext(int displayId, int type) { in createWindowContext()
|
D | FreeformWindowingModeTests.java | 67 int displayId = Display.DEFAULT_DISPLAY; in testFreeformWindowManagementSupport() local 134 final int displayId = mWmState.getStandardRootTaskByWindowingMode(WINDOWING_MODE_FREEFORM) in testActivityLifeCycleOnResizeFreeformTask() local 168 int displayId = Display.DEFAULT_DISPLAY; in testMultiWindowFullscreenRequest() local 188 int displayId = Display.DEFAULT_DISPLAY; in testMultiWindowFullscreenRequestRejection() local 204 int displayId = Display.DEFAULT_DISPLAY; in testMultiWindowFullscreenOnNonPcDevice() local
|
D | PresentationTest.java | 106 private boolean isPresentationOnDisplay(WindowManagerState windowManagerState, int displayId) { in isPresentationOnDisplay() 122 private void assertPresentationOnDisplayAndMatchesDisplayMetrics(int displayId) { in assertPresentationOnDisplayAndMatchesDisplayMetrics() 135 private void launchPresentationActivity(int displayId) { in launchPresentationActivity()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserVisibilityVisibleBackgroundUsersTestCase.java | 129 runTestOnSecondaryDisplay((user, displayId, instance) -> { in testStartVisibleBgUser_onSecondaryDisplay() argument 153 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in testStartVisibleBgUser_onSecondaryDisplay_profileOnSameDisplay() local 188 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in testStartVisibleBgUser_onSecondaryDisplay_profileOnDefaultDisplay() local 231 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay() local 246 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay() local 280 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in testStartVisibleBgUser_parentOnDefaultDisplayProfileOnSecondaryDisplay_HSUM() local 294 runTestOnSecondaryDisplay((user, displayId, instance) -> { in testStartVisibleBgUser_onSecondaryDisplay_displayInUse() argument
|
D | UserVisibilityTestCase.java | 90 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in runTestOnSecondaryDisplay() local 110 protected void runTestOnDisplay(int displayId, in runTestOnDisplay() 145 int displayId = getSecondaryDisplayIdForStartingVisibleBackgroundUser(); in runTestOnSecondaryDisplay() local 163 void run(UserReference user, int displayId, TestAppInstance instance); in run() 167 void run(UserReference user, UserReference profile, int displayId, in run() 204 protected void startVisibleBackgroundUser(UserReference user, int displayId) { in startVisibleBackgroundUser() 216 protected boolean tryToStartVisibleBackgroundUser(int userId, int displayId) { in tryToStartVisibleBackgroundUser()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarDisplayInputLockTest.java | 111 int displayId = display.getDisplayId(); in testDisplayInputLockForEachPassengerDisplay() local 191 private void doTestDisplayInputLock(int displayId, boolean touchReceived) { in doTestDisplayInputLock() 201 private void assertDisplayInputSinkCreated(int displayId) throws Exception { in assertDisplayInputSinkCreated() 234 private void launchActivity(int displayId) { in launchActivity() 267 private void tapOnDisplay(int displayId) { in tapOnDisplay() 274 private void mouseClickOnDisplay(int displayId) { in mouseClickOnDisplay() 290 private static MotionEvent obtainMouseEvent(View target, int action, int displayId) { in obtainMouseEvent() 295 int displayId) { in obtainMotionEvent() 307 private static Bundle createLaunchActivityOptionsBundle(int displayId) { in createLaunchActivityOptionsBundle()
|
D | CarPowerManagerTest.java | 230 int displayId = display.getDisplayId(); in testSetDisplayPowerState_driverDisplayMustNotBeSupported() local 257 int displayId = display.getDisplayId(); in testSetDisplayPowerState_passengerDisplays_modeOn() local 294 int displayId = display.getDisplayId(); in testSetDisplayPowerState_passengerDisplays_modeOff() local 331 int displayId = display.getDisplayId(); in testSetDisplayPowerState_passengerDisplays_modeAlwaysOn() local
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | RestrictActivityTest.java | 118 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in restrictedActivity_noGwpc_shouldFail() local 129 final int displayId = createVirtualDeviceAndDisplayWithCategories(displayCategories); in assertActivityLaunchSucceeds() local 133 assertActivityOnDisplay(activity.getComponentName(), displayId, mContext.getUserId()); in assertActivityLaunchSucceeds() local 140 final int displayId = createVirtualDeviceAndDisplayWithCategories(displayCategories); in assertActivityLaunchBlocked() local 166 protected void assertActivityOnDisplay(ComponentName componentName, int displayId, int userId) { in assertActivityOnDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 52 public void touchAndCancelOnDisplayCenterSync(int displayId) { in touchAndCancelOnDisplayCenterSync() 77 public void tapOnDisplaySync(int x, int y, int displayId) { in tapOnDisplaySync() 81 public void tapOnDisplay(int x, int y, int displayId, boolean sync) { in tapOnDisplay() 85 public void tapOnDisplay(int x, int y, int displayId, boolean sync, boolean waitAnimations) { in tapOnDisplay() 104 public void tapOnCenter(Rect bounds, int displayId) { in tapOnCenter() 108 public void tapOnCenter(Rect bounds, int displayId, boolean waitAnimation) { in tapOnCenter() 130 public void tapOnDisplayCenter(int displayId) { in tapOnDisplayCenter() 132 tapOnDisplaySync(bounds.centerX(), bounds.centerY(), displayId); in tapOnDisplayCenter() local 136 int x, int y, int displayId, boolean sync) { in injectMotion() 142 int x, int y, int displayId, boolean sync, boolean waitAnimations) { in injectMotion() [all …]
|
D | WindowManagerTestBase.java | 47 protected static <T extends FocusableActivity> T startActivity(Class<T> cls, int displayId) { in startActivity() 52 Class<T> cls, int displayId, boolean hasFocus) { in startActivity() 67 Class<T> cls, int displayId, boolean hasFocus, int windowingMode) { in startActivity() 72 Class<T> cls, int displayId, boolean hasFocus, int windowingMode, int taskId) { in startActivity()
|
D | WindowManagerStateHelper.java | 314 public boolean waitForAppTransitionRunningOnDisplay(int displayId) { in waitForAppTransitionRunningOnDisplay() 321 public boolean waitForAppTransitionIdleOnDisplay(int displayId) { in waitForAppTransitionIdleOnDisplay() 328 public void waitAndAssertNavBarShownOnDisplay(int displayId) { in waitAndAssertNavBarShownOnDisplay() 337 public void waitAndAssertNavBarShownOnDisplay(int displayId, int expectedNavBarCount) { in waitAndAssertNavBarShownOnDisplay() 345 public void waitAndAssertKeyguardShownOnSecondaryDisplay(int displayId) { in waitAndAssertKeyguardShownOnSecondaryDisplay() 352 public void waitAndAssertKeyguardGoneOnSecondaryDisplay(int displayId) { in waitAndAssertKeyguardGoneOnSecondaryDisplay()
|
D | ActivityManagerTestBase.java | 328 protected static String getAmStartCmd(final ComponentName activityName, final int displayId, in getAmStartCmd() 333 private static String getAmStartCmdInternal(final String activityName, final int displayId, in getAmStartCmdInternal() 548 public void launchTestActivityOnDisplaySync(Class<T> activityClass, int displayId) { in launchTestActivityOnDisplaySync() 560 Class<T> activityClass, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() 576 @Nullable String className, Intent intent, int displayId) { in launchTestActivityOnDisplaySync() 590 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() 608 public void launchTestActivityOnDisplay(Class<T> activityClass, int displayId) { in launchTestActivityOnDisplay() 632 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchActivityOnDisplay() 777 protected void startActivityOnDisplay(int displayId, ComponentName component) { in startActivityOnDisplay() 834 protected void touchAndCancelOnDisplayCenterSync(int displayId) { in touchAndCancelOnDisplayCenterSync() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | MinimalPostProcessingTests.java | 57 private boolean isMinimalPostProcessingSupported(int displayId) { in isMinimalPostProcessingSupported() 61 private boolean isMinimalPostProcessingRequested(int displayId) { in isMinimalPostProcessingRequested() 70 final int displayId = getDisplayId(name); in assertDisplayRequestedMinimalPostProcessing() local
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateTest.java | 100 public void onDisplayAdded(int displayId) { in onDisplayAdded() 105 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() 110 public void onDisplayChanged(int displayId) { in onDisplayChanged()
|
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/ |
D | VirtualDeviceRule.java | 290 public void assertDisplayExists(int displayId) { in assertDisplayExists() 298 public void assertDisplayDoesNotExist(int displayId) { in assertDisplayDoesNotExist() 358 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in startActivityOnDisplaySync() local 372 public void sendIntentToDisplay(Intent intent, int displayId) { in sendIntentToDisplay() 381 public <T extends Activity> T startActivityOnDisplaySync(int displayId, Class<T> clazz) { in startActivityOnDisplaySync() 399 public <T extends Activity> T startActivityOnDisplaySync(int displayId, Intent intent) { in startActivityOnDisplaySync() 414 public static Bundle createActivityOptions(int displayId) { in createActivityOptions() 421 public void assumeActivityLaunchSupported(int displayId) { in assumeActivityLaunchSupported()
|
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/ |
D | OverlayWindowTestActivitySdk22.java | 62 int displayId = intent.getIntExtra(EXTRA_DISPLAY_ID_TO_SHOW_OVERLAY, in onCreate() local 67 private void createOverlayWindowOnDisplay(int displayId, int windowType, String windowName) { in createOverlayWindowOnDisplay()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LiveWallpaper.java | 38 final int displayId = displayContext.getDisplayId(); in onCreateEngine() local
|
D | LaunchBroadcastReceiver.java | 55 final int displayId = extras.getInt(EXTRA_TARGET_DISPLAY); in onReceive() local
|
D | PresentationActivity.java | 49 int displayId = intent.getExtras().getInt( in createPresentationWindow() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/ |
D | HotplugTestActivity.java | 173 public void onDisplayAdded(int displayId) { in onDisplayAdded() 178 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() 183 public void onDisplayChanged(int displayId) { in onDisplayChanged()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplaySystemDecorationTests.java | 130 private boolean isWallpaperOnDisplay(WindowManagerState windowManagerState, int displayId) { in isWallpaperOnDisplay() 360 private void sendHomeIntentToDisplay(String category, int displayId) { in sendHomeIntentToDisplay() 379 int displayId) { in assertSecondaryHomeResumedOnDisplay()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityRecordInputSinkTests.java | 152 int displayId = mWmState.getTaskByActivity(OVERLAY_IN_DIFFERENT_UID).mDisplayId; in testOverlappingActivitySandwichDuringAnimation_DoesNotBlockTouches() local 178 int displayId = activity.getTask().mDisplayId; in touchButtonsAndAssert() local
|
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDisplayTest.java | 320 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in isVirtualDeviceOwnedMirrorDisplay_unownedAutoMirrorDisplay_returnsFalse() local 332 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in isVirtualDeviceOwnedMirrorDisplay_unownedPublicDisplay_returnsFalse() local 344 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in isVirtualDeviceOwnedMirrorDisplay_unownedPublicAutoMirrorDisplay_returnsFalse() local 353 final int displayId = virtualDisplay.getDisplay().getDisplayId(); in isVirtualDeviceOwnedMirrorDisplay_unownedDisplay_returnsFalse() local
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 196 private int createNewUser(int displayId) throws Exception { in createNewUser() 233 private static void startUserOnDisplay(int userId, int displayId) { in startUserOnDisplay() 239 private void waitForPassengerLauncherOnDisplay(String passengerLauncherPkg, int displayId) { in waitForPassengerLauncherOnDisplay()
|