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()66 int userId = createUser(FLAG_EPHEMERAL); in testProfileInheritsEphemeral()69 assertTrue("ephemeral flag must be set", FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testProfileInheritsEphemeral()79 int userId = createUser(FLAG_EPHEMERAL); in testRemoveEphemeralOnStop()100 FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature()103 assertTrue("ephemeral flag must not be set for guest", 0 == (flags & FLAG_EPHEMERAL)); in testEphemeralGuestFeature()
100 protected static final int FLAG_EPHEMERAL = 0x00000100; field in BaseDevicePolicyTest552 boolean ephemeral = FLAG_EPHEMERAL == (flags & FLAG_EPHEMERAL); in createUser()
374 assertEquals("Ephemeral flag must be set", FLAG_EPHEMERAL, flags & FLAG_EPHEMERAL); in testCreateAndManageUser_Ephemeral()