Home
last modified time | relevance | path

Searched refs:restrictedUser (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileModel.java65 final UserInfo restrictedUser = getUser(); in enterUser() local
66 if (restrictedUser == null) { in enterUser()
70 updateBackgroundRestriction(restrictedUser); in enterUser()
71 switchUserNow(restrictedUser.id); in enterUser()
88 final UserInfo restrictedUser = getUser(); in removeUser() local
89 if (restrictedUser == null) { in removeUser()
93 final int restrictedUserHandle = restrictedUser.id; in removeUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java498 UserInfo restrictedUser = getRestrictedUser(false); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference() local
499 removeFlag(restrictedUser, UserInfo.FLAG_INITIALIZED); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference()
500 givenUsers(getAdminUser(true), restrictedUser); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference() local