Home
last modified time | relevance | path

Searched refs:setUserInfo (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java107 mPreferenceController.setUserInfo(userInfo); in onStart_userIsViewingSelf_renameButtonShown()
119 mPreferenceController.setUserInfo(userInfo); in onStart_userIsNotViewingSelf_renameButtonHidden()
132 mPreferenceController.setUserInfo(userInfo); in onStart_isAdminViewingNonAdmin_makeAdminButtonShown()
146 mPreferenceController.setUserInfo(userInfo); in onStart_isAdminViewingAdmin_makeAdminButtonHidden()
163 mPreferenceController.setUserInfo(userInfo); in onStart_isAdminViewingSelf_makeManageOtherProfilesButtonShown()
181 mPreferenceController.setUserInfo(userInfo); in onStart_isAdminViewingOther_makeManageOtherProfilesButtonHidden()
198 mPreferenceController.setUserInfo(userInfo); in onStart_isNonAdmin_makeManageOtherProfilesButtonHidden()
214 mPreferenceController.setUserInfo(userInfo); in onStart_isOnlyProfile_makeAddAProfileButtonShown()
226 mPreferenceController.setUserInfo(userInfo); in onStart_profileIsRemovable_deleteButtonShown()
241 mPreferenceController.setUserInfo(userInfo); in onStart_profileIsNotRemovable_deleteButtonHidden()
[all …]
DRemoveProfileHandlerTest.java75 mRemoveProfileHandler.setUserInfo(userInfo); in userNotRestricted_canRemoveProfile()
83 mRemoveProfileHandler.setUserInfo(userInfo); in userRestricted_cannotRemoveProfile()
94 mRemoveProfileHandler.setUserInfo(userInfo); in viewingSystemUser_cannotRemoveProfile()
102 mRemoveProfileHandler.setUserInfo(userInfo); in isDemoUser_cannotRemoveProfile()
110 mRemoveProfileHandler.setUserInfo(userInfo); in hasPreviousDeleteDialog_dialogListenerSet()
123 mRemoveProfileHandler.setUserInfo(userInfo); in showConfirmRemoveProfileDialog_showsConfirmationDialog()
135 mRemoveProfileHandler.setUserInfo(userInfo); in onDeleteConfirmed_removeProfile()
149 mRemoveProfileHandler.setUserInfo(userInfo); in onDeleteConfirmed_lastAdmin_launchChooseNewAdminFragment()
DProfileDetailsHeaderPreferenceControllerTest.java79 mPreferenceController.setUserInfo(userInfo); in onCreate_elementHasTitle()
88 mPreferenceController.setUserInfo(userInfo); in onCreate_profileNotSetup_setsSummary()
98 mPreferenceController.setUserInfo(userInfo); in onCreate_profileSetup_noSummary()
109 mPreferenceController.setUserInfo(userInfo); in onCreate_isAdmin_notCurrentProfile()
121 mPreferenceController.setUserInfo(userInfo); in onCreate_isAdmin_currentProfile()
DProfileDetailsDeletePreferenceControllerTest.java83 mPreferenceController.setUserInfo(userInfo); in onCreate_userNotRestricted_deleteButtonShown()
96 mPreferenceController.setUserInfo(userInfo); in onCreate_userRestricted_deleteButtonHidden()
107 mPreferenceController.setUserInfo(userInfo); in onCreate_userIsViewingSelf_deleteButtonHidden()
119 mPreferenceController.setUserInfo(userInfo); in onCreate_userIsNotViewingSelf_deleteButtonHidden()
132 mPreferenceController.setUserInfo(userInfo); in onCreate_isDemoUser_deleteButtonHidden()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsFragment.java54 R.string.pk_profile_details_header).setUserInfo(getUserInfo()); in onAttach()
56 R.string.pk_profile_details_action_buttons).setUserInfo(getUserInfo()); in onAttach()
58 R.string.pk_account_group).setUserInfo(getUserInfo()); in onAttach()
60 R.string.pk_profile_details_delete).setUserInfo(getUserInfo()); in onAttach()
DProfileDetailsPermissionsFragment.java49 R.string.pk_profile_details_permissions_header).setUserInfo(getUserInfo()); in onAttach()
51 R.string.pk_profile_details_permissions_action_buttons).setUserInfo(getUserInfo()); in onAttach()
52 use(PermissionsPreferenceController.class, R.string.pk_profile_permissions).setUserInfo( in onAttach()
DProfileDetailsDeletePreferenceController.java72 public void setUserInfo(UserInfo userInfo) { in setUserInfo() method in ProfileDetailsDeletePreferenceController
73 super.setUserInfo(userInfo); in setUserInfo()
74 mRemoveProfileHandler.setUserInfo(userInfo); in setUserInfo()
DProfileDetailsActionButtonsPreferenceController.java189 public void setUserInfo(UserInfo userInfo) { in setUserInfo() method in ProfileDetailsActionButtonsPreferenceController
190 super.setUserInfo(userInfo); in setUserInfo()
191 mRemoveProfileHandler.setUserInfo(userInfo); in setUserInfo()
DProfileDetailsBasePreferenceController.java56 public void setUserInfo(UserInfo userInfo) { in setUserInfo() method in ProfileDetailsBasePreferenceController
DRemoveProfileHandler.java60 public void setUserInfo(UserInfo userInfo) { in setUserInfo() method in RemoveProfileHandler
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountGroupPreferenceControllerTest.java84 mController.setUserInfo(userInfo); in getAvailabilityStatus_currentUser_cannotModifyAccounts_notAvailable()
97 mController.setUserInfo(userInfo); in getAvailabilityStatus_currentUser_canModifyAccounts_available()
110 mController.setUserInfo(userInfo); in getAvailabilityStatus_notCurrentUser_canModifyAccounts_notAvailable()
123 mController.setUserInfo(userInfo); in getAvailabilityStatus_notCurrentUser_cannotModifyAccounts_notAvailable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileDetailsBasePreferenceControllerTest.java89 mController.setUserInfo(new UserInfo()); in testOnCreate_registerListener()
99 mController.setUserInfo(new UserInfo()); in testOnDestroy_unregisterListener()
DPermissionsPreferenceControllerTest.java67 mController.setUserInfo(TEST_USER); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DDeleteUserPreferenceController.java57 mRemoveProfileHandler.setUserInfo(mUserInfo); in DeleteUserPreferenceController()