Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorTestCase.java26 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
173 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onSecondaryDisplay()
205 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in visibleBgUserCannotBeStartedOnDefaultDisplayTest()
221 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgUser_onSecondaryDisplay()
242 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgSystemUser_onSecondaryDisplay()
303 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsNotStarted()
319 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedOnBg()
338 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onSecondaryDisplay()
392 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgProfile_onSecondaryDisplay()
411 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgProfile_onDefaultDisplay()
[all …]
DUserVisibilityMediatorVisibleBackgroundUserTestCase.java22 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
118 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onInvalidDisplay()
133 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onInvalidDisplay()
201 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()
252 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned()
315 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnAnotherDisplay()
336 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onSecondaryDisplay_whenParentIsStartedVisibleOnThatDisplay()
DUserVisibilityMediatorMUPANDTest.java22 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
80 assertStartUserResult(result2, USER_ASSIGNMENT_RESULT_FAILURE, in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()
124 assertStartUserResult(result2, USER_ASSIGNMENT_RESULT_FAILURE, in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
141 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnSecondaryDisplay()
DUserVisibilityMediatorSUSDTest.java22 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
148 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay()
/frameworks/base/services/core/java/com/android/server/pm/
DUserVisibilityMediator.java24 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
269 if (result == USER_ASSIGNMENT_RESULT_FAILURE in assignUserToDisplayOnStart()
281 return USER_ASSIGNMENT_RESULT_FAILURE; in assignUserToDisplayOnStart()
364 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
379 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
389 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
395 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
404 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
411 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
418 return USER_ASSIGNMENT_RESULT_FAILURE; in getUserVisibilityOnStartLocked()
DUserManagerInternal.java57 @Keep public static final int USER_ASSIGNMENT_RESULT_FAILURE = -1; field in UserManagerInternal
64 USER_ASSIGNMENT_RESULT_FAILURE
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java61 import static com.android.server.pm.UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE;
1869 if (result == USER_ASSIGNMENT_RESULT_FAILURE) {
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java304 doReturn(UserManagerInternal.USER_ASSIGNMENT_RESULT_FAILURE) in testStartUser_displayAssignmentFailed()