Searched refs:newGuest (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerTest.java | 83 UserInfo newGuest = createGuest("DaNewGuestInTheBlock"); in testCreateGuest() local 84 assertWithMessage("(%s).isGuest()", newGuest.toFullString()).that(newGuest.isGuest()) in testCreateGuest() 87 assertWithMessage("guest(%s).name ", newGuest.toFullString()).that(newGuest.name) in testCreateGuest() 91 UserInfo loadedGuest = getUser(newGuest.id); in testCreateGuest() 92 assertUserInfo(newGuest, loadedGuest); in testCreateGuest() 135 UserInfo newGuest = mUserManager.getUserInfo(newGuestId); in testGuestUserResumeToNewGuestUser() local 136 assertWithMessage("new user (%s) is a guest", newGuest.toFullString()) in testGuestUserResumeToNewGuestUser() 137 .that(newGuest.isGuest()).isTrue(); in testGuestUserResumeToNewGuestUser() 138 assertWithMessage("name of new guest(%s)", newGuest.toFullString()) in testGuestUserResumeToNewGuestUser() 139 .that(newGuest.name).isNotEqualTo(guestUser.name); in testGuestUserResumeToNewGuestUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | InitialUserSetterTest.java | 188 UserInfo newGuest = newGuestUser(NEW_USER_ID, ephemeral); in testSwitchUser_ok_guestReplaced() local 189 expectGuestReplaced(USER_ID, newGuest); in testSwitchUser_ok_guestReplaced() 201 assertInitialUserSet(newGuest); in testSwitchUser_ok_guestReplaced() 311 UserInfo newGuest = expectCreateGuestUser(NEW_USER_ID, GUEST_NAME, NO_FLAGS); in testReplaceGuestIfNeeded_ok_nonEphemeralGuest() local 314 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameInstanceAs(newGuest); in testReplaceGuestIfNeeded_ok_nonEphemeralGuest() 331 UserInfo newGuest = expectCreateGuestUser(NEW_USER_ID, GUEST_NAME, UserInfo.FLAG_EPHEMERAL); in testReplaceGuestIfNeeded_ok_ephemeralGuest() local 334 assertThat(mSetter.replaceGuestIfNeeded(user)).isSameInstanceAs(newGuest); in testReplaceGuestIfNeeded_ok_ephemeralGuest() 424 UserInfo newGuest = expectCreateGuestUser(USER_ID, "TheDude", UserInfo.FLAG_EPHEMERAL); in testCreateUser_ok_ephemeralGuest() local 435 assertInitialUserSet(newGuest); in testCreateUser_ok_ephemeralGuest() 523 UserInfo newGuest = expectGuestExists(NEW_USER_ID, /* ephemeral */ true); in testReplaceUser_ok() local [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileHelper.java | 319 UserInfo newGuest = result == null ? null : result.getUser(); in createNewOrFindExistingGuest() local 321 if (newGuest != null) { in createNewOrFindExistingGuest() 322 new ProfileIconProvider().assignDefaultIcon(mUserManager, mResources, newGuest); in createNewOrFindExistingGuest() 323 return newGuest; in createNewOrFindExistingGuest()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserGridRecyclerView.java | 464 UserInfo newGuest = getUserInfo(future); in createNewOrFindExistingGuest() local 465 if (newGuest != null) { in createNewOrFindExistingGuest() 467 mUserManager, context.getResources(), newGuest); in createNewOrFindExistingGuest() 468 return newGuest; in createNewOrFindExistingGuest()
|