Searched refs:USER_START_MODE_FOREGROUND (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 43 import static com.android.server.pm.UserManagerInternal.USER_START_MODE_FOREGROUND; 237 mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_foreground() 283 mUserController.startUser(SYSTEM_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_sendsNoBroadcastsForSystemUserInNonHeadlessMode() 295 mUserController.startUser(SYSTEM_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_sendsBroadcastsForSystemUserInHeadlessMode() 307 eq(USER_START_MODE_FOREGROUND), anyInt()); in testStartUser_displayAssignmentFailed() 309 boolean started = mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testStartUser_displayAssignmentFailed() 335 mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testStartUserUIDisabled() 346 mUserController.startUser(TEST_PRE_CREATED_USER_ID, USER_START_MODE_FOREGROUND)); in testStartPreCreatedUser_foreground() 425 mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testDispatchUserSwitch() 456 mUserController.startUser(TEST_USER_ID, USER_START_MODE_FOREGROUND); in testDispatchUserSwitchBadReceiver() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerInternal.java | 74 USER_START_MODE_FOREGROUND, 84 @Keep public static final int USER_START_MODE_FOREGROUND = 1; field in UserManagerInternal
|
D | UserVisibilityMediator.java | 30 import static com.android.server.pm.UserManagerInternal.USER_START_MODE_FOREGROUND; 288 case USER_START_MODE_FOREGROUND: in assignUserToDisplayOnStart() 383 boolean foreground = userStartMode == USER_START_MODE_FOREGROUND; in getUserVisibilityOnStartLocked() 407 case USER_START_MODE_FOREGROUND: in getUserVisibilityOnStartLocked() 1184 case USER_START_MODE_FOREGROUND: in validateUserStartMode()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserVisibilityMediatorTestCase.java | 31 import static com.android.server.pm.UserManagerInternal.USER_START_MODE_FOREGROUND; 110 protected static final int FG = USER_START_MODE_FOREGROUND;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 64 import static com.android.server.pm.UserManagerInternal.USER_START_MODE_FOREGROUND; 1784 + "-" + (userStartMode == USER_START_MODE_FOREGROUND ? "fg" : "bg") 1800 boolean foreground = userStartMode == USER_START_MODE_FOREGROUND; 2049 boolean success = startUser(targetUserId, USER_START_MODE_FOREGROUND);
|