Home
last modified time | relevance | path

Searched refs:createUser (Results 1 – 9 of 9) 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.java116 userId = createUser(); in testRemoteBugreportWithTwoUsers()
154 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsers()
177 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsersWithUserSwitch()
214 int userId = createUser(); in testCreateUserAfterSetForceEphemeralUsers()
295 userId = createUser(); in testSecurityLoggingWithTwoUsers()
DUserRestrictionsTest.java105 final int secondaryUserId = createUser(); in testUserRestrictions_secondaryProfileOwnerOnly()
131 final int secondaryUserId = createUser(); in testUserRestrictions_layering()
182 final int secondaryUserId = createUser(); in testUserRestrictions_layering_profileOwnerNoLeaking()
DLauncherAppsMultiUserTest.java47 mSecondaryUserId = createUser(); in setUp()
DCustomDeviceOwnerTest.java105 userId = createUser(); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DBaseDevicePolicyTest.java318 protected int createUser() throws Exception { in createUser() method in BaseDevicePolicyTest
319 int userId = createUser(0); in createUser()
325 protected int createUser(int flags) throws Exception { in createUser() method in BaseDevicePolicyTest
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java24 getDevice().createUser( in testCanCreateGuestUser()
34 getDevice().createUser( in testCanCreateEphemeralUser()
/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()