/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserVisibilityMediatorMUPANDTest.java | 20 import static android.view.Display.INVALID_DISPLAY; 65 expectUserIsNotVisibleOnDisplay(visibleBgUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 72 expectUserIsNotVisibleOnDisplay(currentUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 73 expectDisplayAssignedToUser(currentUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 109 expectUserIsNotVisibleOnDisplay(visibleBgUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 116 expectUserIsNotVisibleOnDisplay(currentUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 117 expectDisplayAssignedToUser(currentUserId, INVALID_DISPLAY); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 168 expectUserIsNotVisibleOnDisplay(PARENT_USER_ID, INVALID_DISPLAY); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay() 176 expectUserIsNotVisibleOnDisplay(PROFILE_USER_ID, INVALID_DISPLAY); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay() 178 expectDisplayAssignedToUser(PROFILE_USER_ID, INVALID_DISPLAY); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay() [all …]
|
D | UserVisibilityMediatorVisibleBackgroundUserTestCase.java | 20 import static android.view.Display.INVALID_DISPLAY; 60 expectUserIsNotVisibleOnDisplay(USER_ID, INVALID_DISPLAY); in testStartFgUser_onDefaultDisplay() 66 expectUserAssignedToDisplay(INVALID_DISPLAY, USER_ID); in testStartFgUser_onDefaultDisplay() 94 expectUserIsNotVisibleOnDisplay(currentUserId, INVALID_DISPLAY); in testSwitchFgUser_onDefaultDisplay() 100 expectUserAssignedToDisplay(INVALID_DISPLAY, currentUserId); in testSwitchFgUser_onDefaultDisplay() 115 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, FG, INVALID_DISPLAY, in testStartFgUser_onInvalidDisplay() 131 INVALID_DISPLAY, false); in testStartVisibleBgUser_onInvalidDisplay() 155 expectUserIsNotVisibleOnDisplay(USER_ID, INVALID_DISPLAY); in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable() 220 expectUserIsNotVisibleOnDisplay(USER_ID, INVALID_DISPLAY); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser() 234 expectUserIsNotVisibleOnDisplay(USER_ID, INVALID_DISPLAY); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser() [all …]
|
D | UserVisibilityMediatorSUSDTest.java | 20 import static android.view.Display.INVALID_DISPLAY; 63 expectUserIsNotVisibleOnDisplay(USER_ID, INVALID_DISPLAY); in testStartFgUser_onDefaultDisplay() 70 expectUserAssignedToDisplay(INVALID_DISPLAY, USER_ID); in testStartFgUser_onDefaultDisplay() 95 expectUserIsNotVisibleOnDisplay(currentUserId, INVALID_DISPLAY); in testSwitchFgUser_onDefaultDisplay() 102 expectUserAssignedToDisplay(INVALID_DISPLAY, currentUserId); in testSwitchFgUser_onDefaultDisplay() 131 expectUserIsNotVisibleOnDisplay(PROFILE_USER_ID, INVALID_DISPLAY); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser() 171 expectUserIsNotVisibleOnDisplay(PROFILE_USER_ID, INVALID_DISPLAY); in testStartVisibleBgProfile_communalProfile()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 19 import static android.view.Display.INVALID_DISPLAY; 68 assertHasDefaultFields(keyEvent, INVALID_DISPLAY); in testObtain() 170 INVALID_DISPLAY, CHARACTERS); in testCopyConstructorWith2ChangedFields() 181 DEVICE_ID, SCAN_CODE, FLAGS, SOURCE, INVALID_DISPLAY, /* characters= */ null); in testConstructorWith10Args() 190 DEVICE_ID, SCAN_CODE, FLAGS, /* source= */ 0, INVALID_DISPLAY, in testConstructorWith9Args() 200 DEVICE_ID, SCAN_CODE, /* flags= */ 0, /* source= */ 0, INVALID_DISPLAY, in testConstructorWith8Args() 210 /* source= */ 0, INVALID_DISPLAY, /* characters= */ null); in testConstructorWith6Args() 219 /* scanCode= */ 0, /* flags= */ 0, /* source= */ 0, INVALID_DISPLAY, in testConstructorWith5Args() 229 /* scanCode= */ 0, FLAGS, InputDevice.SOURCE_KEYBOARD, INVALID_DISPLAY, CHARACTERS); in testConstructorWith4Args() 239 /* source= */ 0, INVALID_DISPLAY, /* characters= */ null); in testConstructorWith2Args() [all …]
|
D | ContentRecordingSessionTest.java | 23 import static android.view.Display.INVALID_DISPLAY; 106 displaySession1.setVirtualDisplayId(INVALID_DISPLAY); in testIsValid_displaySession() 111 INVALID_DISPLAY); in testIsValid_displaySession() 134 taskSession1.setVirtualDisplayId(INVALID_DISPLAY); in testIsValid_taskSession()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | UiAutomationTest.java | 20 import static android.view.Display.INVALID_DISPLAY; 61 mockDisplayAssignedToUser(INVALID_DISPLAY); in setFixtures() 90 mockContextDisplay(INVALID_DISPLAY); in testGetDisplay_contextWithInvalidDisplayId() 114 mockContextDisplay(INVALID_DISPLAY); in testGetDisplay_visibleBgUsers_contextWithInvalidDisplayId()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | GenericWindowPolicyController.java | 21 import static android.view.Display.INVALID_DISPLAY; 131 private int mDisplayId = Display.INVALID_DISPLAY; 232 return INVALID_DISPLAY; in waitAndGetDisplayId() 236 return INVALID_DISPLAY; in waitAndGetDisplayId() 405 && displayId != INVALID_DISPLAY) { in keepActivityOnWindowFlagsChanged() 431 if (mActivityListener != null && topActivity != null && displayId != INVALID_DISPLAY) { in onTopActivityChanged() 445 && displayId != INVALID_DISPLAY) { in onRunningAppsChanged() 507 && displayId != INVALID_DISPLAY) { in notifyActivityBlocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarControllerImplTest.java | 20 import static android.view.Display.INVALID_DISPLAY; 170 mNavigationBarController.checkNavBarModes(INVALID_DISPLAY); in testCheckNavBarModesWithInvalidDisplay() 194 mNavigationBarController.finishBarAnimations(INVALID_DISPLAY); in testFinishBarAnimationsWithInvalidDisplay() 218 mNavigationBarController.touchAutoDim(INVALID_DISPLAY); in testTouchAutoDimWithInvalidDisplay() 242 mNavigationBarController.transitionTo(INVALID_DISPLAY, 3, true); in testTransitionToWithInvalidDisplay() 266 mNavigationBarController.disableAnimationsDuringHide(INVALID_DISPLAY, 500L); in testDisableAnimationsDuringHideWithInvalidDisplay()
|
/frameworks/base/core/java/android/view/ |
D | ContentRecordingSession.java | 19 import static android.view.Display.INVALID_DISPLAY; 74 private int mVirtualDisplayId = INVALID_DISPLAY; 88 private int mDisplayToRecord = INVALID_DISPLAY; 152 && session.getDisplayToRecord() > INVALID_DISPLAY; in isValid() 153 return session.getVirtualDisplayId() > INVALID_DISPLAY in isValid() 645 mVirtualDisplayId = INVALID_DISPLAY; in build() 651 mDisplayToRecord = INVALID_DISPLAY; in build()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodManagerServiceTests.java | 20 import static android.view.Display.INVALID_DISPLAY; 70 INVALID_DISPLAY, sMustNotBeCalledChecker)); in testComputeImeDisplayId_InvalidDisplayId()
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarLaunchOnPrivateDisplayActivityInterceptor.java | 55 private static final int INVALID_DISPLAY = -1; field in CarLaunchOnPrivateDisplayActivityInterceptor 160 if (launchDisplayId == INVALID_DISPLAY) { in onInterceptActivityLaunch() 226 return INVALID_DISPLAY; in getLogicalDisplayId() 234 return INVALID_DISPLAY; in getLogicalDisplayId()
|
D | CarDisplayCompatActivityInterceptor.java | 21 import static android.view.Display.INVALID_DISPLAY; 162 int hostDisplayId = (launchDisplayId == INVALID_DISPLAY) in onInterceptActivityLaunch()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | ClientTransactionListenerController.java | 20 import static android.view.Display.INVALID_DISPLAY; 219 int changedDisplayId = INVALID_DISPLAY; in onContextConfigurationPostChanged() 232 if (changedDisplayId != INVALID_DISPLAY) { in onContextConfigurationPostChanged()
|
D | ActivityConfigurationChangeItem.java | 20 import static android.view.Display.INVALID_DISPLAY; 57 client.handleActivityConfigurationChanged(r, mConfiguration, INVALID_DISPLAY, in execute()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserVisibilityMediator.java | 22 import static android.view.Display.INVALID_DISPLAY; 481 if (displayId == Display.INVALID_DISPLAY) { in canAssignUserToDisplayLocked() 546 if (displayId == INVALID_DISPLAY) { in assignUserToExtraDisplay() 735 boolean isIt = displayId != INVALID_DISPLAY in isUserAssignedToDisplayOnStartLocked() 736 && mUsersAssignedToDisplayOnStart.get(userId, INVALID_DISPLAY) == displayId; in isUserAssignedToDisplayOnStartLocked() 761 if (displayId == INVALID_DISPLAY) { in isUserVisible() 802 if (mUsersAssignedToDisplayOnStart.get(userId, Display.INVALID_DISPLAY) == displayId) { in isFullUserVisibleOnBackgroundLocked() 828 return INVALID_DISPLAY; in getMainDisplayAssignedToUser() 835 return INVALID_DISPLAY; in getMainDisplayAssignedToUser() 839 return mUsersAssignedToDisplayOnStart.get(userId, INVALID_DISPLAY); in getMainDisplayAssignedToUser() [all …]
|
/frameworks/base/core/java/android/window/ |
D | ConfigurationHelper.java | 19 import static android.view.Display.INVALID_DISPLAY; 97 return newDisplayId != INVALID_DISPLAY && displayId != newDisplayId; in isDifferentDisplay()
|
D | DisplayWindowPolicyController.java | 20 import static android.view.Display.INVALID_DISPLAY; 131 /*launchingFromDisplayId=*/ INVALID_DISPLAY, /*isNewTask=*/ false)) { in canContainActivities()
|
D | SystemPerformanceHinter.java | 147 super(HINT_NO_OP, Display.INVALID_DISPLAY, ""); in NoOpHighPerfSession() 273 asyncTraceBegin(HINT_SF_EARLY_WAKEUP, Display.INVALID_DISPLAY); in startSession() 279 asyncTraceBegin(HINT_ADPF, Display.INVALID_DISPLAY); in startSession() 387 final String name = displayId != Display.INVALID_DISPLAY in asyncTraceBegin()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualInputDeviceConfig.java | 62 if (mAssociatedDisplayId == Display.INVALID_DISPLAY) { in VirtualInputDeviceConfig() 154 private int mAssociatedDisplayId = Display.INVALID_DISPLAY;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 3 import static android.view.Display.INVALID_DISPLAY; 270 return INVALID_DISPLAY; in getVirtualDisplayId() 313 updateDisplayId(INVALID_DISPLAY); in startVirtualDisplay() 341 updateDisplayId(INVALID_DISPLAY); in stopVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameTaskInfoProvider.java | 19 import static android.view.Display.INVALID_DISPLAY; 99 INVALID_DISPLAY); in getRunningTaskInfo()
|
/frameworks/base/core/java/android/app/ |
D | ActivityTaskManager.java | 19 import static android.view.Display.INVALID_DISPLAY; 374 INVALID_DISPLAY); in getTasks() 384 INVALID_DISPLAY); in getTasks() 394 return getTasks(maxNum, filterOnlyVisibleRecents, keepIntentExtra, INVALID_DISPLAY); in getTasks()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 20 import static android.view.Display.INVALID_DISPLAY; 164 return INVALID_DISPLAY; in getDisplayId() 170 if (displayId == INVALID_DISPLAY) { in getDisplayId() 171 return INVALID_DISPLAY; in getDisplayId() 229 if (displayId == INVALID_DISPLAY in injectMotionEvent() 279 int displayId = INVALID_DISPLAY; in onCommand() 332 INVALID_DISPLAY, DEFAULT_DISPLAY); in onHelp()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonView.java | 19 import static android.view.Display.INVALID_DISPLAY; 265 int displayId = INVALID_DISPLAY; in sendEvent() 271 if (displayId != INVALID_DISPLAY) { in sendEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContextListenerController.java | 19 import static android.view.Display.INVALID_DISPLAY; 223 private int mLastReportedDisplay = INVALID_DISPLAY; 289 mLastReportedDisplay = INVALID_DISPLAY; in clear()
|