Searched refs:createUser (Results 1 – 9 of 9) sorted by relevance
41 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()
116 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()
105 final int secondaryUserId = createUser(); in testUserRestrictions_secondaryProfileOwnerOnly()131 final int secondaryUserId = createUser(); in testUserRestrictions_layering()182 final int secondaryUserId = createUser(); in testUserRestrictions_layering_profileOwnerNoLeaking()
47 mSecondaryUserId = createUser(); in setUp()
105 userId = createUser(); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
318 protected int createUser() throws Exception { in createUser() method in BaseDevicePolicyTest319 int userId = createUser(0); in createUser()325 protected int createUser(int flags) throws Exception { in createUser() method in BaseDevicePolicyTest
24 getDevice().createUser( in testCanCreateGuestUser()34 getDevice().createUser( in testCanCreateEphemeralUser()
146 mSecondaryUserId = getDevice().createUser(SECONDARY_USER_NAME); in createSecondaryUser()
129 return Element::createUser(rs, dt); in makeElement()