Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DExistingUsersView.java40 private UsersSpinner mExistingUsers; field in ExistingUsersView
51 mExistingUsers = findViewById(R.id.existing_users); in ExistingUsersView()
55 mExistingUsers.setOnUserSelectedListener((u) -> updateUser(u)); in ExistingUsersView()
69 mExistingUsers.init(users); in updateState()
70 updateUser(mExistingUsers.getSelectedUser()); in updateState()
74 return mExistingUsers.getSelectedUserId(); in getSelectedUserId()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java233 protected List<UserHandle> mExistingUsers; field in BaseCarUserServiceTestCase
310 mExistingUsers = Arrays in setUpUsers()
659 mockExistingUsers(mExistingUsers); in mockExistingUsersAndCurrentUser()
956 assertThat(actual.numberUsers).isEqualTo(mExistingUsers.size()); in assertDefaultUsersInfo()
958 assertSameUser(actual.existingUsers[i], mExistingUsers.get(i)); in assertDefaultUsersInfo()
1004 infos.numberUsers = mExistingUsers.size(); in newUsersInfo()
1008 for (UserHandle handle : mExistingUsers) { in newUsersInfo()
1035 "no user with id %d on %s", currentUserId, mExistingUsers); in newUsersInfo()
DCarUserServiceTest.java295 mockExistingUsers(mExistingUsers); in testOnUserLifecycleEvent_legacyUserSwitch_halCalled()
307 mockExistingUsers(mExistingUsers); in testOnUserLifecycleEvent_legacyUserSwitch_halnotSupported()
325 mockExistingUsers(mExistingUsers); in testOnUserLifecycleEvent_ensureAllListenersAreNotified()
672 mockExistingUsers(mExistingUsers); in testLastActiveUserUpdatedOnUserSwitch_nonHeadlessSystemUser()
948 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUser_currentUser_successSetEphemeral()
963 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUser_alreadyBeingRemoved_success()
1020 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUser_notLastAdminUser_success()
1035 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUser_success()
1080 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUserWithRestriction_nonAdminRemovingAdmin()
1094 mockExistingUsersAndCurrentUser(mExistingUsers, currentUser); in testRemoveUserWithRestriction_nonAdminRemovingNonAdmin()
[all …]