Searched refs:assertStartUserResult (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserVisibilityMediatorVisibleBackgroundUserTestCase.java | 55 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartFgUser_onDefaultDisplay() 89 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testSwitchFgUser_onDefaultDisplay() 118 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onInvalidDisplay() 133 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onInvalidDisplay() 150 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable() 187 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testVisibilityOfCurrentUserAndProfilesOnDisplayAssignedToAnotherUser() 201 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned() 229 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_ALREADY_VISIBLE); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser() 252 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned() 289 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser() [all …]
|
D | UserVisibilityMediatorMUPANDTest.java | 59 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 80 assertStartUserResult(result2, USER_ASSIGNMENT_RESULT_FAILURE, in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 103 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 124 assertStartUserResult(result2, USER_ASSIGNMENT_RESULT_FAILURE, in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 141 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnSecondaryDisplay() 163 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay() 192 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_INVISIBLE); in testStartBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBg() 217 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_ALREADY_VISIBLE); in testStartVisibleBgUser_onDefaultDisplay_currentUserId()
|
D | UserVisibilityMediatorTestCase.java | 173 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onSecondaryDisplay() 188 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_INVISIBLE); in testStartBgUser_onDefaultDisplay() 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() 358 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_INVISIBLE); in testStartBgProfile_onDefaultDisplay_whenParentIsNotStarted() 374 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_INVISIBLE); in testStartBgProfile_onDefaultDisplay_whenParentIsStartedOnBg() [all …]
|
D | UserVisibilityMediatorSUSDTest.java | 59 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartFgUser_onDefaultDisplay() 91 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testSwitchFgUser_onDefaultDisplay() 127 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser() 148 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay() 167 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgProfile_communalProfile()
|