Home
last modified time | relevance | path

Searched refs:newGuestUser (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java22 import static android.car.test.util.UserTestingHelper.newGuestUser;
188 UserInfo newGuest = newGuestUser(NEW_USER_ID, ephemeral); in testSwitchUser_ok_guestReplaced()
312 UserInfo user = newGuestUser(USER_ID, /* ephemeral= */ false); in testReplaceGuestIfNeeded_ok_nonEphemeralGuest()
321 UserInfo user = newGuestUser(USER_ID, /* ephemeral= */ false); in testReplaceGuestIfNeeded_lockScreen()
332 UserInfo user = newGuestUser(USER_ID, /* ephemeral= */ true); in testReplaceGuestIfNeeded_ok_ephemeralGuest()
343 UserInfo user = newGuestUser(USER_ID, /* ephemeral= */ true); in testReplaceGuestIfNeeded_fail_ephemeralGuest_createFailed()
682 UserInfo newGuest = newGuestUser(NEW_USER_ID, ephemeral); in testDefaultBehavior_nonFirstBoot_ok_guestReplaced()
DUserPreCreatorTest.java20 import static android.car.test.util.UserTestingHelper.newGuestUser;
199 UserInfo newUser = isGuest ? newGuestUser(PRE_CREATED_GUEST_ID) : in mockPreCreateUser()
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java76 public static UserInfo newGuestUser(@UserIdInt int userId, boolean ephemeral) { in newGuestUser() method in UserTestingHelper
84 public static UserInfo newGuestUser(@UserIdInt int userId) { in newGuestUser() method in UserTestingHelper