Home
last modified time | relevance | path

Searched refs:assertStartUserResult (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DUserVisibilityMediatorVisibleBackgroundUserTestCase.java55 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartFgUser_onDefaultDisplay()
89 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testSwitchFgUser_onDefaultDisplay()
117 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onInvalidDisplay()
132 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onInvalidDisplay()
149 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable()
186 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testVisibilityOfCurrentUserAndProfilesOnDisplayAssignedToAnotherUser()
200 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()
251 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned()
288 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()
314 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnAnotherDisplay()
[all …]
H A DUserVisibilityMediatorMUPANDTest.java59 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()
H A DUserVisibilityMediatorTestCase.java172 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgUser_onSecondaryDisplay()
203 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in visibleBgUserCannotBeStartedOnDefaultDisplayTest()
219 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgUser_onSecondaryDisplay()
240 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgSystemUser_onSecondaryDisplay()
301 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsNotStarted()
317 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedOnBg()
336 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartVisibleBgProfile_onSecondaryDisplay()
390 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartBgProfile_onSecondaryDisplay()
409 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgProfile_onDefaultDisplay()
428 assertStartUserResult(result, USER_ASSIGNMENT_RESULT_FAILURE); in testStartFgProfile_onSecondaryDisplay()
[all …]
H A DUserVisibilityMediatorSUSDTest.java59 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()