Searched refs:setUpUser (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 163 setUpUser(TEST_USER_ID, NO_USERINFO_FLAGS); in setUp() 164 setUpUser(TEST_PRE_CREATED_USER_ID, NO_USERINFO_FLAGS, /* preCreated=*/ true); in setUp() 394 setUpUser(UserHandle.USER_SYSTEM, 0); in testExplicitSystenUserStartInBackground() 409 setUpUser(TEST_USER_ID1, 0); in testUserLockingFromUserSwitchingForMultipleUsersNonDelayedLocking() 410 setUpUser(TEST_USER_ID2, 0); in testUserLockingFromUserSwitchingForMultipleUsersNonDelayedLocking() 452 setUpUser(TEST_USER_ID1, 0); in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode() 453 setUpUser(TEST_USER_ID2, 0); in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode() 549 setUpUser(userId, 0); in setUpAndStartUserInBackground() 592 private void setUpUser(@UserIdInt int userId, @UserInfoFlag int flags) { in setUpUser() method in UserControllerTest 593 setUpUser(userId, flags, /* preCreated= */ false); in setUpUser() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 184 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 212 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 235 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 271 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy() 310 private UserInfo setUpUser(int userId, ComponentName[] admins) { in setUpUser() method in RestrictedLockUtilsTest
|