Searched refs:FLAG_EPHEMERAL (Results 1 – 3 of 3) sorted by relevance
41 int userId = createUser(FLAG_EPHEMERAL); in testCreateEphemeralUser()43 assertTrue("ephemeral flag must be set", FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testCreateEphemeralUser()53 assertTrue("ephemeral flag must not be set", 0 == (flags & FLAG_EPHEMERAL)); in testCreateLongLivedUser()65 int userId = createUser(FLAG_EPHEMERAL); in testProfileInheritsEphemeral()68 assertTrue("ephemeral flag must be set", FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testProfileInheritsEphemeral()78 int userId = createUser(FLAG_EPHEMERAL); in testRemoveEphemeralOnStop()99 FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature()102 assertTrue("ephemeral flag must not be set for guest", 0 == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature()
215 assertTrue("User must be ephemeral", 0 != (getUserFlags(userId) & FLAG_EPHEMERAL)); in testCreateUserAfterSetForceEphemeralUsers()246 assertEquals("Ephemeral flag must be set", FLAG_EPHEMERAL, flags & FLAG_EPHEMERAL); in testCreateAndManageEphemeralUser()
62 protected static final int FLAG_EPHEMERAL = 0x00000100; field in BaseDevicePolicyTest327 boolean ephemeral = FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL); in createUser()