Home
last modified time | relevance | path

Searched refs:setUpUser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java184 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
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java152 setUpUser(TEST_USER_ID, 0); in setUp()
352 setUpUser(UserHandle.USER_SYSTEM, 0); in testExplicitSystenUserStartInBackground()
364 setUpUser(TEST_USER_ID1, 0); in testUserStoppingForMultipleUsersNormalMode()
365 setUpUser(TEST_USER_ID2, 0); in testUserStoppingForMultipleUsersNormalMode()
405 setUpUser(TEST_USER_ID1, 0); in testUserStoppingForMultipleUsersDelayedLockingMode()
406 setUpUser(TEST_USER_ID2, 0); in testUserStoppingForMultipleUsersDelayedLockingMode()
472 private void setUpUser(int userId, int flags) { in setUpUser() method in UserControllerTest