Home
last modified time | relevance | path

Searched refs:createUser (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DEphemeralUserTest.java41 int userId = createUser(FLAG_EPHEMERAL); in testCreateEphemeralUser()
51 int userId = createUser(); in testCreateLongLivedUser()
65 int userId = createUser(FLAG_EPHEMERAL); in testProfileInheritsEphemeral()
78 int userId = createUser(FLAG_EPHEMERAL); in testRemoveEphemeralOnStop()
94 int userId = createUser(FLAG_GUEST); in testEphemeralGuestFeature()
DDeviceOwnerTest.java115 final int userId = createUser(); in testRemoteBugreportWithTwoUsers()
154 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsers()
177 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsersWithUserSwitch()
214 int userId = createUser(); in testCreateUserAfterSetForceEphemeralUsers()
289 final int userId = createUser(); in testSecurityLoggingWithTwoUsers()
329 final int userId = createUser(); in testNetworkLoggingWithTwoUsers()
380 final int userId = createUser(); in testLockTask_unaffiliatedUser()
406 final int userId = createUser(); in testLockTask_affiliatedSecondaryUser()
DUserRestrictionsTest.java117 final int secondaryUserId = createUser(); in testUserRestrictions_secondaryProfileOwnerOnly()
158 final int secondaryUserId = createUser(); in testUserRestrictions_layering()
201 final int secondaryUserId = createUser(); in testUserRestrictions_layering_profileOwnerNoLeaking()
224 final int secondaryUserId = createUser(); in testUserRestrictions_profileGlobalRestrictionsAsDo()
DDeviceAdminServiceProfileOwnerTest.java31 mUserId = createUser(); in setUp()
DLauncherAppsMultiUserTest.java47 mSecondaryUserId = createUser(); in setUp()
DCustomDeviceOwnerTest.java96 userId = createUser(); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DBaseDevicePolicyTest.java410 protected int createUser() throws Exception { in createUser() method in BaseDevicePolicyTest
411 int userId = createUser(0); in createUser()
417 protected int createUser(int flags) throws Exception { in createUser() method in BaseDevicePolicyTest
DDeviceAndProfileOwnerTest.java651 final int userId = createUser(); in testCannotRemoveUserIfRestrictionSet()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java28 getDevice().createUser( in testCanCreateGuestUser()
38 getDevice().createUser( in testCanCreateEphemeralUser()
DCreateUsersNoAppCrashesTest.java44 int userId = getDevice().createUser( in testCanCreateGuestUser()
DBaseMultiUserTest.java96 protected int createUser() in createUser() method in BaseMultiUserTest
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java43 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
47 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java65 final int secondUserID = createUser(); in testSecondaryUser()
DBaseShortcutManagerHostTest.java192 protected int createUser() throws Exception{ in createUser() method in BaseShortcutManagerHostTest
193 return getDevice().createUser("TestUser_" + System.currentTimeMillis()); in createUser()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java146 mSecondaryUserId = getDevice().createUser(SECONDARY_USER_NAME); in createSecondaryUser()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp129 return Element::createUser(rs, dt); in makeElement()